Questions tagged [dnf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

How to install libc++.so in Fedora

I wanted to use aapt on my Pc and the error code was: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory With some research I found out that ...
user avatar
0 votes
0 answers
66 views

yocto - User-Agent: falling back to 'libdnf': could not detect OS or basearch

I am using Yocto (Hardknott) to build an image and to create the package-feed(rpm packages). One of the image dependencies is u-boot-karo (it's a custom u-boot for karo modules) and it seems this ...
user avatar
  • 1
0 votes
0 answers
25 views

Is it possible to remove dnf from minimal RHEL 8 server images

We have RHEL8 servers that load their base software into a RAM based file system and use most software from a networked directory (which is structured analogously to what people usually put in /opt). ...
user avatar
  • 1
0 votes
0 answers
23 views

Messed up trying to install backports, ending killing dnf and yum

so everything is in the title, im working on fedora28 os, on a django project, and for no reason i couldnt start another one with django-admin startproject. 1 - i got a message telling me backports ...
user avatar
2 votes
1 answer
764 views

How can I force dnf in Fedora 35 to download new GPG keys?

I am suddenly unable to update Keybase through dnf. I am getting the following error: Transaction Summary ================================================================================ Upgrade 1 ...
user avatar
1 vote
0 answers
48 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 ...
user avatar
0 votes
0 answers
380 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 ...
user avatar
1 vote
1 answer
455 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, ...
user avatar
  • 215
1 vote
1 answer
126 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 ...
user avatar
  • 341
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
711 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 ...
user avatar
  • 957
2 votes
1 answer
366 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-...
user avatar
4 votes
1 answer
6k 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/...
user avatar
  • 2,632
10 votes
4 answers
13k 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 ...
user avatar
  • 233
4 votes
5 answers
8k 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 ...
user avatar
  • 11.2k
1 vote
0 answers
904 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-...
user avatar
0 votes
1 answer
140 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 ...
user avatar
  • 101
0 votes
1 answer
344 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:], ...
user avatar
  • 101
5 votes
2 answers
9k 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 ...
user avatar
  • 539
11 votes
1 answer
5k 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 ...
user avatar
  • 539
0 votes
2 answers
218 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 ...
user avatar
0 votes
1 answer
101 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 ...
user avatar
1 vote
1 answer
199 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 ...
user avatar
  • 827
1 vote
1 answer
350 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 ...
user avatar
  • 111
3 votes
2 answers
8k 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?
user avatar
  • 1
1 vote
1 answer
334 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 ...
user avatar
  • 275
0 votes
1 answer
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 ...
user avatar
  • 181
2 votes
1 answer
466 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 ...
user avatar
7 votes
1 answer
11k 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 ...
user avatar
  • 929
2 votes
2 answers
3k 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 ...
user avatar
0 votes
0 answers
397 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 ...
user avatar
1 vote
3 answers
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 ...
user avatar
0 votes
1 answer
892 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. ...
user avatar
  • 476
1 vote
1 answer
168 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 ...
user avatar
  • 153
0 votes
1 answer
4k 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 ...
user avatar
0 votes
0 answers
149 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 ...
user avatar
1 vote
1 answer
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: /...
user avatar
  • 228
8 votes
1 answer
12k 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?
user avatar
4 votes
1 answer
787 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 ...
user avatar
  • 63
2 votes
1 answer
2k 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 ...
user avatar
  • 476
0 votes
1 answer
381 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 ...
user avatar
1 vote
1 answer
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....
user avatar
4 votes
1 answer
22k 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 ...
user avatar
  • 275
0 votes
1 answer
298 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 ...
user avatar
4 votes
1 answer
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 ...
user avatar
1 vote
1 answer
985 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: ...
user avatar
1 vote
0 answers
273 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 ...
user avatar
  • 143
0 votes
1 answer
90 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 ...
user avatar
  • 3,163
0 votes
1 answer
316 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 ...
user avatar
  • 1,201
3 votes
0 answers
894 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 ...
user avatar
  • 213