We have moved to a new Sailfish OS Forum. Please start new discussions there.

pkcon critical error: insuffient space

asked 2015-11-25 21:04:23 +0200

updated 2015-11-26 18:02:35 +0200

I am trying to download all the packages (via pkcon) in case Jolla servers go down. As I haven't found a way to download literally ALL the available packages, I have been focusing on the most important ones like lipstick-jolla-home-qt5 and sailfish-browser (in case I break them by modifying). I haven't been using the android support at all, but I'd like to have the installation packages in case I need it in the future.

The probelm

[root@Jolla rmp-backup]# pkcon download ./ aliendalvik


Fatal error: Insuffient space in download directory '/var/cache/pk-zypp-cache/packages/aliendalvik'.

I can (edit:) no longer download other RMP packages with this command successfully. What is the problem here?

Edit: It's happening again :( This time downloading any package fails and deleting the cache doesn't help. Output of df -h:

[root@Jolla jolla]# df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                 14G  2,2G   11G  18% /
/dev/mmcblk0p28        14G  2,2G   11G  18% /
devtmpfs              404M   64K  404M   1% /dev
tmpfs                 405M  664K  404M   1% /dev/shm
tmpfs                 405M  7,3M  398M   2% /run
tmpfs                 405M     0  405M   0% /sys/fs/cgroup
tmpfs                 405M   12K  405M   1% /tmp
/dev/mmcblk0p19       7,9M  4,1M  3,9M  52% /drm
/dev/mmcblk0p18        64M   45M   20M  70% /firmware
/dev/mmcblk0p25       7,9M  4,2M  3,8M  53% /persist
/dev/mmcblk0p28        14G  2,2G   11G  18% /home
/dev/mmcblk0p9         48M  9,5M   38M  20% /var/systemlog
tmpfs                 405M     0  405M   0% /mnt/asec
tmpfs                 405M     0  405M   0% /mnt/obb
edit retag flag offensive close delete


"Critical error" was "Vakava virhe" in Finnish

jollailija ( 2015-11-25 21:05:27 +0200 )edit

What is the output when you do "df -h" ?

ced117 ( 2015-11-25 21:35:32 +0200 )edit

@ced117 Updated question with the output

jollailija ( 2015-11-26 18:00:42 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-11-25 22:00:31 +0200

Mano gravatar image

updated 2015-11-25 22:07:50 +0200

Haven't investigated the cause when I hit the same problem, but I had a quick look at pkcon and found a better solution, which works arround that error and does fetch all dependencies also (usable with all packages, aliendalivk just as example here):

pkcon -d install aliendalvik
pkcon download ./ `find /var/cache/zypp/packages -type f | sed -n -r 's,^.*/([[:alnum:]-]+)-[[:print:]]+$,\1,p' | tr '\n' ' '`

Make sure, before running pkcon -d instal XYZ that there are no files left under /var/cache/zypp/packages


edit flag offensive delete publish link more



Thanks! I rm -rf *'d the cache and copypasted your commands- worked like a charm.

jollailija ( 2015-11-26 16:50:51 +0200 )edit

I wonder if it was legally ok to upload all packages to openrepos.

lakutalo ( 2015-11-26 17:24:16 +0200 )edit

@lakutalo What are you talking about? I am not uploading packages to any service, just downloading them onto my SD card.

jollailija ( 2015-11-26 17:59:11 +0200 )edit

I am having this issue again :( This time clearing the cache doesn't do the trick.

jollailija ( 2015-11-26 17:59:35 +0200 )edit

I know, sorry for the confusion. I was thinking one step ahead. One could upload all those packages to a repository so they are available for a wider audience.

lakutalo ( 2015-11-26 18:04:15 +0200 )edit
Login/Signup to Answer

Question tools



Asked: 2015-11-25 21:04:23 +0200

Seen: 247 times

Last updated: Nov 26 '15