On 29 Jun 2022 at 22:20, Andras Simon wrote:
From: Andras Simon <szajmi(a)gmail.com>
Date sent: Wed, 29 Jun 2022 22:20:44 +0200
Subject: Re: Cleaning /var/lib/dnf/yumdb
To: mikes(a)guam.net,
Community support for Fedora users
<users(a)lists.fedoraproject.org>
2022-06-29 19:24 UTC+02:00, Michael D. Setzer II via users
<users(a)lists.fedoraproject.org>:
> 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@guam.net
mailto:msetzerii@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+