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
1
vote
3answers
3k 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
20 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
14 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....
-9
votes
3answers
868 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
81 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 ...
8
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
11 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
34 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/...
6
votes
0answers
8k 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 ...
2
votes
3answers
80 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
38 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
1
vote
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
61 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 ...
5
votes
1answer
666 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 ...
1
vote
1answer
55 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
520 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 ...
0
votes
0answers
20 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
71 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
693 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
71 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:...
2
votes
1answer
461 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
577 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
438 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
111 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
32 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
44 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?
3
votes
2answers
3k 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
328 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: # ...
3
votes
1answer
1k views

Extremely slow dnf

I got a strange issue with extremely slow dnf, to the point where computer freezes for a few seconds during installation of packages. Running Fedora 29, but this is happening for years. Otherwise the ...
0
votes
0answers
803 views

Fedora 27: Error: Failed to synchronize cache for repo 'updates'

Dears, i have an issue in update the repo for Fedora 27 VM,i faced the bellow error Error: Failed to synchronize cache for repo 'updates' every-time i run any repo command. also, i try the dnf ...
1
vote
0answers
194 views

Curious `dnf check-update` result with Fedora Modular repo

I noticed a curiosity on Fedora 29. When I only enable the repo updates-modular, it says I have an update available for libgit2. When I enable both fedora-modular and updates-modular, it does not. ...
0
votes
1answer
1k views

Fedora 25 upgrade: doesn't install key for package updates, what's going on?

Fedora 24 pops up this lovely GUI-triggered update to Fedora 25 (using gnome-software). The instructions for upgrading Fedora workstation simply list the steps to click through in the GUI. Good job! ...
2
votes
2answers
562 views

How do I update emacs on Fedora?

I currently have emacs 24.5 installed and would like to update to 25.1. when I type dnf update emacs I get Last metadata expiration check: 1:29:14 ago on Thu Mar 30 09:42:12 2017. Dependencies ...
0
votes
1answer
59 views

How to ingore rpmfusion source repos when downloading source package

I have few rpm repos in my Fedora installation and I've want to download source package and got error that synchronization of rpmfusion-free-updates-source and rpmfusion-nonfree-updates-source failed. ...
0
votes
1answer
23 views

dnf short command disappear in dnf4

After dnf 2.6.2, there're short command abbreviation available. But in recent updates such short commands disappeared (I'm not sure which update, but ever since I upgraded to Fedora 29, those short ...
0
votes
0answers
346 views

Reverse dependencies to determining the Cause of DNF conflicting packages

I recently tried to update some packages on my (fedora 27, x64) machine, which dnf complains is in conflict. However, I cannot figure out how to get dnf to tell me the cause of the conflict.This ...
0
votes
0answers
56 views

Install a source RPM from Fedora's rpms

I found a great package on Fedora Package Sources. It is hosted as source codes. The specific package is Syncthing, whose official website provides an rpm binary download. But I would like the ...
16
votes
4answers
22k views

Package bash-completion missing from Yum in CentOS

I am trying to get tab-completion working in Yum in CentOS 6 (so I can do something like yum install firefo<TAB> and get back firefox), and I have found many tutorials which say to simply do yum ...
7
votes
1answer
1k views

How to use DNF to find out package versions available in a different release of Fedora?

Is it possible to use dnf (or another utility) to search repositories of different releases of Fedora? For instance to search my current release for all versions of a package I can do dnf --...
4
votes
2answers
16k views

How to add the RPM Fusion and livna repositories to Fedora?

RPM Fusion and Livna are common third party package repositories for Fedora. You need them if you want to install media players, codecs and/or DVD playback libraries that are not part of the primary ...
43
votes
7answers
54k views

List all RPM packages installed from repo “X”

How can I get a list of all of the RPM packages that have been installed on my system from a particular repo (e.g., "epel")?
0
votes
1answer
89 views

Dependency tracking and unresolved dependencies

In Fedora when I was playing around with dnf, trying to learn new things (and Linux in general), I noticed the command "dnf repoclosure". Naturally I ran it to see the output. My initial thought was ...
0
votes
1answer
801 views

How to import key that signs a repository for dnf/yum

I've ran into this for dnf only, but I assume it's the same for yum. I can't find any explanations on how this is supposed to work. One can set repo_gpgcheck=1 in repository config file. So dnf is ...
0
votes
1answer
466 views

How do I repair a bad update in Fedora 28?(edited) [closed]

I was updating my laptop when an electrical blackout happene. I restarted and try to use again sudo dnf update, but this happened: The downloaded packages were saved in cache until the next ...
14
votes
7answers
7k views

How to replicate installed package selection from one Fedora instance to another?

I have a Fedora system (A) where I have installed some packages over the time. Now I want to install Fedora on another computer (B) and I want to install the same packages on it. In Debian terms I ...
1
vote
2answers
104 views

Fedora package contains no files?

This is related to a question over at Stack Overflow. The fellow is trying to install a new allocator called tcmalloc which is part of gperftools. We both installed it on Fedora but can't neither of ...
2
votes
1answer
257 views

Does `dnf upgrade` install new packages if required?

apt upgrade may install additional packages if required. It will never remove packages. (When upgrading the distribution version, a different command is used, which may remove packages). [1] I ...
0
votes
1answer
205 views

Migrate packages from one fedora system to other

Currently, I am using Fedora 26 for my daily use. I want to transfer all the packages which I have installed with command sudo dnf install to another fedora desktop (as it doesn't have access to ...
7
votes
1answer
2k views

How can I install 32-bit dependencies on a 64-bit machine using dnf builddep?

I am trying to install the build dependencies for Wine, so that I can do a bit of hacking with it. I am running Fedora 22, 64-bit. I have installed the 64-bit dependencies successfully using dnf ...