dnf and yum caches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a problem that has existed for a long time, and is starting to get really annoying. I'm running F22 and when I do an update the directories /var/cache/dnf and /var/cache/yum fill up and there doesn't seem to be any way to clean them out.

cd /var/cache
cd yum/x86_64/22

ls -l
total 92
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 adobe-linux-i386/
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 adobe-linux-x86_64/
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 fedora/
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 google-chrome/
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 google-earth/
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 rpmfusion-free/
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 rpmfusion-free-updates/
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 rpmfusion-nonfree/
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 rpmfusion-nonfree-updates/
-rw-r--r--. 1 root root 1788 Apr 12 14:04 timedhosts
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 updates/
drwxr-xr-x. 4 root root 4096 Apr 12 14:04 virtualbox/

Note that these are all dated today.

cd /var/cache

du -s dnf yum
154988    dnf
5860796  yum

dnf clean all
Cleaning repos: google-earth virtualbox fedora rpmfusion-free-updates
              : adobe-linux-x86_64 rpmfusion-nonfree-updates rpmfusion-free
              : adobe-linux-i386 updates google-chrome rpmfusion-nonfree
Cleaning up Everything

du -s dnf yum
154988    dnf
5860796    yum

No change.

dnf clean expire-cache

du -s dnf yum
154988    dnf
5860796    yum

dnf check-update
google-earth                                     58 kB/s | 4.8 kB     00:00
Fedora 22 - x86_64 - VirtualBox                 855 kB/s |  61 kB     00:00
Fedora 22 - x86_64                              2.7 MB/s |  41 MB     00:15
RPM Fusion for Fedora 22 - Free - Updates       442 kB/s | 226 kB     00:00
Adobe Systems Incorporated                       11 kB/s | 1.8 kB     00:00
RPM Fusion for Fedora 22 - Nonfree - Updates    118 kB/s |  60 kB     00:00
RPM Fusion for Fedora 22 - Free                 653 kB/s | 551 kB     00:00
Adobe Systems Incorporated                       11 kB/s | 1.8 kB     00:00
Fedora 22 - x86_64 - Updates                    2.7 MB/s |  22 MB     00:08
google-chrome                                    46 kB/s | 3.6 kB     00:00
RPM Fusion for Fedora 22 - Nonfree              939 kB/s | 170 kB     00:00
Last metadata expiration check performed 0:00:00 ago on Tue Apr 12 14:23:42 2016.

du -s dnf yum
154988    dnf
5860796    yum

Still no change. How do I remove the data?

Any help is appreciated.

Just in case this has anything to do with it this system has been upgraded from 19 -> 20 -> 21 -> 22 using fedup.

Paolo
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux