Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
2
votes
1
answers
806
views
Does dnf5 support parallel metadata downloads? How do I make it?
I'm pretty happily using `dnf5` on my fedora 38. It's both a new library for dependency resolution and a new frontend, replacing `dnf`/`libdnf` (though nearly completely drop-in compatible with the CLI of `dnf`). It's much faster at doing things like searching the package database for words, so that...
I'm pretty happily using
dnf5
on my fedora 38. It's both a new library for dependency resolution and a new frontend, replacing dnf
/libdnf
(though nearly completely drop-in compatible with the CLI of dnf
).
It's much faster at doing things like searching the package database for words, so that's refreshing. Speaking of refreshing:
Can I configure dnf5
to download metadata from different remote repositories (Fedora 38, Fedora 38, updates, Fedora 38 openh264, Fedora 38 nonfree updates, rpm fusion updates, rpm fusion non-free updates …) in parallel?
Marcus Müller
(47107 rep)
Nov 2, 2023, 10:40 PM
• Last activity: Aug 1, 2025, 05:17 PM
2
votes
2
answers
268
views
What is a DNF 5 compatible alternative to `dnf repository-packages ancient-repo remove`?
After updating my Fedora system to Fedora 41 it is using DNF in version 5 which is a replacement of DNF 4 that works differently in some situations. I noticed that the command `dnf repository-packages ancient-repo remove` no longer works. This command was useful for removing all packages installed f...
After updating my Fedora system to Fedora 41 it is using DNF in version 5 which is a replacement of DNF 4 that works differently in some situations. I noticed that the command
dnf repository-packages ancient-repo remove
no longer works. This command was useful for removing all packages installed from a specific repository (ancient-repo
in this case).
For example, with DNF 4, I could run:
dnf repository-packages ancient-repo remove
But in DNF 5, this results in an error:
Unknown argument "repository-packages" for command "dnf5". Add "--help" for more information about the arguments.
It could be a command provided by a plugin, try: dnf5 install 'dnf5-command(repository-packages)'
How can I achieve the same functionality with DNF 5?
**Is there an alternative command or a workaround to remove all packages installed from a specific repository?**
Simon Schürg
(241 rep)
Jan 18, 2025, 10:23 AM
• Last activity: Jun 13, 2025, 12:45 PM
2
votes
1
answers
194
views
Where can I find update logs in Fedora 41?
I'm using `Fedora Linux 41 (Workstation Edition)` with Gnome desktop. Where can I find logs of package updates showing time of change and change of version for each package that was updated? I let the `Software` application update my computer whenever it prompts me that there are available updates....
I'm using
Fedora Linux 41 (Workstation Edition)
with Gnome desktop.
Where can I find logs of package updates showing time of change and change of version for each package that was updated?
I let the Software
application update my computer whenever it prompts me that there are available updates. After next startup I get notification telling me that packages where updated. But where can I find this information later?
I have looked from files in /var/log/dnf*.log
and from Journal but could now find this information.
Some sources suggest using command sudo dnf history list
. But his shows only packages I have changed manually.
user@host:~ $ dnf history list
ID Command line Date and time Action(s) Altered
10 dnf install podman 2025-03-22 19:30:50 33
9 dnf remove podman 2025-03-22 19:28:15 33
8 dnf install odt2txt 2025-03-20 19:48:49 1
7 dnf install pdfgrep 2025-02-24 16:10:16 1
6 dnf install git-filter-repo 2025-02-06 18:40:01 1
5 dnf install python3.12 2025-01-18 16:28:12 3
4 dnf install python3.8 2025-01-14 10:25:39 3
3 dnf remove python3.12* 2025-01-14 10:24:30 2
2 dnf install python3.12 2025-01-13 12:02:36 2
1 dnf install 1password 2024-12-03 21:51:57 5
user@host:~ $ dnf history info 2
Transaction ID : 2
Begin time : 2025-01-13 12:02:36
Begin rpmdb : e7a735605a2fd46f438ab398979091536caf0c2065c383b27be5ead0a877c8ce
End time : 2025-01-13 12:02:47
End rpmdb : 3088d9d71b2b98054a7bfc26ee602f7d2cd0668b970528156c12ea4beef7c0c9
User : 1000 user
Status : Ok
Releasever : 41
Description : dnf install python3.12
Comment :
Packages altered:
Action Package Reason Repository
Install python3.12-0:3.12.8-2.fc41.x86_64 User updates
Install python3.12-libs-0:3.12.8-2.fc41.x86_64 Dependency updates
I am hoping to find information similar to /var/log/apt/history.log
that is available on Debian based systems.
Madoc Comadrin
(252 rep)
Apr 14, 2025, 03:37 AM
• Last activity: Apr 14, 2025, 06:03 PM
4
votes
1
answers
846
views
How can I get DNF to ignore dependencies when upgrading a package?
Fedora 41 - x86_64 - problem with libheif A few months ago, a minor change in the camera app in Apple iOS started using the HEIC image file format in a new way, which triggered a bug in the ```libheif``` library. By the time I ran into the problem, it had been fixed upstream and in Fedora Rawhide, b...
Fedora 41 - x86_64 - problem with libheif
A few months ago, a minor change in the camera app in Apple iOS started using the HEIC image file format in a new way, which triggered a bug in the
library. By the time I ran into the problem, it had been fixed upstream and in Fedora Rawhide, but not yet in the main Fedora repos. I fetched the RPM and installed it, but now that the fix is available in the mainstream, I am getting errors:
[lars@cleo ~]$ sudo dnf --setopt=install_weak_deps=False update libheif
Updating and loading repositories:
Repositories loaded.
Problem: problem with installed package
- installed package libheif-freeworld-1.19.5-2.fc41.x86_64 requires libheif(x86-64) = 1.19.5, but none of the providers can be installed
- package libheif-freeworld-1.19.5-2.fc41.x86_64 from rpmfusion-free-updates requires libheif(x86-64) = 1.19.5, but none of the providers can be installed
- package libheif-freeworld-1.17.6-4.fc41.x86_64 from rpmfusion-free requires libheif(x86-64) = 1.17.6, but none of the providers can be installed
- cannot install both libheif-1.19.7-1.fc41.x86_64 from updates and libheif-1.19.5-3.fc41.x86_64 from @System
- cannot install both libheif-1.17.6-2.fc41.x86_64 from fedora and libheif-1.19.7-1.fc41.x86_64 from updates
- cannot install the best update candidate for package libheif-1.19.5-3.fc41.x86_64
Package Arch Version Repository Size
Skipping packages with conflicts:
libheif x86_64 1.19.7-1.fc41 updates 1.3 MiB
libheif x86_64 1.17.6-2.fc41 fedora 943.4 KiB
Skipping packages with broken dependencies:
libheif-freeworld x86_64 1.17.6-4.fc41 rpmfusion-free 146.6 KiB
libheif-freeworld x86_64 1.19.5-2.fc41 rpmfusion-free-updat 152.0 KiB
Nothing to do.
[lars@cleo ~]$
I would like to
each of the two packages while ignoring the possible conflict.
How can I do that?
Lars Poulsen
(357 rep)
Mar 29, 2025, 06:27 PM
• Last activity: Mar 29, 2025, 07:28 PM
0
votes
1
answers
261
views
Where does dnf-5 (Fedora 41) keep its transaction history?
Every night, my Fedora systems run a crontab script that does `dnf update -y`. It is actually a small Perl script that also tries to run `rkhunter --propupd` if necessary. I used to be able to check the timestamp on `/var/lib/dnf/history.sqlite-wal` to see if any modules had been updated, but since...
Every night, my Fedora systems run a crontab script that does
dnf update -y
.
It is actually a small Perl script that also tries to run rkhunter --propupd
if necessary.
I used to be able to check the timestamp on /var/lib/dnf/history.sqlite-wal
to see if any modules had been updated, but since I did the version-upgrade
to F41, none of the files in var/lib/dnf/
appear to have been touched.
Where has the history database moved to?
Lars Poulsen
(357 rep)
Dec 17, 2024, 05:02 PM
• Last activity: Dec 17, 2024, 05:32 PM
Showing page 1 of 5 total questions