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
3
votes
1answer
2k views

dnf: How to tell what's causing broken dependencies?

Sometimes when doing a dnf upgrade I'll be told that it's skipping packages because of broken dependencies. It will tell me which packages are being skipped, but not why they're being skipped. How ...
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 ...
1
vote
1answer
652 views

Dnf install kernel doesn't install kernel to /boot

I have the same problem as reported at https://ask.fedoraproject.org/en/question/73766/fedora-22-not-using-newer-kernal-after-dnf-update/ NOTE: the answers to that posting are not addressing the ...
2
votes
1answer
4k views

Install VLC on Qubes OS/Fedora 23

I recently installed Qubes OS and I would like to install VLC Media Player on my personal VM which is based on Fedora 23. To configure RPM-fusion I ran the two following commands (found on the french ...
1
vote
1answer
167 views

tell dnf how to reference an installed library

I'm trying to install Sprite Illuminator on my fedora, originally there's not RPM so i just converted a .deb file to rpm using alien. then, i tried to install the rpm using dnf but i was getting this ...
1
vote
1answer
581 views

Why does the proprietary nvidia driver break kernel dependencies?

I'm running Fedora 25, with the following nvidia packages installed: akmod-nvidia.x86_64 1:375.26-1.fc25 @rpmfusion-nonfree-updates kmod-nvidia-4.8.12-300.fc25....
1
vote
1answer
417 views

Sync two installs of Fedora

I have a working PC and home PC - both run Fedora 24, in some cases I install packages on my work or home pc and forget to repeat the same install on my other working machine, how do I bring dnf ...
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
0answers
273 views

Fedora 24 switch from KDE spin to Default (GNOME)

I have installed the default workstation group dnf install @workstation-product-environment Now I want to remove all unnecessary KDE packages but dnf remove @kde-desktop-environtment gives me ...
4
votes
1answer
2k views

Does dnf have an equivalent to apt's “build-dep”

something like sudo apt build-dep apache Supposedly installs all the dependencies needed to build apache from source (I've never used it before). Is there an equivalent command for the dnf package ...
4
votes
3answers
947 views

Unauthorized Installations in dnf after entering a command that's not found

I'm using Korora 23, which is based on Fedora 23. Whenever I type a command in bash that's not available, bash asks if I want to install a package to provide the command. Problem is, if I type y, it ...
2
votes
1answer
965 views

dnf not working after mistakenly deleting var/cache

I recently ran out of memory on my Fedora23 although it didn't seem like I had a lot of files stored there. I found somewhere that deleting the log files in var would free some space and in a very ...
0
votes
3answers
402 views

“dnf install vidalia” on Fedora Core 24?

I'm in the process of installing a (somewhat modified) Fedora Core 24 system, and am still trying to do things in the mostly right way. How can I get dnf install vidalia (which, in quotes, has only ...
3
votes
2answers
1k views

How to create a non-persistent Virtual machine?

I am running a Fedora 23 VM. My requirement is very simple: All the packages that were installed during the running of the VM have to uninstalled when it is given a shutdown signal. In other words, ...
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 ...
2
votes
1answer
1k views

Fedora GUI software update inconsistent with dnf command line update

During a Gnome session I received an upgrade notification from Software Update so I switched to a tty (I never run 'dnf upgrade' inside an X session) to run the update but 'dnf upgrade' shows that no ...
4
votes
2answers
633 views

How to remove line wrapping from DNF & YUM commands?

When using dnf and yum on rpm based Linux distros (RHEL/Red Hat, Fedora, CentOS, etc) the utility will automatically wrap lines to make it more friendly for the user to read. This is problematic as ...
2
votes
0answers
284 views

How to deal with “scriptlet failure in rpm package glibc” during upgrade to Fedora 24?

Actual message (from photo, not recorded in dnf system-upgrade log -1): Upgrading : glibc-2.23.1-18.fc24.x86_64 28/4874 warning: %trigger(cronie-1.4.12-1.fc21.x86_64) scriptlet failed, exit status ...
0
votes
1answer
484 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 (...
1
vote
1answer
87 views

How do I remove the hex suffix from DNF cachedir names on Fedora?

DNF uses cachedirs labeled like this: /var/cache/dnf/fedora-d174f3c3f2691dd5 /var/cache/dnf/updates-d28e3be95240972f How do I configure DNF to not add the unique identifier? With YUM, I symlinked ...
4
votes
1answer
505 views

Accidentally deleted /usr/include. What can I do to reinstall the files that were in that directory?

I was trying to get SFML working on fedora 24, and I accidentally deleted the usr/include directory in the process. Is there any way to reinstall all the missing files? Or do I have to reinstall the ...
5
votes
2answers
12k 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 ...
5
votes
1answer
2k views

How to revert a `dnf install`?

I have installed liveusb-creator using DNF on Fedora 24. These are the dependencies that were installed along with it: liveusb-creator.noarch 3.95.2-1.fc24 python-cssselect.noarch 0.9.1-9.fc24 python-...
1
vote
1answer
715 views

How to update package in Fedora 24 when repo newest version is too old?

I am running a fresh install of Fedora 24, and at boot time and other times I get a selinux alert: its this bug. The fix is, to update package selinux-policy from installed version 3.13.1-191.8.fc24 ...
-1
votes
1answer
348 views

Cannot find certain packages to install in Fedora 22

I want to install the wizardpen driver (Generic linux driver for pen-tablets) from source on Fedora 22. Upon attempting the install from source after downloading, it threw the following error about ...
10
votes
1answer
9k views

When is Centos going to replace yum with dnf ? [closed]

Dnf is already there in fedora which is a test bed for Rhel/centos but why centos 7 is still using yum ?
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 ...
2
votes
1answer
175 views

Proper way to use repository-packages

My task is "find set of installed packages that belong to a repository". I try to do: sudo dnf repository-packages REPO info installed So I can determine if I need to disable it or not. But ...
3
votes
1answer
415 views

Is it actually necessary to upgrade all packages before upgrading Fedora with DNF?

The Fedora wiki directions for a DNF system upgrade say to update all packages normally with dnf upgrade --refresh before beginning the version upgrade per se. I can understand that you'd want the ...
0
votes
1answer
3k views

Bash script to install package if already not installed (From a directory with many packages) - Fedora 17

I have a directory full of rpms (And their dependencies). Currently I am executing yum localinstall ./packages_directory/*.rpm to install all packages in there. It automatically skips the ones already ...
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. ...
0
votes
1answer
5k views

How do I edit sudoers file in fedora? [duplicate]

I have just started a new fedora build. I just got things going, and was about to install tmux, and was hit with the message... Error: This command has to be run under the root user Ok. I attempt to ...
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
373 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 ...
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
2answers
2k views

Fedora 23: “dnf update” stuck at “Running transaction”

For a few days now I'm having issues running dnf update under my Fedora 23 installation. After updating the package info and downloading the packages dnf seems to be stuck at "Running transaction". ...
1
vote
0answers
583 views

identify all broken / conflicting rpm's and fix them *correctly* Fedora 23, persistent usb

Earlier today I installed Fedora 23 on a USB. After the installation was complete, I was doing the standard dnf upgrade, shell configurations, and ultimately preparations for installing the NVIDIA ...
1
vote
1answer
1k views

Saving RPMs installed by dnf

I've got a question about yum. When I upgrade my system using dnf, it downloads packages from the Web. Can I set dnf configuration so that I could save rpm files for later use, with the same system ...
2
votes
2answers
83 views

Is there a way to exclude packages based on size rather than its name, while updating via dnf

I use a wifi that restricts downloads that are sized more than 45mb. Is there a way i can filter the results from 'dnf update'? so i can update just the ones that are downloaded and ignore the rest. ...
0
votes
1answer
237 views

Fedora Linux: transient failure downloading security updates

This is part N of "why aren't I getting security updates". What causes this one? OS: Fedora Workstation 23 Date: 2016-03-03 1. transient meaning failure, then success # dnf check-update Error: ...
7
votes
3answers
4k views

How do you build chroot jails with dnf?

Back in the day I used to build chroot jails using yum. It was simple, easy, and let me do things that weren't really available at the time (build packages for multiple distros on platforms like ia64 ...
31
votes
2answers
50k views

Can I force dnf to install an old version of a package?

I want to install an older version of package <x>, and when I use dnf it only shows the current version of the package <x>. Is there any way to install an older versions using dnf ?
1
vote
1answer
4k views

How to fix broken dependencies, that require deinstalling dnf on Fedora 23?

I've recently upgraded from Fedora 21 right up to Fedora 23. Most things went down without much drama (including nVidia drivers), except for the packages involving dnf. After upgrading, performing a ...
1
vote
0answers
4k views

Remove or reinstall broken package installation

I tried to install "variety" manually via a downloaded rpm from http://www.rpmfind.net/linux/RPM/sourceforge/p/po/postinstaller/fedora/releases/23/x86_64/variety-0.5.5-1.fc23.noarch.html The ...
9
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 ...
1
vote
2answers
414 views

How to engage with Fedora 23 error message in dnf install error of dnspython?

I am not sure whether this constitutes a bug - so, I dare to try it here... When attempting to install (with dnf) versions of the package python-dns, I get the following error: unpacking of ...
2
votes
0answers
330 views

How can I show current version during dnf update/check-update

Is there any option to add column with current version in dnf after invoking update/check-update operation? By default list contains only package name, new version and repository.
1
vote
1answer
2k views

How to make dnf to install older versions of software

I need to install squid 3.1.23 When I run sudo dnf install squid-3.1.23 I get error Last metadata expiration check performed 1:27:10 ago on Tue Jan 12 10:09:23 2016. No package squid-3.1.23 ...
2
votes
0answers
432 views

Why this strange sorting of dnf package result list?

This might be the most useless question of the decade; however, it intrigued me, so I thought it might be worth sharing. According to the manpage, dnf search <something> orders the list of ...
3
votes
3answers
2k views

dnf - how to show which mirror url has been chosen?

Below is the part of bash log, the full log can be achieved at https://gist.github.com/limkokhole/f2a423112aa005f10862: [xiaobai@xiaobai hello]$ dnf --verbose download --source readline cachedir: /...