Was just looking at /var/cache/dnf and /var/cache/libdnf5
noticed /var/cache/dnf had a lot of older files and directories /var/cache/lib/dnf5 had a lot less.
moved contents of dnf directory to backup, and ran dnf update to see what it would create and nothing was created, but files updated in libdnf5 were updated. dnf directory was left empty.
Then ran dnfdragon to see what it would do, and found that dnf directory had a lot of files, but the older ones where not there.
So what is best setup. dnf does seem to call dnf5, but is the dnfdragon still using the older dnf?
Had a strange issue with 2 machines giving checksum errors with WineHQ but 5 other machines not giving error.
find if I copy from /var/cache/libdnf5/WineHQ-9dce16cb982ed15a directory from machines that work. # find . . ./repodata ./repodata/repomd.xml ./repodata/primary.xml.zst ./solv ./solv/WineHQ.solv ./attrs
It will work. On none working machines the directory only has ./attrs/expired
If I do and dnf clean all; then files all disappear except the attrs/expired zero byte file and the errors return??
WineHQ packages 100% | 800.3 KiB/s | 237.7 KiB | 00m00s
Downloading successful, but checksum doesn't match. Calculated:
7a01302c17a9ce348c3b055863df8a417ac2fcb41de105236c57b72648907
Downloading successful, but checksum doesn't match. Calculated:
7a01302c17a9ce348c3b055863df8a417ac2fcb41de105236c57b72648907
Downloading successful, but checksum doesn't match. Calculated:
7a01302c17a9ce348c3b055863df8a417ac2fcb41de105236c57b72648907
Downloading successful, but checksum doesn't match. Calculated:
7a01302c17a9ce348c3b055863df8a417ac2fcb41de105236c57b72648907
Librepo error: Yum repo downloading error: Downloading error(s):
repodata/primary.xml.zst - Cannot download, all mirrors were Repositories loaded.
Restore the files, and once again it works with no errors? WineHQ packages 100% | 23.2 KiB/s | 2.6 KiB | 00m00s
2 machines that get errors are in Nevada with me, while 5 machines at work just fine are in Guam??
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
On 22 May 2025, at 13:24, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Was just looking at /var/cache/dnf and /var/cache/libdnf5
/var/cache/dnf is used by dnf4 and any tools that have not ported to dnf5.
/var/cache/libdnf5 is used by dnf5 and any tools that use dnf5 as a backend.
Barry
On Thu, 22 May 2025 18:55:34 +0100 "Barry" barry@barrys-emacs.org wrote:
On 22 May 2025, at 13:24, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Was just looking at /var/cache/dnf and /var/cache/libdnf5
/var/cache/dnf is used by dnf4 and any tools that have not ported to dnf5.
/var/cache/libdnf5 is used by dnf5 and any tools that use dnf5 as a backend.
Barry
Fedota 41, dnf5
I just deleted the contents of the two directory and run the DNF update. Only /var/cache/libdnf5 is again full, /var/cache/dnf is still empty.
On Thu, 2025-05-22 at 19:06 +0000, Bob Marčan via users wrote:
On Thu, 22 May 2025 18:55:34 +0100 "Barry" barry@barrys-emacs.org wrote:
On 22 May 2025, at 13:24, Michael D. Setzer II via users users@lists.fedoraproject.org wrote:
Was just looking at /var/cache/dnf and /var/cache/libdnf5
/var/cache/dnf is used by dnf4 and any tools that have not ported to dnf5.
/var/cache/libdnf5 is used by dnf5 and any tools that use dnf5 as a backend.
Barry
Fedota 41, dnf5
I just deleted the contents of the two directory and run the DNF update. Only /var/cache/libdnf5 is again full, /var/cache/dnf is still empty.
As I understand Barry's answer, that's expected behaviour. Dnf5 doesn't use /var/cache/dnf.
poc
On 23 May 2025, at 11:42, Patrick O'Callaghan pocallaghan@gmail.com wrote:
As I understand Barry's answer, that's expected behaviour. Dnf5 doesn't use /var/cache/dnf.
That is correct. Until the transition from dnf4 to dnf5 completes there will to apps using the dnf4 library APIs and thus that old dnf4 folder.
Barry