Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [dnf]

DNF(Dandified Yum) is the next upcoming major version of Yum, a package manager for RPM-based Linux distributions. It roughly maintains CLI compatibility with Yum and defines strict API for extensions and plugins.

Filter by
Sorted by
Tagged with
4
votes
3answers
5k views

Error: GPG check FAILED when upgrading system using dnf in Fedora

When I tried to upgrade a Fedora 26 Server earlier today, I got this error message after downloading packages: warning: /var/cache/dnf/forensics-5e8452ee3a114fbe/packages/protobuf-c-1.3.0-1.fc26....
0
votes
1answer
29 views

Upgrading a single package from Fedora Rawhide, get key error

I use Fedora 31 and try to troubleshoot a bug where I got the suggestion to upgrade the package from Rawhide. I have installed the repository with dnf install fedora-repos-rawhide and then tried to ...
1
vote
0answers
53 views

How can I repair a bad upgrade in Fedora 30

I was upgrading my computer from Fedora 30 to Fedora 31 using $ sudo dnf upgrade --refresh when it hang and rebooted. Since that whenever I call $ sudo dnf upgrade --refresh it gives me this error:...
0
votes
0answers
25 views

How to install Google Tessaract on CentOS 8?

There's a way as mentioned here in official wiki for Tesseract. However it's failing with the following error. Downloading Packages: [MIRROR] tesseract-4.1.0-3.2.x86_64.rpm: Curl error (28): Timeout ...
23
votes
2answers
1k views

Why don't package managers have per-user installations and registries?

