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
1
vote
1answer
550 views

dnf install completion not working with zsh, yet working with bash

In bash, if I type dnf install java<tab>, I get a bunch of suggestions of packages to install. However, if I do this in zsh, nothing happens. I've played around with /etc/bashrc and discovered ...
0
votes
1answer
471 views

'obsoleting packages' in package manager output? [DNF] [closed]

I run Fedora on one of my PC's and for about 5 days my package manager, DNF, has had this persistent message: dnf check-update Obsoleting Packages julietaula-montserrat-fonts.noarch ...
3
votes
2answers
2k views

How to install package from source on fedora in 2017?

What is the most clean way to install third party tar.gz's to make it maintainable through dnf? I see no checkinstall in repos, but it should be a standard and fast way to do it. There is an article ...
1
vote
0answers
345 views

What do the dark colored packages mean in dnf list output? [closed]

I want to install an older version of selinux in order to install nvidia driver, dnf list shows there is an old package 3.13.1-225.11.fc25, how can I install that ? I tried dnf install selinux-policy-...
2
votes
2answers
311 views

dnf downgrade won't remain on udpate

Somehow I got vlc3.x installed on my Fedora 25, it is not working at all. I found I could downgrade the package to 2.x, sudo dnf downgrade vlc --allowerasing -y Failed to synchronize cache for repo '...
1
vote
0answers
46 views

Why do different machines receive updates at different times?

Out of curiosity: I run two Fedora Workstations, one at work and one at home. I recently noticed that updates (kernel, etc.) consistently show up on my machine at work about a day earlier. Does ...
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....
1
vote
0answers
254 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 ...
2
votes
1answer
895 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 ...
2
votes
1answer
3k views

Do dnf updates conflicts with gnome software center updates? [duplicate]

I'm using fedora 25 gnome latest update. My dnf repo list is fedora-cisco-openh264.repo rpmfusion-free-updates.repo fedora.repo rpmfusion-free-updates-testing.repo fedora-spotify....
13
votes
1answer
7k views

What is the difference between “dnf history rollback” and “dnf history undo”?

Let's read the official documentation: dnf history rollback <transaction-spec> Undo all transactions performed after the specified transaction. If it is not possible to undo any transaction ...
1
vote
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 ...
2
votes
0answers
270 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 ...
1
vote
1answer
682 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 ...
2
votes
0answers
250 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 ...
1
vote
1answer
565 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
2answers
1k views

Restore fedora 25 repolist

Rawhide was causing troubles, so I decided to remove it, I backed up my original repo list names. The original repo list looked like that fedora-cisco-openh264.repo rpmfusion-free.repo fedora-...
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". ...
0
votes
3answers
391 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
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 ...
2
votes
2answers
1k 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
162 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
571 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 ...
1
vote
1answer
382 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 ...
4
votes
3answers
877 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 ...
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 ...
3
votes
2answers
972 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, ...
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: /...
2
votes
1answer
795 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 ...
41
votes
8answers
74k views

How can I remove Orphan Packages in Fedora?

I just switched from Ubuntu to Fedora14. In Ubuntu we had the apt-get autoremove thing to remove orphan/unused packages. What is the counterpart in Fedora?
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)
4
votes
2answers
570 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 ...
4
votes
1answer
439 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 ...
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 ...
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
votes
1answer
329 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 ?
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 ...
3
votes
1answer
391 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 ...
2
votes
1answer
168 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 ...
15
votes
1answer
45k 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....
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
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 ...
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. ...
1
vote
0answers
539 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 ...
0
votes
1answer
234 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: ...
26
votes
2answers
46k 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 ...