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
0
votes
1answer
70 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
26 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
0answers
459 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
70 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 ...
9
votes
1answer
2k 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 ...
44
votes
7answers
56k 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
105 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
1k 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
538 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 ...
15
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
120 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
312 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
234 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
3k 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 ...
0
votes
1answer
62 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
96 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
396 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
371 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
418 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
112 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
115 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
49 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
1k 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
622 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
152 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
83 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
729 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 ...
5
votes
2answers
11k views

Can i install dnf on debian?

to setup do a image of a fedora distribution myself. i would like to run the dnf package manager (fedora) on debian, as this tool allows to download and install rpm packages in an specified target ...
6
votes
1answer
3k 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 --...
3
votes
3answers
7k views

Fedora 26: dnf update not working behind proxy - failed to synchronize cache for repo 'updates'

On Fedora 26 when I do sudo dnf -v update I get the error > Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, > needs-...
-1
votes
1answer
3k 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
732 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
707 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 ...
2
votes
2answers
4k 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
3answers
2k views

Updating kernel: vmlinuz in /boot not being created by DNF

Brand new F23 install, trying to update the kernel. I did lose power during the first round of dnf update and have to go clear out a bunch of conflicts that dnf kept reporting. It's possible I removed ...
1
vote
1answer
3k 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
671 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
383 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 ...
1
vote
1answer
358 views

Changing YUM/DNF basearch on Raspberry Pi image?

I've followed the installation instructions for Fedora on a Raspberry Pi 2. I downloaded the MATE Desktop image here and verified it with its signature available here, and then copied it over onto my ...
22
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 (/...
9
votes
1answer
3k 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 ...
0
votes
2answers
9k views

Failed to syncronize cache for repo 'fedora' … (possible proxy issues)

I just started on a fedora build. Just managed to add myself to the sudoers file, so now I am attempting to grab vim. I do a sudo dnf install vim and get hit with the following error message. ...
8
votes
3answers
2k views

Find files not installed by RPM package manager

Is there some way to find out all the files on a given system that weren't installed via RPM? I understand that I can brute force this myself using something like rpmquery -f in a script that loops ...
5
votes
1answer
734 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 ...
1
vote
1answer
188 views

List `yum/dnf` history in ascending (reversed) order

When you run yum history (or dnf history) it will give you the list of action starting from the last, most recent action being on top of the list. In case you have a lot of history steps your recent ...
0
votes
2answers
531 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
96 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?...
2
votes
1answer
973 views

Reinstalling only packages with missing or corrupt files on a non-running system?

1st. Thanks in advance. This is somewhat like # 216697: Reinstalling packages with missing/corrupt files except in that person's situation, after recovery, the system still worked. Mine does not. Can'...