Both Apt and DNF/Yum, the two most popular package management schemes for Linux distributions to my knowledge, only support system-wide installation of packages: Files owned by root, binaries go in (/...
0
votes
1answer
428 views

dnf mentions excluded packages while they are not marked as excluded

I just installed centos8. I try to install the latest version of docker-ce: dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo dnf install docker-ce then dnf tells ...
9
votes
2answers
1k views

What does the '@' mean in front of the repo name in `dnf list`?

When I want to list installed packages, I do it usually in one of two ways. The old fashioned way is using rpm -qa | grep <whatever I look for>, and that's that. But recently I wanted a more ...
0
votes
1answer
49 views

dnf : how to install local packages

I just download inkscape with : sudo dnf download inkscape --resolve How may I install this package from the downloaded files now ? The man page does not even include the download command.
6
votes
2answers
1k views

dnf tab completion hangs

Tab completion is hanging when attempting to complete package names. eg dnf info fire[TAB]. How can I fix this? It works in general for bash, and also for completing dnf options, but not for package ...
0
votes
0answers
38 views

Handle command-not-found without PackageKit

I have uninstall PackageKit on Fedora, because I didn't need the bloat & race-conditions with the command-line. Since then, command-not-found fails with the following: ❯ foo bash: foo: command ...
-1
votes
2answers
52 views

-y in Linux for example dnf -y install samba [duplicate]

what does the -y mean in linux. this symbol is always used after a command for example dnf -y install httpd. Everywhere I have looked I cannot find a definite answer. Please help
2
votes
0answers
18 views

How to automate recompiling with custom patches for repository sources when updates are available?

I have some patches that I want to apply to various software that I run which add customization that is unlikely to be accepted or has been rejected upstream. I can already download the source for ...
3
votes
3answers
2k views

How to (temporarily) prevent yum / dnf from updating repositories?

I sometimes face a problem that I only want to search or install a single tiny package and I am on a very limited internet connection (say: mobile data in a remote place abroad). Being more of an ...
0
votes
0answers
47 views

“dnf history undo” fails with “no package @”

When trying to uninstall KDE with dnf history undo, I get the following: Install libgit2-0.27.8-1.module_f30+2959+693db98d.x86_64 @fedora-modular Install NetworkManager-libreswan-...
0
votes
1answer
2k views

yum info: what does “Repo: installed” mean?

On RHEL 5 I entered yum info vsftpd and got this result: Installed Packages Name : vsftpd Arch : i386 Version : 2.0.5 Release : 28.el5 Size : 289 k Repo : installed ...
0
votes
1answer
19 views

dnf install or update / upgrade in one command

yum install package means: if package is not yet installed, install the latest version if package is already installed, update to the latest version dnf install package means: if package is not yet ...
0
votes
0answers
286 views

Is this package dependency conflict with liberation-fonts a bug?

Google's google-chrome-stable requires the following dependency: liberation-fonts 1:2.00.5-3.fc30 updates Fedora's Wine package requires the following dependency: liberation-narrow-fonts 1.07.6-1....
1
vote
1answer
23 views

dnf showing unformatted strings

I'm assuming I've changed a setting, but I have no idea what and I haven't been able to find an answer via google. When I run dnf, it prints the raw or unformatted strings with the format values: ...
0
votes
0answers
18 views

Why did my package manager resolve a different set of depenencies when reinstalling a package?

I tried to remove the gnome-themes-extra package which also removed a few dependencies: ================================================================================ Package Arch ...
1
vote
1answer
57 views

update google chrome on fedora

I am trying to upgrade chrome on my fedora 30 install. Currently it is stuck on "Version 66.0.3359.117 (Official Build) (64-bit)" I've removed it and reinstalled I am using this repo: [google-chrome] ...
1
vote
1answer
62 views

dnf what build requires package foo?

How can I find out which packages have a build requirement on some package foo? I'm aware of the following command dnf repoquery --alldeps --recursive --whatrequires foo in order to query all ...
8
votes
1answer
11k views

Fedora 29: Failed to synchronize cache for repo 'fedora-modular'

I upgraded Fedora 27 to 28, worked with it a bit (did not run dnf update) and then upgraded to 29. This morning I tried sudo dnf -v update and I got sudo dnf -v update ...
3
votes
2answers
717 views

Fedora 30 dnf upgrade problem

I'm trying to upgrade a freshly installed Fedora 30 with sudo dnf update and sudo dnf upgrade but I'm running into issues, here is the partial output: .... [MIRROR] util-linux-2.33.2-2.fc30.x86_64....
0
votes
1answer
1k views

What is the fedora equivalent of libusb-1.0, libc6:i386, and lib32ncurses5?

I'm trying to play around with a STM32F407G microcontroller, and I've been following along this tutorial online. The instructor of the course says that ubuntu users need to install the following ...
2
votes
3answers
6k views

Safely uninstalling GNOME desktop environment on Fedora 29

This question is similar to What is secure to remove from GNOME Desktop => GNOME (but not a duplicate). I want to remove the GNOME desktop environment. Running the proposed command in this ...
0
votes
1answer
212 views

yum or dnf update with `--skip-broken` on just one repo?

Is there a way to run yum update --skip-broken Such that only missing packages from one repository are skipped? As a third party that distributes RPM packages we would like our broken packages to ...
0
votes
0answers
43 views

How to use more than 1 mirror on update?

I want to upgrade from Fedora 28 to Fedora 30 but I always reach the next error during the upgrade command execution (dnf system-upgrade download --releasever=30): [MIRROR] source-highlight-3.1.8-24....
-8
votes
3answers
1k views

Looking for a workaround to replace dnfdragora with yumex-dnf

Fedora 27 comes with dnfdragora package manager GUI, which is a disgusting and cruel parody on software, developed by someone who either hates their users, or lacks basic GUI design skills taught to ...
1
vote
2answers
117 views

How to differentiate between repo and built packages with dnf?

When I build an rpm package with the same name as a package that already exists in a repo and type the command $ dnf info package This command only shows information about the built package. I would ...
0
votes
1answer
14 views

Fedora configuration for latest sofware

I just switch from debian stable to fedora 30 to have more up-to-date software, but it seems I didn't configure it in the right way Example octave In debian I installed octave via flatpak, its ...
1
vote
2answers
103 views

Fedora stuck at starting dnf python 3 problem

after some conda packages installation, I restarted the computer and Fedora got stuck at starting. I booted in maintenance mode, tried dnf update just to get some clue, and got an error in /usr/lib/...
2
votes
3answers
130 views

How to topologically sort installed rpm packages?

I want to sort topologically, according to dependencies, all installed rpm packages on my Fedora with most required packages to be on top (for example glibc) and least required packages to be on ...
1
vote
1answer
132 views

Can we use both dnf and Microdnf simultaneously?

I am getting below error message when I use dnf and microdnf simultaneously to install/remove packages. error: failed loading RPMDB
2
votes
1answer
2k views

How to install specific version of package in DNF

How to install specific package version in DNF. One of my installed package installed the new version, but this new has some issue, then I want to rollback to the old version, but the last old version ...
0
votes
0answers
69 views

Understanding the meaning of @ in package management [duplicate]

I discovered tmux is installed on my system. In order to find out if it was preinstalled with fedora I ran the command dnf info tmux which prints out: Installed Packages Name : tmux Version ...
1
vote
1answer
63 views

Fedora 29 upgrading 1400 packages — is it safe to shut down in the middle of the upgrade?

Is it safe to stop this in the middle? I am need to leave soon and have to shutdown my system ( I am working via USB at a public computer)
0
votes
1answer
555 views

RedHat Anaconda and groups

I need to enumerate the packages within Anaconda installation groups (@core, @Desktop, @admin-tools, @base, @system-tools, etc). I've tried using the source for Anaconda, and I've also looked through ...
1
vote
0answers
39 views

How to list all packages marked as 'group'

The dnf command is able to mark packages as install, remove or group [1]. To list all packages marked as install, the command dnf repoquery --userinstalled [2] can be used. My question is: Is there a ...
3
votes
1answer
150 views

How to mark a base package as not user installed while avoiding dnf autoremove?

On a freshly installed Fedora system, base packages such as sudo are not counted as user installed, i.e. dnf repoquery --userinstalled | grep sudo comes back empty. At the same time, these packages ...
0
votes
0answers
858 views

Failed to synchronize cache for repo

I'm doing my best to install THIS to my server. All of the instructions are for Ubuntu I'm going through and finding fedora commands to replace Ubuntu's. I've gotten to "Install and setup ARM" Section ...
0
votes
1answer
86 views

No much for argument: nvidia , No much for argument: current , Error: Unable to find a match

I recently have installed fedora 27. I wanted to install drivers for graphic and so on . I used this command line sudo dnf install invidia current And this error appears : No much for argument:...
3
votes
1answer
1k views

dnf upgrade kernel on Centos 7…

On one install, dnf managed to upgrade that kernel. On a newer machine (installed and upgraded today), it fails. Not sure why… Here is a full run: ; sudo dnf upgrade -y Last metadata expiration ...
2
votes
1answer
617 views

Installed Anaconda -> strange behavior with DNF

I am using Fedora 26. Since I installed Anaconda, if I type in Terminal something like sudo dnf install gnome[TAB] I get Traceback (most recent call last): File "<string>", line 1, in <...
0
votes
1answer
486 views

dnf update failed - pushed back to login-screen after update

I installed a fresh copy of Fedora 24 on my older notebook (1.gen i5) a few weeks ago and (naturally) first tried to get the latest updates through dnf (sudo will be omitted here). After a while (...
3
votes
4answers
7k views

fedora 24 won't boot after dnf upgrade

Last night I did an upgrade on my fedora 24 alpha install and when booting first time today I just ended up with a black screen. Then I tried booting into rescue mode, which left me with a shell ...
1
vote
0answers
148 views

How to remove specify version of kernel, fedora?

I downgrade my kernel to 4.20.16-200.fc29.x86_64 after it got updated to kernel-5.0.4-200.fc29.x86_64. Now when I tried to remove it using dnf, and I am getting this No match for argument: kernel-5.0....
2
votes
1answer
36 views

What utility does rpm --import use to download keys?

I was trying to add brave key to fedora repository. I am behind a http-proxy, so I am unable to connect.I wonder what utility (like wget or curl) does rpm use to download the keys? so that I can add ...
0
votes
1answer
60 views

How RPM and dnf databases are maintained?

Does dnf and rpm uses the same database to store details about installed packages.? Can someone mention the path of database created by rpm and dnf?
4
votes
2answers
4k views

dnf error conflicting packages between i686 and x86_64

I am getting a series of errors similar to this file /usr/share/doc/glibc/NEWS from install of glibc-2.25-10.fc26.i686 conflicts with file from package glibc-2.25-7.fc26.x86_64 when I try to dnf ...
2
votes
1answer
492 views

database disk image is malformed with dnf on Fedora 29

I have cross-posted this on ask.fedora.org as I am still uncertain whether this or the other side has the larger Fedora userbase. For a few days now I could not install updates due to this error: # ...