Re: How to delete old yumdb entries?

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

 



On 15 September 2011 15:31, James Antill <james-yum@xxxxxxx> wrote:
> Mike Fleetwood <mike.fleetwood@xxxxxxxxxxxxxx> writes:
>
>> [root@rockover ~]# du -s /var/lib/yum/yumdb
>> 129596 /var/lib/yum/yumdb
>
>  What version of yum is this?
>  Can you try:
>
>  cp -a /var/lib/yum/yumdb /tmp
>  hardlink /tmp/yumdb
>  du -sh /tmp/yumdb

Yum 3.2.28

Hard linking saves about 60% space, 127M down to 52M.

I'm now going to use some of Ljubomir's details and identify entries
for no longer installed RPMs and delete them.

Thanks,
Mike
-- 

[root@rockover ~]# cp -a /var/lib/yum/yumdb /tmp
[root@rockover ~]# du -sh /tmp/yumdb
127M /tmp/yumdb
[root@rockover ~]# hardlink /tmp/yumdb
[root@rockover ~]# du -sh /tmp/yumdb
52M /tmp/yumdb
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux