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

Revision history [back]

click to hide/show revision 1
initial version

posted 2016-08-16 14:59:54 +0300

F-Droid eats space (CleanCacheService issue)?

I've noticed recently that F-Droid started to accumulate installed apk files in /data/data/org.fdroid.fdroid/files named as install-{1,2}[0-9]{9,10}.apk. Over two months I got 60MB of installed apks. I assumed at as a bug in F-Droid and reported it.

Discussion showed that now F-Droid makes temporary copies of installed apks and then removes it with CleanCacheService which runs "when the app starts, and on a timer". Apparently this services never performed its job my device for a couple of months though android support is running on my device 90% of the time.

Android jumble over standard linux stack is a complete mystery to me, so I'm not sure now if there is a bug and in which system exactly. Is it a bug in aliendalvik that prevents essential component of android app from running? Or is it a bug in F-Droid that relies on something that is not guaranteed?

Can anyone equally savvy in SailfishOS and Android stuff contribute?

F-Droid eats space (CleanCacheService issue)?

I've noticed recently that F-Droid started to accumulate installed apk files in /data/data/org.fdroid.fdroid/files named as install-{1,2}[0-9]{9,10}.apk. Over two months I got 60MB of installed apks. I assumed at as a bug in F-Droid and reported it.

Discussion showed that now F-Droid makes temporary copies of installed apks and then removes it with CleanCacheService which runs "when the app starts, and on a timer". timer" but does not start on boot (according to devs). Apparently this services never performed its job my device for a couple of months though android support is running on my device 90% of the time.

Android jumble over standard linux stack is a complete mystery to me, so I'm not sure now if there is a bug and in which system exactly. Is it a bug in aliendalvik that prevents essential component of android app from running? Or is it a bug in F-Droid that relies on something that is not guaranteed?

Can anyone equally savvy in SailfishOS and Android stuff contribute?

F-Droid eats space (CleanCacheService issue)?

I've noticed recently that F-Droid started to accumulate installed apk files in /data/data/org.fdroid.fdroid/files named as install-{1,2}[0-9]{9,10}.apk. Over two months I got 60MB of installed apks. I assumed at as a bug in F-Droid and reported it.

Discussion showed that now F-Droid makes temporary copies of installed apks and then removes it with CleanCacheService which runs "when the app starts, and on a timer" but does not start on boot (according to devs). Apparently this services never performed its job my device for a couple of months though android support is running on my device 90% of the time.

Android jumble over standard linux stack is a complete mystery to me, so I'm not sure now if there is a bug and in which system exactly. Is it a bug in aliendalvik that prevents essential component of android app from running? Or is it a bug in F-Droid that relies on something that is not guaranteed?

Can anyone equally savvy in SailfishOS and Android stuff contribute?

UPD: Ewww, actually it appears that each app installed via F-Droid, now leaves two extra copies of apk:

  • /data/media/Android/data/org.fdroid.fdroid/cache/apks/f-droid.org--1/*apk
  • /data/data/org.fdroid.fdroid/files/install-*apk

I tried setting "Allow application background services to start on boot" tick for F-Droid for several days and did not do the trick, these extra copies were not removed. I'm going to add purging of thiese stuff to my script that makes Btrfs snapshots of device on schedule.