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
0answers
15 views

Why did my package manager resolve a different set of depenencies when reinstalling a package?

I tried to remove the gnome-themes-extra package which also removed a few dependencies: ================================================================================ Package Arch ...
0
votes
1answer
17 views

update google chrome on fedora

I am trying to upgrade chrome on my fedora 30 install. Currently it is stuck on "Version 66.0.3359.117 (Official Build) (64-bit)" I've removed it and reinstalled I am using this repo: [google-chrome] ...
0
votes
1answer
12 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 ...
0
votes
0answers
17 views

dnf showing unformated strings

I'm assuming I've changed a setting, but I have no idea what and I haven't been able to find an answer via google. When I run dnf it prints the raw or unformatted strings with the format values: ...
2
votes
2answers
221 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....
-2
votes
0answers
28 views

using yum/dnf and rpm -V commands

I am using Fedora Linux and I am unsure how to go about this task: # yum list installed Prints all installed packages # rpm -V packagestring Checks the changes that the package has gone through I ...
0
votes
1answer
48 views

yum or dnf update with `--skip-broken` on just one repo?

Is there a way to run yum update --skip-broken Such that only missing packages from one repository are skipped? As a third party that distributes RPM packages we would like our broken packages to ...
0
votes
0answers
28 views

How to use more than 1 mirror on update?

I want to upgrade from Fedora 28 to Fedora 30 but I always reach the next error during the upgrade command execution (dnf system-upgrade download --releasever=30): [MIRROR] source-highlight-3.1.8-24....
0
votes
1answer
14 views

Fedora configuration for latest sofware

I just switch from debian stable to fedora 30 to have more up-to-date software, but it seems I didn't configure it in the right way Example octave In debian I installed octave via flatpak, its ...
1
vote
2answers
53 views

Fedora stuck at starting dnf python 3 problem

after some conda packages installation, I restarted the computer and Fedora got stuck at starting. I booted in maintenance mode, tried dnf update just to get some clue, and got an error in /usr/lib/...
2
votes
3answers
88 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 ...
1
vote
1answer
68 views

Can we use both dnf and Microdnf simultaneously?

I am getting below error message when I use dnf and microdnf simultaneously to install/remove packages. error: failed loading RPMDB
0
votes
0answers
63 views

Understanding the meaning of @ in package management [duplicate]

I discovered tmux is installed on my system. In order to find out if it was preinstalled with fedora I ran the command dnf info tmux which prints out: Installed Packages Name : tmux Version ...
1
vote
1answer
60 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)
0
votes
0answers
23 views

How to list all packages marked as 'group'

The dnf command is able to mark packages as install, remove or group [1]. To list all packages marked as install, the command dnf repoquery --userinstalled [2] can be used. My question is: Is there a ...
0
votes
0answers
756 views

Failed to synchronize cache for repo

I'm doing my best to install THIS to my server. All of the instructions are for Ubuntu I'm going through and finding fedora commands to replace Ubuntu's. I've gotten to "Install and setup ARM" Section ...
3
votes
1answer
88 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 ...
1
vote
0answers
121 views

How to remove specify version of kernel, fedora?

I downgrade my kernel to 4.20.16-200.fc29.x86_64 after it got updated to kernel-5.0.4-200.fc29.x86_64. Now when I tried to remove it using dnf, and I am getting this No match for argument: kernel-5.0....
2
votes
1answer
32 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 ...
0
votes
1answer
45 views

How RPM and dnf databases are maintained?

Does dnf and rpm uses the same database to store details about installed packages.? Can someone mention the path of database created by rpm and dnf?
2
votes
1answer
496 views

dnf upgrade kernel on Centos 7…

On one install, dnf managed to upgrade that kernel. On a newer machine (installed and upgraded today), it fails. Not sure why… Here is a full run: ; sudo dnf upgrade -y Last metadata expiration ...
6
votes
2answers
772 views

dnf tab completion hangs

Tab completion is hanging when attempting to complete package names. eg dnf info fire[TAB]. How can I fix this? It works in general for bash, and also for completing dnf options, but not for package ...
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 ...
2
votes
1answer
374 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: # ...
0
votes
0answers
844 views

Fedora 27: Error: Failed to synchronize cache for repo 'updates'

Dears, i have an issue in update the repo for Fedora 27 VM,i faced the bellow error Error: Failed to synchronize cache for repo 'updates' every-time i run any repo command. also, i try the dnf ...
1
vote
0answers
214 views

Curious `dnf check-update` result with Fedora Modular repo

I noticed a curiosity on Fedora 29. When I only enable the repo updates-modular, it says I have an update available for libgit2. When I enable both fedora-modular and updates-modular, it does not. ...
8
votes
1answer
9k views

Fedora 29: Failed to synchronize cache for repo 'fedora-modular'

I upgraded Fedora 27 to 28, worked with it a bit (did not run dnf update) and then upgraded to 29. This morning I tried sudo dnf -v update and I got sudo dnf -v update ...
0
votes
1answer
65 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
0answers
380 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
63 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 ...
0
votes
1answer
23 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
3answers
4k views

Safely uninstalling GNOME desktop environment on Fedora 29

This question is similar to What is secure to remove from GNOME Desktop => GNOME (but not a duplicate). I want to remove the GNOME desktop environment. Running the proposed command in this ...
8
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 --...
2
votes
1answer
275 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 ...
1
vote
2answers
110 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 ...
0
votes
1answer
99 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
490 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 ...
0
votes
1answer
58 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
86 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
350 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
332 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
372 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
2answers
91 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
102 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
104 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
44 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
565 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
143 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
72 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....