Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
3answers
71 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
24 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
0
votes
0answers
57 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
53 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
0answers
17 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 ...
0
votes
0answers
561 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 ...
3
votes
1answer
57 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 ...
1
vote
0answers
102 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
28 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
41 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?
2
votes
1answer
402 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 ...
5
votes
1answer
543 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 ...
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 ...
2
votes
1answer
262 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: # ...
0
votes
0answers
703 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
165 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. ...
6
votes
0answers
7k 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 ...
0
votes
1answer
55 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
0answers
293 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
51 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 ...
0
votes
1answer
22 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 ...
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 ...
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 --...
2
votes
1answer
243 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 ...
1
vote
2answers
99 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 ...
0
votes
1answer
84 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
435 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 ...
0
votes
1answer
52 views

`dnf` & `yum` list packages by popularity? [closed]

How do I use dnfor yum to list all packages, sorted by popularity (assuming that this is an available feature)? I don't have a rigorous definition of popularity, but a standard metric such as number ...
1
vote
1answer
75 views

How to make DNF download packages according to size? [closed]

In places where a connection is somewhat unreliable, it makes at times sense to download small packages first. I was wondering if and how I could make dnf download packages from smallest to largest. ...
1
vote
1answer
286 views

fedora [Errno 28] No space left on device: '/var/cache/dnf/metadata_lock.pid' // but space are huge

Here is the error message : [root@h2g2w dnf]# dnf update [Errno 28] No space left on device: '/var/cache/dnf/metadata_lock.pid' [root@h2g2w dnf]# here are partitions informations : [root@h2g2w ...
1
vote
1answer
251 views

Why is repo not reinstalling after removing it from /etc/yum.repos.d?

I removed a repo by deleting its file from /etc/yum.repos.d using rm -rf. Then I tried to install the same repo with dnf install but it is not showing up in /etc/yum.repos.d or when I run dnf repolist....
0
votes
1answer
309 views

dnf can't download package from URL

I have a URL which I want to install a package from. Typing su -c 'dnf install http://www.geogebra.org/download/rpm.php?arch=amd64&ver=6' gives the error: rpm.php?arch=amd64 ...
1
vote
1answer
70 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 ...
1
vote
1answer
83 views

Fedora: How do I force all installed packages to a single release version?

I'm running Fedora 28. To install one package which I knew was broken in Fedora 28, I used a package from Rawhide. This package pulled in hundreds of dependencies and all were installed at their ...
-1
votes
1answer
93 views

How do I mark dnf package as removed?

I want to remove dnf installed packages using pip but when I type: $ dnf info package the package manager wrongly shows that the package is installed. I alternatively tried removing the package ...
2
votes
0answers
37 views

What happens to debuginfo when a package is upgraded? Is the debuginfo removed?

https://fedoraproject.org/wiki/StackTraces#Installing_debuginfo_RPMs_using_DNF To install only the minimal set of debuginfo packages use the output of [dnf debuginfo-install] (without actually ...
4
votes
3answers
842 views

How do I add a yum repository, manually?

I am trying to add the intel products repository to dnf by creating a .repo file but when I run dnf repolist I am getting this error: Failed to synchronize cache for repo 'intel-products', disabling. ...
1
vote
0answers
517 views

elfutils-libelf-devel installed but not detected during VirtualBox install

I am trying to install VirtualBox following this tutorial. I have done every steps but when trying to run : /usr/lib/virtualbox/vboxdrv.sh setup I get following output : vboxdrv.sh: Stopping ...
1
vote
1answer
115 views

How to boot directly into GUI without going through tty

I recently did dnf update and it uninstalled gnome, so I did dnf groupInstall "Fedora Workstation". This restored gnome but every time I boot up, I have to login from the console and use startx. Any ...
0
votes
2answers
62 views

Fedora fails to find popular packages like apcalc or docker

I'm running Fedora 28 on my Acer Laptop for more than a week now. Since I usually use it at university, I decided to use the update server provided by the university, https://ftp.halifax.rwth-aachen....
2
votes
2answers
492 views

Listing packages explicitly installed by the user using dnf

I have a Fedora 28 system (EDIT: upgraded from Fedora 27, rather than installed fresh). I can run dnf list --installed to list the 2165 packages installed on my system. I can run dnf leaves (using the ...
0
votes
1answer
796 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 ...
5
votes
1answer
2k views

“package X requires Y, but none of the providers can be installed”

While upgrading to fedora 28, I ran two commnads sudo dnf upgrade --refresh sudo dnf install dnf-plugin-system-upgrade These worked but next command sudo dnf system-upgrade download --...
-9
votes
1answer
791 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
votes
1answer
2k views

Differences between yum update and dnf upgrade

I'd like to find out if there are differences between yum update and dnf upgrade. I am using CentOS 7. I haven been using BOTH commands at the same time. And I just tried it again and this is what ...
0
votes
1answer
633 views

dnf: (something) was supposed to be installed but is not!

I see that it is an error that happend here and there for some packages, but I didnt find any solution working for me. Everything broke down trying to install Jupyter by dnf install python2-qtconsole ...
1
vote
1answer
572 views

Grub2 uninstalled, now I can't boot my Linux partition.

I'm using Fedora 27 and recently I had a problem with the package manager of this distro, dnf, which removed the grub. Since then I can't boot my Fedora partition, it's explained in detail here : It ...
0
votes
1answer
750 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
2answers
601 views

Python error in dnfdragora update - fedora 27

I was trying to do an update using the dnfdragora dialog, in fedora 27. Until a few days ago I didn't experience any issue. Today though, when trying to open it I got the following error > g-io-...
0
votes
1answer
374 views

Failed to synchronize cache for repo 'freshrpms', disabling

I just installed Fedora 25 and one of the first things I went to do was dnf update, I got the error above. Is there a known fix to this issue or would I be better off installing a different linux ...