On 30 Jun 2022 at 15:04, Andras Simon wrote:
From: Andras Simon <sza...@gmail.com> Date sent: Thu, 30 Jun 2022 15:04:46 +0200 Subject: Re: Cleaning /var/lib/dnf/yumdb To: mi...@guam.net Copies to: Community support for Fedora users <users@lists.fedoraproject.org> Send reply to: Community support for Fedora users <users@lists.fedoraproject.org> > 2022-06-30 0:45 UTC+02:00, Michael D. Setzer II <mi...@guam.net>: > > On 29 Jun 2022 at 22:20, Andras Simon wrote: > > [...] > > >> > 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?? > > I don't know, but I'd be surprised if the content of a package > depended on the way the system was installed. Just out of curiosity, > what does > rpm -V dnf-data > say? Does it signal that /var/lib/dnf/yumdb directory is missing? > > FWIW I get this: > > [simon@localhost ~]$ rpm -V dnf-data > .M....... g /var/lib/dnf/groups.json > .M....... g /var/lib/dnf/history > .M....... g /var/log/hawkey.log > ______________________________ I get this. rpm -V dnf-data S.5....T. c /etc/dnf/dnf.conf .M....... g /var/lib/dnf/groups.json .M....... g /var/log/dnf.librepo.log .M....... g /var/log/dnf.log .M....... g /var/log/dnf.rpm.log .M....... g /var/log/hawkey.log [root@setzconote ~]# ls /var/lib/dnf/ -l total 22944 -rw-rw-r--. 1 root root 9677 Nov 5 2017 groups.json drwxrwxr-x. 3 root root 4096 Jun 20 2019 history.old -rw-r--r--. 1 root root 18374656 Jun 30 21:58 history.sqlite -rw-r--r--. 1 root root 32768 Jun 30 21:58 history.sqlite-shm -rw-r--r--. 1 root root 5038792 Jun 30 16:28 history.sqlite-wal drwxr-xr-x. 2 root root 4096 May 3 2021 modulefailsafe drwxr-xr-x. 26 root root 4096 Jun 6 15:44 repos drwxr-xr-x. 2 root root 4096 Jun 6 17:56 system-upgrade -rw-r--r--. 1 root root 1878 Dec 2 2020 system-upgrade.json drwxr-xr-x. 40 root root 4096 Jun 7 2018 yumdb.old I renamed the yumdb subdirectory to yumdb.old and subdirectory history to history.old history.old has drwxrwxr-x. 382 root root 12288 Jun 19 2019 2017-11-05 -rw-------. 1 root root 247648256 Jun 20 2019 history-2017-11-05.sqlite The subdirectory 2017-11-05 has a ton of numbered subdirectores with tiny config-main and config-repo files?? _________________ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > 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@lists.fedoraproject.org > Do not reply to spam on the list, report it: > https://pagure.io/fedora-infrastructure +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mi...@guam.net mailto:msetze...@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure