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
2
votes
1answer
869 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
556 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
235 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
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 (...
1
vote
1answer
83 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
422 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
10k 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
676 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
324 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
8k 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 ?
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 ...
2
votes
1answer
165 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
385 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
2k 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
341 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
1k 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
523 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
81 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
232 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
3k 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 ...
24
votes
2answers
44k 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
3k 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 ...
7
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
405 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
318 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
407 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: /...
0
votes
2answers
2k views

How to install/update only a particular package in Fedora from a repo?

Recently I added an unofficial 3rd party repo to my Fedora 23 install. Basically I am interested in the simplescreenrecorder package that this repo provides since it is not available in the official ...
3
votes
1answer
1k views

Cannot install packages using dnf in Fedora 22 on ARM platform

I have installed Fedora 22 (using rootfs) on an Android 5.0 device with ARMv7 processor using GNURoot app. This is working OK. All commands in the rootfs execute OK. However, I have a problem with dnf....
2
votes
1answer
64 views

Postpone unimportant OS updates on Fedora (dnf) [duplicate]

I have installed the package texlive-scheme-full. Occasionally, when I perform OS updates (via dnf update) I need to update n > 5000 packages. This sometimes takes about half an hour or longer and ...
-1
votes
1answer
1k views

dnf: additionaly install optional packages to already installed group?

I installed Group "XYZ" without optional packages. How do I install the group with optional packages, without removing and reinstalling it?
6
votes
2answers
5k views

Error after installing dnf on CentOS 7

Installed dnf according to these instructions: yum install epel-release -y yum install dnf after that dnf --version works fine but dnf repolist or anything else gives: Extra Packages for Enterprise ...
15
votes
1answer
44k views

Install Locally using dnf in Fedora without using internet connection

I am trying to locally install an rpm package without using the internet. I tried the following: sudo rpm -u kernel-devel-4.2.7-200.fc22.x86_64.rpm and I got: error: kernel-devel-4.2.7-200.fc22....
2
votes
2answers
700 views

Is it safe to interrupt an upgrade process from Fedora 22 to 23 using dnf?

I'm upgrading from Fedora 22 to 23 right now, using dnf. There is a guide on fedoraproject.org how to basically do that: https://fedoraproject.org/wiki/DNF_system_upgrade The system has now rebooted,...
6
votes
2answers
2k views

DNF. How to find which group package belongs to?

I'm using fedora 22 and dnf-1.1.2-4.fc22.noarch As an use-case scenario: I found that strace package is not installed. I want to figure out if this package belongs to any other group, to install ...
2
votes
1answer
8k views

ps finds process, kill doesn't [duplicate]

Specifications [midas@localhost ~]$ uname -a Linux localhost.localdomain 4.0.4-301.fc22.x86_64 #1 SMP Thu May 21 13:10:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux and [midas@localhost ~]$ cat /etc/...
1
vote
0answers
250 views

Unclaimed network device

I'm working on Fedora 22 and have problems with my Wifi. I noticed that the wireless option in the gnome menu wasn't showing up and 'lshw' shows me *-network UNCLAIMED description: Network controller ...
3
votes
3answers
5k views

Upgrading Fedora 22 to 23 failed. Now using Fedora 24

I tried upgradinfg Fedora 22 to Fedora 23 using this guide However things have failed and it seems I am still on Fedora 22. However the system thinks it is running Fedora 24 $ cat /etc/*-release ...
1
vote
1answer
175 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 ...
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 ...
7
votes
3answers
2k views

How to enable package caching in dnf?

I started using fedora 22 and started learning dnf only to find out about two annoying facts: Almost every time I install or upgrade anything it has to rebuild the whole repository metadata cache all ...
13
votes
4answers
4k views

dnf equivalent of “yum update --security”

yum update --security installs only security updates. I think it's an extension from the yum-security plugin. Is there an equivalent dnf command? (dnf replaced yum in Fedora 22)