Questions tagged [dnf]

The tag has no usage guidance.

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

Can't install cairo-devel and pango-devel on Centos 8.1 (for Tesseract)

In order to compile the Tesseract Training programs from source code, the development packages for pango and cairo must be installed. However, I'm having trouble installing them on Centos 8.1. # cat /...
Danny's user avatar
  • 181
0 votes
0 answers
136 views

Proton VPN is not installing due to CURL error! Why?

I have Fedora 38 and I want to install protonVPN. I followed the guide and downloaded the respective rpm package but when I try to install it or update dnf I receive this error: [CODE]ProtonVPN Fedora ...
naarter's user avatar
1 vote
2 answers
3k views

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 ...
nbneo's user avatar
  • 51
0 votes
1 answer
224 views

How to update Fedora Xfce to the latest version (37)

I've got a Fedora Xfce version 35 install that has been barking at me about being past the date for support. So I installed all the updates that were available, but I still see that I'm on version 35 ...
4Dummies's user avatar
  • 173
0 votes
0 answers
176 views

my DNF repo (Fedora37) no longer functions. I think I need to reinstall/repair it. Can I reinstall a fresh Fedora dnf repository?

Yesterday, I upgraded my Fedora35 to Fedora37. Prior to the upgrade, it informed me that python2.7 (which is intentionally still on my Linux machine) would be removed. I hesitated at that (we still ...
Tim H's user avatar
  • 1
0 votes
0 answers
15 views

Fedora: dnf keeps showing "European Southern Observatory RPM repository" message

Whenever I use sudo dnf to install a package on Fedora 36, this message always appears: European Southern Observatory RPM repository fo 0.0 B/s | 0 B 00:06 Errors during downloading ...
Nick's user avatar
  • 1
0 votes
0 answers
39 views

I'm trying to install MariaDB but MySQL gets installed instead

[root@sweet91 playbook]# dnf install mariadb Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - 22 kB/s | 2.4 kB 00:00 Red Hat Enterprise Linux 9 for ...
John Neville's user avatar
0 votes
0 answers
15 views

Canary rollout of RPM packages

I have a process of building rpm packages and pushing those to nexus. And I have users that have my repository configured in their /etc/yum.repos.d/. I want to have control over availability of my ...
Edik Mkoyan's user avatar
1 vote
1 answer
7k views

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 ...
JΛYDΞV's user avatar
  • 678
1 vote
1 answer
1k views

How to install libc++.so in Fedora

I wanted to use aapt on my C 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 libc++....
Ben Kinigadner's user avatar
2 votes
1 answer
2k 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 ...
Shredderroy's user avatar
1 vote
0 answers
192 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 ...
SteeveDroz's user avatar
0 votes
0 answers
1k 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 ...
metaphor's user avatar
1 vote
1 answer
1k 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, ...
PKHunter's user avatar
  • 215
1 vote
1 answer
233 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 ...
ReynierPM's user avatar
  • 363
0 votes
1 answer
2k 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 ...
Lane Ouyang's user avatar
1 vote
1 answer
2k 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 ...
frans's user avatar
  • 1,077
4 votes
1 answer
1k 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-...
Lane Ouyang's user avatar
4 votes
1 answer
7k 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/...
jozxyqk's user avatar
  • 2,762
12 votes
4 answers
17k 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 ...
Exlord's user avatar
  • 273
4 votes
5 answers
11k 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 ...
jww's user avatar
  • 11.9k
1 vote
0 answers
1k 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-...
Krishna kumar's user avatar
0 votes
1 answer
324 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 ...
ggdx's user avatar
  • 101
0 votes
1 answer
400 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:], ...
Psymøn's user avatar
  • 101
5 votes
2 answers
16k 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 ...
Jeff's user avatar
  • 659
15 votes
1 answer
8k 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 ...
Jeff's user avatar
  • 659
0 votes
2 answers
581 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 ...
Gidfiddle's user avatar
0 votes
1 answer
105 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 ...
Ilian Zapryanov's user avatar
1 vote
1 answer
442 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 ...
Milind R's user avatar
  • 887
1 vote
1 answer
367 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 ...
Jannek S.'s user avatar
  • 111
4 votes
2 answers
13k 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?
Zombo's user avatar
  • 1
2 votes
1 answer
523 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 ...
Bludzee's user avatar
  • 335
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 ...
isapir's user avatar
  • 181
2 votes
1 answer
561 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 ...
That Brazilian Guy's user avatar
9 votes
1 answer
19k 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 ...
comfreak's user avatar
  • 1,044
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 ...
That Brazilian Guy's user avatar
0 votes
0 answers
443 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 ...
StoneThrow's user avatar
  • 1,083
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 ...
That Brazilian Guy's user avatar
1 vote
1 answer
1k 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. ...
czerny's user avatar
  • 586
1 vote
1 answer
425 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 ...
admdev's user avatar
  • 153
0 votes
1 answer
5k 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 ...
Matthew Bedford's user avatar
0 votes
0 answers
153 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 ...
Siddhartha Basu's user avatar
1 vote
1 answer
2k 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: /...
brandeded's user avatar
  • 250
9 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
1k 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 ...
csey's 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 ...
czerny's user avatar
  • 586
0 votes
1 answer
383 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 ...
Purpe_Fedora's user avatar
1 vote
1 answer
5k 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....
David Tonhofer's user avatar
7 votes
1 answer
27k 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 ...
Bludzee's user avatar
  • 335
0 votes
1 answer
333 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 ...
Ayman Nedjmeddine's user avatar