Questions tagged [dnf]
61 questions
15
votes
1 answer
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
- 659
- 1
- 5
- 17
12
votes
4 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
- 1
- 3
- 8
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
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,034
- 6
- 18
- 30
7
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
- 335
- 2
- 3
- 10
5
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
- 659
- 1
- 5
- 17
5
votes
2 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.
Jarod Bassett
- 53
- 1
- 1
- 7
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
- 536
- 1
- 5
- 15
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,752
- 8
- 34
- 54
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
- 11,918
- 44
- 119
- 208
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
- 5
4
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
- 487
- 4
- 16
4
votes
2 answers
dnf crashed and has transaction errors now
I was running a dnf update on my Fedora 22 system, when Gnome crashed, breaking the run of dnf. Now, when trying again, I get this error:
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached…
Bart Friederichs
- 1,496
- 5
- 18
- 35
3
votes
2 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
- 24
- 120
- 163
3
votes
0 answers
No kernel sources available for 4.4.4-301.fc23.x86_64
I am trying to use vagrant on Fedora 23, but it isn't working at all.
It isn't working because virtualbox's kernel modules will not install and compile with 4.4.4-301.fc23.x86_64.
I installed virtualbox using the RPM instructions here:…
DMCoding
- 223
- 3
- 12