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.
405
questions
0
votes
0
answers
26
views
dnf install #packagename always tries previously failed installations before installing package
I am new to Linux/Fedora.
Previously I failed to install a package simply because the package's name was wrong.
Now, whenever I install anything else with sudo dnf install #packagename, the software ...
1
vote
1
answer
37
views
Where does dnf history comment appear?
DNF can apply comments to history entries, by --comment=value option.
Is there a command to display that comment? Having added a comment, I tried to list history and to get history entry info by ID ...
0
votes
1
answer
37
views
How do you list all userinstalled packages that have triggered the installation of a particular package?
Using dnf, I can see I have a particular package already installed on my machine : clevis.
$ sudo dnf list clevis
Installed Packages
clevis.x86_64 20-2.fc40 ...
0
votes
1
answer
154
views
Can't install rpm packages from offline mirror: "No available modular metadata..."
I am trying to create an offline rpm repository that will allow me to install Docker to machines that won't have access to the internet.
I have created this Docker image for this purpose:
FROM ...
0
votes
1
answer
31
views
List available packages with their summaries
To get summaries of installed packages, rpm can be used.
How can be obtained a listing that includes summaries of available packages or updates?
0
votes
0
answers
82
views
yum not updating packages, process times out
I have an Oracle Linux server that was originally installed at OEL7. Recently, it was upgraded to OEL 8. The repos are hosted on a Red Hat Satellite server. Other OEL hosts are not presenting this ...
0
votes
1
answer
30
views
versionlock dependencies?
I'm on Rocky Linux 8.9. I've issued the command
dnf versionlock rubygem-rdoc-6.3.3-141.module+el8.6.0+1002+a7dba0ac.noarch
There are a lot of dependencies for this package. Do I have to also ...
0
votes
1
answer
121
views
AlmaLinux 9.4 how to update MariaDB to a later version
I have a brand new AlmaLinux 9.4 installation with my hosting company and it appears to have been pre-installed with a LAMP stack.
The MariaDB server version currently running is MariaDB 10.5.22 but I ...
0
votes
1
answer
178
views
dnf download --resolve not downloading dependencies
I'm trying to download an rpm and its dependencies so that I can install it on an offline machine later. I'm starting with an empty directory, and a repoquery confirms that my target has indeed got a ...
0
votes
1
answer
101
views
What is the standard way to enable/install packages in rocky linux?
I want to build a package for rockylinux of a project of mine:
https://github.com/eantoranz/gitmod
I was able to create packages for ubuntu, debian and fedora without much issues.... just install the ...
0
votes
1
answer
45
views
yum and dnf incompatible for listing all history transactions
I've noticed that yum history info "*" and dnf history info "*" are different.
yum shows the complete transactions themselves. But I don't know how to do this in dnf as it errors ...
0
votes
0
answers
23
views
Why do kernel-core and raspberrypi2-kernel4 packages in Rocky Linux repository "latest" have different kernel versions?
I'm using Rocky Linux on a Raspberry Pi, and I noticed that the kernel-core and raspberrypi2-kernel4 packages have different kernel versions. Here's the output from my system:
# uname -a
Linux rocky9 ...
1
vote
3
answers
278
views
How to recover from deleted /var/lib/rpm/ SQL database rpm files?
I am on a Fedora Linux machine and made a terrible mistake by accidentally deleting the rpm SQL database files located in /var/lib/rpm. I am not even sure what these files are used for. It seems to be ...
0
votes
1
answer
391
views
Lots of errors trying to update nvidia drivers with dnf update --refresh on Fedora 39
So about a week or two ago I tried updating my kernel which incidentally broke my NVIDIA Drivers somehow. Every startup I'd get the "NVIDIA Kernel module broken. Reverting to nouveau" ...
0
votes
2
answers
261
views
How to work around a package conflict with DNF on AlmaLinux
I'm working on a hosted virtual server with AlmaLinux v9.3.0 and cPanel 120.0.1 installed.
It also has EasyApache installed.
I'm trying to install package from the EPEL Repo called "mapserver&...
0
votes
0
answers
111
views
Oracle Linux 8 dnf doesn't update to newest version of file
I am trying to update the libslirp package [libslirp.x86_64 4.4.0-1.module+el8.9.+90147+a4870853] to the most recent version [libslirp-4.4.0-1.module+el8.9.0+90165+ead7974e.src.rpm].
Problem is that I ...
0
votes
1
answer
33
views
dnf install gnutar ... bf81de15: NOKEY
I am using dnf configured for OpenMandriva Cooker, and I have this problem bf81de15: NOKEY when trying to install gnutar.
What is the procedure to do in these cases? And if it is not possible, how to ...
-1
votes
2
answers
147
views
dnf won't let me overwrite or change packages
I want to do something that is supposed to be simple in any package manager, install a package, in my case it is this specifically lib64MLIRVectorToSPIRV13.
LC_ALL=C dnf install ...
-2
votes
1
answer
77
views
Force dnf install yum
I have the problem with dnf that I cannot install yum.
dnf install yum
I want to be able to solve this problem in any way, it may be by deleting files, or making it detect files that are already ...
-1
votes
1
answer
407
views
How do I set the release version in dnf?
I have the following warning when using dnf.
No se pudo detectar la versión de lanzamiento (use '--releasever' para especificarla)
Which in English would be:
Could not detect release version (use '--...
0
votes
0
answers
162
views
I cannot install any application in Fedora using the dnf command
I want to install Chrome on my Fedora. I downloaded the file and ran the following command:
sudo dnf localinstall google-chrome-stable_current_x86_64.rpm -y
But I got this error message:
Warning: ...
2
votes
1
answer
566
views
Installing mysql-community-devel on RHEL9, "Errors during downloading metadata for repository 'mysql80-community'"
This is my second instance where I am doing this installation and it is not working as expected...
dnf -y localinstall mysql80-community-release-el9-5.noarch.rpm
I installed mysql80-community-release-...
2
votes
2
answers
727
views
How do I fix dnf after trying to remove the system Python installation?
I was trying to remove python environment and I think I accidentally removed the one comes default with fedora and makes dnf command not available.
I did(not consecutively but I think those three ...
0
votes
0
answers
30
views
mdadm won't update or install after file conflict: "Unpacking of archive failed on file /usr/sbin/mdadm;65da9dab", "no such file or directory "
I'm trying to update my system with zypper dup but mdadm specifically is having trouble. I'm on openSUSE Tumbleweed and running this in fish, if that matters. I also do not have any form of RAID set ...
0
votes
1
answer
834
views
Oracle Linux 8 server won't update because of missing files
I seem to have gotten my server into a wonky state. When doing a "dnf update" I get a bunch of failures like so:
Error unpacking rpm package libgomp-8.5.0-20.0.2.el8.x86_64
Upgrading ...
0
votes
1
answer
1k
views
How can I downgrade to a specific gcc version on Fedora 39?
I need to downgrade from gcc-13 to gcc-12 for multiple projects to compile. I couldn't find a straight forward way of doing so.
dnf list gcc just shows me version 13.
0
votes
2
answers
2k
views
yum/dnf install fail
I was using centOS8 and try to execute yum install -y gcc tcl and failed. The error shows it has some problem with signature check or something at rpm install process.The console log is like
error: /...
0
votes
1
answer
166
views
RHEL9: List dependencies of a "rpm" package with "dnf": I wish to see the Repo package name
List dependencies of a "rpm" package with "dnf".
dnf repoquery --requires java-17-openjdk-devel
Updating Subscription Management repositories.
(..)
/bin/sh
/usr/sbin/alternatives
...
0
votes
1
answer
23
views
Syncronize installed and uninstalled packages between fedora installations
I am planning on basically cloning a fedora installation between two different machines. I am doing clean installation in the new system.
However, I would like to know if it is possible to not only ...
0
votes
1
answer
130
views
Fedora 39 machine cannot resolve Fedora domain, but can resolve any other site fine
I have two machines, one running Windows 11 and other with Fedora 39. The windows machine can access any site, no issues. I've been using the Fedora machine for weeks and it was fine, but today I ...
4
votes
2
answers
557
views
DNF: show URLs for downloaded packages
Is there an easy way to get the URLs for the downloaded packages in DNF?
What I'm trying to achieve: I'm currently on a very expensive Internet plan, so I need to get links, download packages on a ...
0
votes
0
answers
295
views
dnf repoquery --best?
Is there a dnf repoquery --requires --resolve option that makes it pick among dependency options the same as dnf install automatically does?
Problem
I need to download an RPM and all its recursive ...
0
votes
2
answers
1k
views
Failed Updating using "dnf update" Fedora 39
Hi the other day I tried to update my packages, but I ran into some issues:
using "dnf update" I get following Error:
Error:
Problem: conflicting requests
(try to add '--skip-broken' to skip ...
1
vote
0
answers
297
views
Fedora 39 - removed bluez & bluez-cups now have no internet access at all
I was rushing and not paying attention and used $dnf remove instead of $dnf downgrade while attempting to downgrade bluez and bluez-cups from 5.70 due to the error connecting certain devices.
After ...
0
votes
1
answer
433
views
Updating from Fedora 37 to 39 - everything works but the filesystem
I had a machine still working on Fedora 37 and used the instructions in Fedora Docs to upgrade to 39. All went very well and the system seems to behave fine. The only exception is the package ...
0
votes
1
answer
2k
views
latest yum/dnf packages not showing on RHEL 8
We have several RHEL 8.8 instances in AWS which have the BaseOS and AppStream RHUI repositories available. However, we cannot see updated versions of several packages which were flagged in a recent ...
0
votes
1
answer
877
views
dnf install self-signed package Error: GPG check FAILED
I have a repository and a package and want to install it from that repository on Fedora 39.
The repository is here for (testing purposes, ignore the bucket name ubuntu, it contains rpm repo) https://...
1
vote
1
answer
2k
views
How do I install liblzma-dev with YUM / dnf
Building a Docker image. Trying to build samtools. What I installed:
FROM rockylinux:8
RUN dnf -y update && dnf -y upgrade && dnf -y --allowerasing install wget libcurl curl git vim ...
0
votes
1
answer
798
views
How do I remove a package repository in DNF
I'm not entirely confident this is the right term for this but a while ago I installed vscodium to my system, to do this I had to add another repository which dnf pulled from. I then removed vscodium ...
0
votes
1
answer
54
views
Can't download Docs package in Fedora Container Image
I don't know what I am doing wrong but the Fedora Container image is not installing doc packages.
yum install ansible-core-doc
Claims to successfully install, but /usr/share/doc/ansible-core-doc/ ...
1
vote
1
answer
224
views
Does dnf5 support parallel metadata downloads? How do I make it?
I'm pretty happily using dnf5 on my fedora 38. It's both a new library for dependency resolution and a new frontend, replacing dnf/libdnf (though nearly completely drop-in compatible with the CLI of ...
1
vote
1
answer
500
views
Unable to install google-drive-ocamlfuse on Fedora 38
I would like to mount Google drive to a local directory and for that, I would like to install google-drive-ocamlfuse on my up-to-date Fedora 38 but I get the following errors:
$ sudo dnf install ...
1
vote
2
answers
5k
views
how to yum install perl(IPC::Run) on oracle linux 9
I want to yum install postgresql15-devel.x86_64 on oracle linux 9
[root@node1 ~]# yum install -y postgresql15-devel.x86_64
Last metadata expiration check: 23:26:01 ago on Tue 17 Oct 2023 11:09:23 PM ...
0
votes
0
answers
193
views
How does package order affect resolving of dependencies in yum/dnf?
Background / xy-problem: I have some tool that needs libcurl-devel, but won't compile if there is a 32-bit version of libcurl present. Fixing that tool is for another day. Today I want to prevent ...
0
votes
0
answers
24
views
Controlling Which Physical Drive DNF Update Writes New Grub Entries To
Background
After a catastrophic failure of a development machine, I recently relocated the still-functional SDD with a full (including Grub) Fedora install to another machine. This other machine ...
1
vote
1
answer
273
views
will DNF [YUM] fail if /var/tmp is a tmpfs file system?
I was considering making /var/tmp a tmpfs mount, similar to systemctl enable tmp.mount in order to meet a security rule requesting /var/tmp be on a separate partition. I did not make that physical ...
0
votes
1
answer
551
views
DNF|YUM - Diable a package upgrade for one specific package version
I'm encountering a problem on a Linux host where upgrading software package X causes package Y to stop working, and where package Y is essential for the users of that Linux host.
This Linux host uses ...
1
vote
2
answers
153
views
DCV Viewer on Fedora 38 instalation error
I'm trying to install the Nice DCV 2023 Client such that I can remote into my remote workstation. Several installers are available, for distros like Ret Hat, SUSE, Ubuntu, but not for Fedora.
...
0
votes
1
answer
338
views
sudo dnf module list |grep -I nginx
Below is result of sudo dnf module list |grep -I nginx on RHEL8.8, doe it mean
there are already 5 different nginx servers (1.14, 1,16 , 1.18, 1.20, 1.22) installed ?
Any hints are more than welcome!...
0
votes
1
answer
131
views
Unable to fild kazam package to remove it
Today I faced serious bug while using kazam (screen recorder) on fedora 38 workstation. The bug was unavailability to stop recording.
I tried to reinstall it by running in terminal sudo dnf reinstall ...