Summary: |
PackageKit can fill hard drive with package cache |
Product: |
PackageKit
|
Reporter: |
Milan Bouchet-Valat <nalimilan> |
Component: |
General | Assignee: |
Richard Hughes <richard> |
Status: |
RESOLVED
DUPLICATE
|
QA Contact: |
|
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
unspecified | |
|
Hardware: |
Other | |
|
OS: |
All | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
ls -l for updates-testing repo
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 123213 [details] ls -l for updates-testing repo Today several applications crashed while I was working, and it turned out this was due to / having 0 free space. Over time, PackageKit had created a package cache of about 10GB at /var/cache/PackageKit, mostly under /var/cache/PackageKit/metadata/updates/packages/ and /var/cache/PackageKit/metadata/updates-testing/packages/. I'm using Fedora 23, and I haven't applied updates for about one month. But the cache contains packages with older versions than the ones I have installed. For example, I'm using xorg-x11-server-common-1.18.2-1, but the cache contains both versions 1.18.1-3 and 1.18.3-1 (see attached list for updates repo -- unfortunately, I've removed updates-testing packages before listing files). The cache even contains Fedora 22 packages from December (when I upgraded). There seem to be two bugs here: - Old packages should be removed when a newer version is installed - The cache shouldn't grow without limit. In particular, downloads should stop when / is low on free space. I ended up in a situation where I couldn't even apply the updates due to lack of free space!