Questions tagged [dnf]
64 questions
19
votes
2 answers
How can I change the number of kernels retained when updating in Fedora?
When running 'dnf update' the system will only keep 3 of the previous kernel versions installed. Once I attempt to install the 4th update then dnf wants to remove the oldest installed kernel. How can I increase or decrease the number of…
Jeff
- 809
15
votes
2 answers
How to search the DNF package manager for all available versions of a package?
What I want to know is how to search for all available versions of a particular package.
It might help to understand my situation to understand exactly what I want to do.
I develop software for clients using Node.js, npm, TypeScript, JavaScript,…
I sekai tensei
- 1,340
13
votes
1 answer
Get freshest metadata in dnf on Fedora
I noticed that when I clean dnf's metadata and then run dnf upgrade to fetch new metadata and check for upgradeable packages multiple times, it tends to often download different amounts of data which sometimes result in one run not having any…
comfreak
- 1,253
12
votes
5 answers
Centos8 dnf update transaction check error
dnf update giving me this error, after upgrading my centos7 to centos8
Error: Transaction check error:
file /usr/lib64/libgdbm_compat.so.4.0.0 from install of gdbm-libs-1:1.18-1.el8.x86_64 conflicts with file from package gdbm-1.10-8.el7.x86_64
I…
Exlord
- 273
12
votes
2 answers
dnf remove wants to remove too many packages, many that are unrelated
Sometimes when trying to remove a package via 'dnf remove package-name', dnf will list a lot of other packages as 'dependencies' and try to remove them too. I have found that it even does this with seemingly unrelated packages, like removing…
Jeff
- 809
9
votes
1 answer
How to disable automatic updates on Fedora 25?
The title is sufficient I think. How can I stop Fedora to automatically download and install system and software updates on restart?
user373230
8
votes
1 answer
Fedora - how to downgrade to a specific package version?
How to downgrade to a specific package version not available with plain dnf downgrade ?
For example, the Linux kernel my Fedora 23 came out with (kernel-4.6.4-201.fc23.i686) must be downgraded to a specific version 4.4.9, for some…
Bludzee
- 365
7
votes
3 answers
How can I use a specific mirror server in Fedora?
I'm using fedora 23 and I want to change the default settings in dnf in order to use a specific server mirror from here.
6
votes
4 answers
Where do packages installed with DNF get stored?
With APT (Ubuntu), downloaded packages are stored at:
/var/cache/apt/archives
Where does DNF (Fedora) store downloaded packages?
Zombo
- 1
6
votes
1 answer
parallel install ncurses-6 & ncurses-5 on fedora 24
I just upgraded from fedora 23 to 24, and it broke some binaries I have on my system that were not installed from fedora's repositories, due to the ncurses upgrade from version 5 to version 6:
error while loading shared libraries: libtinfo.so.5:…
Emmanuel Touzery
- 597
4
votes
2 answers
Unable to update with dnf because of a GPG check FAILED
Since last week I can´t update anything. If I try sudo dnf update, the process starts normally but then I get the following error:
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software…
nbneo
- 81
4
votes
1 answer
How to know which package provides a header file via “dnf” command
I know dnf provides could find a package which includes a specific command, for example,
$ dnf whatprovides g++
Last metadata expiration check: 0:57:32 ago on Wed May 20 09:43:51 2020.
gcc-c++-9.3.1-2.wf31.x86_64 : C++ support for GCC
Repo :…
Lane Ouyang
- 566
4
votes
1 answer
Missing RPM-GPG-KEY-fedora-32-x86_64 during system upgrade
While trying to run sudo dnf system-upgrade download --refresh --releasever=32 I got the following error right after all the packages have downloaded and are about to install:
warning:…
jozxyqk
- 2,914
4
votes
5 answers
Which package provides qmake on Fedora?
I'm having trouble determining the Qt package that provides qmake on Fedora 31. I already installed qt5-designer qconf qt5-devel qt5-qtbase qt5-qtbase-devel qt5-qttools qt5-qttools-devel (and dependencies).
$ dnf search qmake
Last metadata…
jww
- 12,722
4
votes
1 answer
Inconsistent permissions for dnf install
Why do I not need to install as root when the shell "guesses" the package I need to execute a command?
For example:
(cseymour) : ~ $ dnf install rogue
Error: This command has to be run under the root user.
(cseymour) : ~ $ rogue
bash: rogue:…
csey
- 63
- 6