On 10/1/26 3:28 AM, Barry Scott wrote:


On 1 Oct 2026, at 04:32, Robert McBroom via users <[email protected]> wrote:

Getting a strange messge from dnf5 on f43 system.

~]# dnf5 update
Updating and loading repositories:
RPM Fusion for Fedora 43 - Nonfree - Updates                         100% |   5.1 KiB/s |   6.2 KiB |  00m01s RPM Fusion for Fedora 43 - Free - Updates                            100% |   3.9 KiB/s |   3.8 KiB |  00m01s Fedora 43 - x86_64 - Updates                                         100% |  20.9 KiB/s |  15.7 KiB |  00m01s >>> Curl error (35): SSL connect error for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f4 Fedora 43 - x86_64                                                   100% |   5.8 KiB/s |   1.5 KiB |  00m00s Dropbox Repository                                                   100% |   5.7 KiB/s |   1.5 KiB |  00m00s Loading system state TOML file /usr/lib/sysimage/libdnf5/packages.toml failed (see dnf5-system-state(7)): [err
or] toml::value::at: key "version" not found
--> /usr/lib/sysimage/libdnf5/packages.toml
 |
0 |
 | -- in this table

Looked at

/usr/lib/sysimage/libdnf5/packages.toml

  /usr/lib/sysimage/libdnf5:
  drwxr-xr-x. 4 root root     4096 Aug 17 20:00 .
  drwxr-xr-x. 4 root root       32 Jul 29  2025 ..
  drwxr-xr-x. 2 root root     4096 Oct 21  2024 comps_groups
  -rw-r--r--. 1 root root        0 Jul 29 22:39 environments.toml
  -rw-r--r--. 1 root root        0 Jul 29 22:39 groups.toml
  -rw-r--r--. 1 root root        0 Jul 29 22:39 modules.toml
  -rw-r--r--. 1 root root        0 Jul 29 22:39 nevras.toml
  drwxr-xr-x. 2 root root        6 Sep 17  2025 offline
  -rw-r--r--. 1 root root        0 Jul 29 22:39 packages.toml
  -rw-r--r--. 1 root root        0 Jul 29 22:39 system.toml
  -rw-r--r--. 1 root root  1507328 Jul 29 22:39 transaction_history.sqlite   -rw-r--r--. 1 root root    32768 Jul 29 22:39 transaction_history.sqlite-shm   -rw-r--r--. 1 root root 15907352 Jul 29 22:39 transaction_history.sqlite-wal

Looked at the path on another f43 installation and the files are populated.

How do the files get restored?


You can check if a file is owned by an RPM with

   rpm -qf /usr/lib/sysimage/libdnf5/packages.toml

Which will tel lyou it comes from libdnf5.

You may be able to reinstall using

   dnf4 reinstall libdnf5

FYI here is what I see on a f43 aarch64 VM:

$ ll /usr/lib/sysimage/libdnf5/
total 17624
drwxrwxr-x. 1 root root      758 2025-09-10 23:20:59 comps_groups/
-rw-r--r--. 1 root root      359 2026-09-25 10:10:51 environments.toml
-rw-r--r--. 1 root root     9880 2026-09-25 10:10:51 groups.toml
-rw-r--r--. 1 root root       27 2026-09-25 10:10:51 modules.toml
-rw-r--r--. 1 root root   179665 2026-09-25 10:10:51 nevras.toml
drwxr-xr-x. 1 root root        0 2026-07-23 12:01:10 offline/
-rw-r--r--. 1 root root   104903 2026-09-25 10:10:51 packages.toml
-rw-r--r--. 1 root root      110 2026-09-25 10:10:51 system.toml
-rw-r--r--. 1 root root  1933312 2026-09-25 10:10:51 transaction_history.sqlite -rw-r--r--. 1 root root    32768 2026-09-25 10:10:51 transaction_history.sqlite-shm -rw-r--r--. 1 root root 15767272 2026-09-25 10:10:51 transaction_history.sqlite-wal


The reinstall did not repopulate the .toml files.  Took a flyer and copied the files from a working f43 installation. dnf5 works now and the files were updated with the latest update.
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to