Questions tagged [dnf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
53 views

Boothole black screen CentOS8 update. A solution: [closed]

Donkeyhole issue on Centos 8. UEFI blank screen on reboot after applying a 'dnf update'.
0
votes
1answer
37 views

How to install jsoncpp on CentOS 8

I have tried: $ sudo dnf install jsoncpp Last metadata expiration check: 0:31:37 ago on Fri 17 Jul 2020 02:02:47 PM CST. No match for argument: jsoncpp Error: Unable to find a match: jsoncpp And I ...
0
votes
1answer
23 views

On Fedora - how do I find (configuration-)files which have been altered since installation?

I'm currently observing a problem with my onboard sound device (popular NUC device) and I found no fix for this yet. So I'm currently "hoping" I've made some modifications on some configuration file ...
1
vote
1answer
24 views

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-...
1
vote
1answer
679 views

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: /var/lib/dnf/...
0
votes
0answers
57 views

Fedora DNF remove packages that match a wildcard query EXCEPT packages that are dependencies to others

I am trying to remove all texlive packages from my system, so I wanted to run sudo dnf remove texlive\* to match all packages that have texlive at the beginning. However, some of those packages are ...
4
votes
2answers
3k views

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 ...
3
votes
3answers
2k views

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 ...
1
vote
0answers
572 views

CentOS 8 - lightDM installation

I am unable to install the lightDM display manager in CentOS 8. When trying to use the command $sudo dnf install lightdm I get the error Problem: conflicting requests nothing provides lightdm-...
0
votes
0answers
23 views

Where the per-user metadata gets saved by dnf on fedora?

While the another QA states the metadata is stored under /var/cache/dnf/ and /var/cache/PackageKit/. It looks dnf also saves per-user metadata somewhere. Where is that location? If I create a new ...
0
votes
1answer
95 views

VirtualBox removal stuck in purgatory

I screwed up the uninstallation of VirtualBox on Fedora 30 and now it is "not installed" but I cannot reinstall it (the intent was to downgrade to 5.* because of an issue with the kernels). The files ...
0
votes
1answer
198 views

dnf in Fedora 27 is throwing a python error

I am looking to upgrade from Fedora 27 however, DNF has broken somehow. $ dnf upgrade Traceback (most recent call last): File "/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], ...
1
vote
2answers
2k views

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 ...
5
votes
1answer
585 views

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 ...
0
votes
2answers
90 views

dnf has lost track of an installed package

Despite that vim is installed on my Fedora 29 system, the command dnf search vim-common returns "No matches found." In contrast, the ...
0
votes
1answer
83 views

Fedora 27 to Fedora 28 upgrade gives following message

I am trying to upgrade my Fedora 27 (using dnf) to Fedora 28, but the last month I keep got that message error: sudo dnf system-upgrade download --releasever=28 Before you continue ensure that your ...
1
vote
1answer
107 views

pip does not detect user-installed packages after upgrading system python?

I use Python on my Fedora KDE (x64) PC. I used to have Fedora 25, and I had installed Python 3.5 using sudo dnf install python3 and several packages like numpy and scipy using commands like sudo dnf ...
1
vote
1answer
309 views

Installing a package from Fedora 28 that is missing from Fedora 29 using Rawhide

I want to install texlive-scheme-full using Fedora 29 Rawhide. During installation one package cannot be found: Error: Problem: package texlive-scheme-full-7:svn44177-15.fc29.noarch requires ...
3
votes
2answers
4k views

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?
1
vote
1answer
264 views

Can't find package 'rg' (RipGrep) on Fedora 26

As an alternative to ag ("the silver searcher"), I'd like to install rg (RipGrep) on my Fedora 26, but I can't find it with dnf search ripgrep dnf search rg Do you know a community repository that ...
0
votes
1answer
2k views

How to install gcc 6 on Fedora 26

I'm trying to build CORE Network Emulator from source and I seem to have hit a gcc7 bug, so I want to install gcc 6.4.1 but when I try to run dnf install gcc-6.4.1 I get the error No package gcc-6.4.1 ...
2
votes
1answer
300 views

Resume partial dnf package downloads

I have a slow, metered and unstable connection. I use Fedora 24 and its default package manager is dnf. If downloads fail amidst an install, it will skip packages that have been already download in ...
6
votes
1answer
5k views

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 ...
1
vote
2answers
2k views

GPG Key import error on yum / dnf / fedup upgrade

I'm trying to upgrade my system from Fedora 24 to Fedora 25 using fedup (actually a shortcut to dnf system-upgrade). It fails with some warning about a GPG key. It offers me to import it, but it ...
0
votes
0answers
342 views

How to satisfy configure dependencies?

This question is related to my other question configure warns that installed libraries are missing . That question was specific to xscreensaver, but this is a more generic question RE: configure using ...
1
vote
3answers
1k views

Fedora kernel panic after system update

I have Fedora 24 installed and it uses packagekitd to install updates when I shutdown the system. It usually goes fine, but I left it running after work last Friday. When I came back today it was ...
0
votes
1answer
568 views

How to debug “broken dependencies” during dnf update?

When trying to update packages using dnf, some packages are skipped because of "broken dependencies": $ sudo dnf update Last metadata expiration check: 0:07:38 ago on Mon Feb 6 12:05:50 2017. ...
1
vote
1answer
96 views

Repository Metadata and local packages

I need help with dnf. I frequently need to install a fresh image of fedora server on a VM. Once that's done, every time I try to use dnf to search or install packages for the first time, it seems to ...
0
votes
1answer
3k views

dnf copr plugin not present in dnf-plugins-core

I want to install a package using dnf and copr. Both copr-cli and dnf-plugins-core are installed. But dnf says copr does not exist: $> sudo dnf install dnf-plugins-core Using metadata from Wed ...
0
votes
0answers
138 views

Linux Fedora 22 dnf ImportError?

I'm a Linux newbie. Still figuring out sysadmin/installation procedures. Recently after a software installation, the following error has been showing up. All dnf functions are not working. Even ...
1
vote
1answer
851 views

Using a copr repo that has packages for older versions of Fedora?

I've enabled a copr repository with: dnf copr enable jonludlam/opam When I attempt to install dnf -v -y install opam, it's clear that I am searching for a dnf repo that doesn't exists: cachedir: /...
8
votes
1answer
11k views

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?
4
votes
1answer
523 views

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 ...
2
votes
1answer
1k views

How to ger rid of “[WARNING]: Consider using dnf module rather than running dnf”?

Some of my ansible playbooks start with installation of python2-dnf package that is required for dnf ansible module to run. tasks: - name: Install required dnf python binding shell: dnf install -y ...
0
votes
1answer
378 views

Unknown error during fedora 24 mate initial update

i ran the proper dnf update command but in the middle of cleanup i got logged out and some of my processes got restarted. on restart nothing new was installed including the new kernel. now dnf won't ...
1
vote
1answer
3k views

How to make “dnf” use packages from a “copr” repository

On Fedora 24: I want to replace the Haskell compiler (package ghc) with a later version (specifically, 7.10.3) from a "copr" repository. So I enable the repository: dnf copr enable petersen/ghc-7....
3
votes
1answer
14k views

Fedora - how to downgrade to a specific package version?

How to downgrade to a specific package version not available with plain dnf downgrade <package>? For example, the Linux kernel my Fedora 23 came out with (kernel-4.6.4-201.fc23.i686) must be ...
0
votes
1answer
273 views

DNF displays error after package install on Fedora

I am having a strange exception each time a package is installed/upgraded with dnf! However, the packages are well installed. It seems like DNF is outputting some malformed JSON that causes thed ...
4
votes
1answer
2k views

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 ...
1
vote
1answer
933 views

Weird error when trying to upgrade to Fedora 24

I'm following the instructions posted on Fedora Magazine (https://fedoramagazine.org/upgrading-fedora-23-workstation-to-fedora-24/). I'm getting this message after dnf downloads everything: Error: ...
1
vote
0answers
253 views

Dnf has utf-8 problems

I have problem with dnf. Specifically: I cannot update my box anymore. # dnf update Last metadata expiration check: 0:02:11 ago on Thu Jun 2 14:32:01 2016. Dependencies resolved. Traceback (most ...
0
votes
1answer
81 views

Why does Fedora's dnf sort lines by length?

When I do a dnf search emacs, the output seems to be sorted by line length (see below). Why? [dhc-user@server1 timestudy]$ dnf search emacs Last metadata expiration check: 2 days, 8:25:38 ago on Sun ...
0
votes
1answer
288 views

Installing Asterisk extra sounds on Fedora 23

On Fedora 23 I found that the Asterisk "extra" sounds don't seem to be included in the main DNF repos. How can I install the "extra" sounds using DNF? For example, I would like to be able to do: dnf ...
3
votes
0answers
885 views

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 ...
2
votes
1answer
1k views

Yum repo on cifs mount

What I want to do Build my yum/dnf repository on a cifs share. Long version My windows server is my main file server, and I store my Support/Platforms/Korora22/ directory there for the time being. ...
4
votes
2answers
15k views

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.
2
votes
0answers
664 views

Fedora 22 dnf use cache only

Running on Fedora 22, any time I want to install a package, e.g.: $ sudo dnf install lshw RPM Fusion for Fedora 22 - Free - Updates 855 kB/s | 224 kB 00:00 RPM ...
3
votes
2answers
3k views

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 ...
1
vote
1answer
1k views

Using DNF or YUM to install updates in Fedora 23

Im using Fedora version 23 (latest upgrade and upates). Currently to receive the updates, I use: su -c 'yum update' This works fine, but I get: yum command has been deprecated, redirecting to '/...