Re: Cleaning /var/lib/dnf/yumdb

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

 



On 29 Jun 2022 at 22:20, Andras Simon wrote:

From:           	Andras Simon <szajmi@xxxxxxxxx>
Date sent:      	Wed, 29 Jun 2022 22:20:44 +0200
Subject:        	Re: Cleaning /var/lib/dnf/yumdb
To:             	mikes@xxxxxxxx, 
	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>

> 2022-06-29 19:24 UTC+02:00, Michael D. Setzer II via users
> <users@xxxxxxxxxxxxxxxxxxxxxxx>:
> 
> > Thanks. I have 3 other machines in room that are running
> > Fedora 35, and none of them have the /var/lib/dnf/yumdb
> > directory at all.
> 
> This is strange, because that directory belongs to the dnf-data
> package, and I'm sure you have that installed.

Interesting. I did a dnf whatprovides /var/lib/dnf/yumdb 
and it came up with the dnf-data..

It is installed on all 4 machines, but 3 don't have the 
yumdb directory??

Perhaps it is created during the transistion of a system 
that was using yum to dnf, so it is only created at that 
point??

moved the yumdb directory to yumdb.old and then did a 
dnf reinstall dnf-data and it did not create the yumdb 
directory. 

ran the dnf remove dnf-data, and it gives error and 
doesn't list what it would modify.

In /var/lib/dnf/yumdb.old
find . | wc -l
45700

This ended up leaving only subdirectories.

find . | grep -v "fc29\|fc28\|fc27\|fc26" | grep -v "\-15-7" | 
grep -v "keys-29" | grep -v "29-" | grep -v flash-plugin | 
grep -v google-chrome | grep -v adobe-release

Almost all files had fc29 -fc26
find . | grep -v "fc29\|fc28\|fc27\|fc26" | wc -l
137

So must have been created in process of upgrading from 
fc29 to fc30??

Interesting.


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired)     
 mailto:mikes@xxxxxxxx                            
 mailto:msetzerii@xxxxxxxxx
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[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