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
2answers
784 views

Fedora 30 dnf upgrade problem

I'm trying to upgrade a freshly installed Fedora 30 with sudo dnf update and sudo dnf upgrade but I'm running into issues, here is the partial output: .... [MIRROR] util-linux-2.33.2-2.fc30.x86_64....
3
votes
1answer
159 views

How to mark a base package as not user installed while avoiding dnf autoremove?

On a freshly installed Fedora system, base packages such as sudo are not counted as user installed, i.e. dnf repoquery --userinstalled | grep sudo comes back empty. At the same time, these packages ...
3
votes
1answer
2k 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 ...
3
votes
1answer
422 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
3answers
141 views

How to topologically sort installed rpm packages?

I want to sort topologically, according to dependencies, all installed rpm packages on my Fedora with most required packages to be on top (for example glibc) and least required packages to be on ...
2
votes
2answers
356 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 '...
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 ...
2
votes
2answers
866 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 ...
2
votes
1answer
101 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
1k 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'...
2
votes
2answers
666 views

How do I update emacs on Fedora?

I currently have emacs 24.5 installed and would like to update to 25.1. when I type dnf update emacs I get Last metadata expiration check: 1:29:14 ago on Thu Mar 30 09:42:12 2017. Dependencies ...
2
votes
1answer
1k 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 ...
2
votes
2answers
85 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. ...
2
votes
2answers
735 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,...
2
votes
1answer
10k 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/...
2
votes
2answers
68 views

dnf what build requires package foo?

How can I find out which packages have a build requirement on some package foo? I'm aware of the following command dnf repoquery --alldeps --recursive --whatrequires foo in order to query all ...
2
votes
1answer
37 views

What utility does rpm --import use to download keys?

I was trying to add brave key to fedora repository. I am behind a http-proxy, so I am unable to connect.I wonder what utility (like wget or curl) does rpm use to download the keys? so that I can add ...
2
votes
1answer
620 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 <...
2
votes
1answer
2k views

How to install specific version of package in DNF

How to install specific package version in DNF. One of my installed package installed the new version, but this new has some issue, then I want to rollback to the old version, but the last old version ...
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....
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 ...
2
votes
1answer
67 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 ...
2
votes
0answers
18 views

How to automate recompiling with custom patches for repository sources when updates are available?

I have some patches that I want to apply to various software that I run which add customization that is unlikely to be accepted or has been rejected upstream. I can already download the source for ...
2
votes
1answer
508 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: # ...
2
votes
1answer
349 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 ...
2
votes
0answers
54 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 ...
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 ...
2
votes
0answers
291 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 ...
2
votes
1answer
176 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 ...
2
votes
0answers
333 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.
2
votes
0answers
436 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 ...
1
vote
1answer
65 views

Fedora 29 upgrading 1400 packages — is it safe to shut down in the middle of the upgrade?

Is it safe to stop this in the middle? I am need to leave soon and have to shutdown my system ( I am working via USB at a public computer)
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
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 ...
1
vote
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 ...
1
vote
2answers
135 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 ...
1
vote
1answer
125 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
vote
1answer
721 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
vote
1answer
430 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
2answers
122 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
756 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 ...
1
vote
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 ...
1
vote
1answer
131 views

How do I install a package with the correct dependencies from a bunch of RPMs I've downloaded?

I'm in a situation similar to How can I install a local RPM using only the local dependency RPM files? or install a directory full of RPMs so that rpms providing dependencies are installed before ...
1
vote
1answer
587 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
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
114 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
165 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 ...
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 ...
1
vote
1answer
578 views

Fedora 26 upgrade fails

I cannot upgrade my Fedora 25 -> 26. I issue dnf system-upgrade download --releasever=26 --allowerasing and then dnf system-upgrade reboot. Everything works fine up to the point when the message about ...
1
vote
1answer
614 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 ...