Questions tagged [dnf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
20 views

How can I remove conflicting DNF package after a repo remove?

I removed a repo that I was not using anymore. I thought I did things properly by removing all packages provided by that repo before removing the .repo file with rm. Alas, it seems that it wasn't the ...
0
votes
0answers
99 views

Why does `dnf updateinfo` just output the “Last metadata expiration check”

I am writing a program to control dnf, and it needs a list of available updates for further processing. The command dnf updateinfo seems what I want, I tried it on CentOS 8 Stream, but it just outputs ...
1
vote
1answer
129 views

CentOS server unusable after interrupted dnf update

I was running a dnf update on a CentOS 8 machine and it was stuck, so I killed the process after half an hour or so. Now nothing seems to work, even sudo is inaccessible. I've power-cycled the server, ...
0
votes
0answers
47 views

Set up Local Repo on RHEL 8

I want to know how to change where YUM searches for the repomd.xml file, for a local repo. I receive the following error after setting up a local repo using rhel-8.3-x86_64-dvd.iso. The ISO mounts ok ...
0
votes
0answers
28 views

How do I blacklist a package in dnf in order to tell to not install it as part of a dependency

Starting with Fedora 34, using Wayland is no longer optional for kde unless some packages (a lot of them for a definite complete list), aren t upgraded. As a result, once kwayland-server is installed, ...
1
vote
1answer
54 views

How I can lock a package to a minor version in Fedora 33?

I have a VM running Fedora 33 but recently I find out the VM crashing because the kernel was updated to the latest version (see dnf info kernel below). I have also found that kernel 5.8.x makes the VM ...
0
votes
1answer
554 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
216 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
117 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-...
3
votes
1answer
4k 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/...
6
votes
4answers
8k 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 ...
4
votes
5answers
5k 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
803 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
1answer
109 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
279 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:], ...
2
votes
2answers
4k 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 ...
8
votes
1answer
2k 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
121 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
91 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
146 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
331 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
6k 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
286 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
352 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 ...
7
votes
1answer
7k 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
376 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
2k 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
695 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
121 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
144 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
1k 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
612 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
4k 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
19k 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
283 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
944 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
257 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
85 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
307 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
886 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
23k 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
719 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 ...