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.

3
votes
0answers
126 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 ...
2
votes
1answer
125 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
63 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
100 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
37 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. ...
5
votes
0answers
2k 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
35 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
115 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
28 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
20 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
1answer
564 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 ...
6
votes
1answer
343 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
139 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
74 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
57 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
311 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
44 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
56 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
188 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
151 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
170 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
47 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
50 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
67 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
21 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
239 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
400 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
75 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
0answers
20 views

How to automate post DNF upgrade tasks like updating grub

I want to automatically: Sign modules and update kernel images when DNF upgrade VBox or NVIDIA. update grub and resign for new kernel when DNF upgrade kernel. Mostly I need some guidance on what ...
0
votes
2answers
50 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
285 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
573 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
1k 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
543 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
502 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
387 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
497 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
526 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
348 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 ...
0
votes
1answer
63 views

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

I recently have installed fedora 27 , and am a beginner . I wanted to install drivers for graphic and so on . I used this command line sudo dnf install invidia current And this error appears : ...
0
votes
1answer
132 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 ...
22
votes
2answers
822 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 (/...
10
votes
1answer
2k views

What is the purpose of /usr/lib/.build-id/ dir?

After a fresh inst of f27 (netinstall) I noticed that many pkgs place tiny files in /usr/lib/.build-id/ dir. At 1st I thought I somehow had enabled some obscure "debug" mode for dnf, but even $ dnf ...
1
vote
1answer
2k views

Semanage command not found in Fedora 27 droplet from Digital Ocean

Just getting started with Selinux on a Fedora 27 droplet from Digital Ocean. Apparently the semanage command is not installed by default. Every tutorial I've read refers to this command. I need to set ...
0
votes
2answers
2k 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....
1
vote
1answer
446 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 <...
3
votes
1answer
420 views

How to pin a package in dnf (Fedora)

I've got a temporary situation where I'm working with pre-release F27, and need to keep one package to a specific (working) version and not be upgraded until the subsequent versions stop breaking ...
0
votes
2answers
413 views

Grub boots from kernels that I removed

I'm running Fedora 26, rpm -qa kernel outputs kernel-4.13.5-200.fc26.x86_64. And that's the one I want. I had 3 kernels showing in grub, that one, and 2 newer ones, Wifi wasn't working when booting ...
2
votes
1answer
89 views

What does “package” mean in DNF software package manager?

I would like to know what does word "package" mean in DNF software package manager? I would like to know: What package is? What are its characteristics? What is it used for? What are its alternatives?...