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
0 answers
15 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 ...
corviraptor's user avatar
0 votes
1 answer
124 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.
ohboy21's user avatar
  • 113
0 votes
1 answer
252 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: /...
Toxice_w_'s user avatar
0 votes
1 answer
24 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 ...
Sybil's user avatar
  • 1,751
0 votes
1 answer
18 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 ...
hannes101's user avatar
  • 135
0 votes
1 answer
63 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 ...
xdavidliu's user avatar
  • 343
2 votes
2 answers
94 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 ...
Artem S. Tashkinov's user avatar
0 votes
0 answers
49 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 ...
mtalexan's user avatar
  • 298
0 votes
2 answers
468 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 ...
Bastian sek's user avatar
1 vote
0 answers
209 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 ...
dart's user avatar
  • 11
0 votes
1 answer
234 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 ...
Paulo Costa's user avatar
0 votes
1 answer
271 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 ...
asmox's user avatar
  • 3
0 votes
1 answer
337 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://...
Oleg Antonyan's user avatar
0 votes
1 answer
408 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 ...
Greg Dougherty's user avatar
0 votes
1 answer
203 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 ...
Funny Programmer's user avatar
0 votes
1 answer
26 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/ ...
WesAtWork's user avatar
0 votes
1 answer
88 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 ...
Marcus Müller's user avatar
0 votes
1 answer
149 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 ...
stdcerr's user avatar
  • 2,049
0 votes
2 answers
2k 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 ...
蔣耀德's user avatar
0 votes
0 answers
118 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 ...
BlackShift's user avatar
0 votes
0 answers
23 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 ...
MysteryMoose's user avatar
1 vote
1 answer
87 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 ...
ron's user avatar
  • 6,515
0 votes
1 answer
139 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 ...
Jim Fischer's user avatar
1 vote
2 answers
83 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. ...
aijLag's user avatar
  • 13
0 votes
1 answer
130 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!...
stewchicken's user avatar
0 votes
1 answer
72 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 ...
Михаил Агафонов's user avatar
0 votes
0 answers
70 views

Unable to uninstall Elasticsearch from CentOS 8 Stream server

I'm running CentOS 8 Stream and it has elasticsearch 7.10 installed. When I try to remove this I get the following error # dnf remove elasticsearch-7.10.0-1.x86_64 Modular dependency problems: ...
Aditya K's user avatar
  • 2,040
1 vote
1 answer
77 views

Do .rpm files installed with rpm get update notices from dnf check-update?

This (longer set of instructions for ex: https://code.visualstudio.com/docs/setup/linux) shows how to get the repo installed and then goes on to dnf. This direct .rpm (https://code.visualstudio.com/...
iletras's user avatar
  • 432
0 votes
1 answer
53 views

yum.repos.d and dnf repolist don't seem to agree on how many repos are installed

The list of (installed?) repos in /etc/yum.repos.d [ count: 16 ] is way way different from the list of installed repos I get from dnf repolist --all [ count: 42 ]
iletras's user avatar
  • 432
0 votes
1 answer
96 views

What do the colors mean in dnf repository-packages <repoid> list?

What do the colors mean in dnf repository-packages list? In my case, in the "Installed Packages" section of the output of dnf repository-packages appstream list the colors of the the two ...
iletras's user avatar
  • 432
0 votes
1 answer
255 views

Fedora broke after update

TLDR: Is there a way to check which packages are broken and reinstall them? Or maybe reinstall all the packages in the system in general? I am using fedora 38. I updated a bounch of packages on my OS ...
Aleksander's user avatar
0 votes
1 answer
421 views

AIX 7.1 Python3 Installation: Symbol Resolution Issue

I'm trying to install and run Python 3.9 on one of our AIX Operating Systems. I used yum to install Python 3.9. Current OS Level: root@our_AIX_host:/opt/freeware/libexec > oslevel -s 7100-05-11-...
Jesse C.'s user avatar
0 votes
1 answer
232 views

Fedora 38: DNF update requires [email protected] to be restarted

Today there was an update in Fedora 38: After the update completed, I checked if a reboot or a service needs to be restarted with the following DNF commands: After the update completed, I checked ...
logicito's user avatar
  • 111
2 votes
2 answers
241 views

ec2 Alma 9.2 stuck on old kernel version

# the issue: dnf check-update Last metadata expiration check: 1:35:58 ago on Sun Jun 4 10:26:18 2023. Security: kernel-core-5.14.0-284.11.1.el9_2.aarch64 is an installed security update Security: ...
user1133275's user avatar
  • 5,534
1 vote
2 answers
131 views

Is the list of upgradeable packages stored anywhere? If so, where?

I am looking for a way to get a list of all the upgradable packages for Debian and RHEL distros. I know that dpkg stores some data in /var/lib/dpkg/status, but I have found nothing there indicating ...
The Coding Penguin's user avatar
-2 votes
1 answer
143 views

How to search a package in Dandified YUM (DNF) using Regex?

I am not asking about workarounds, I am asking about dnf usage with regex. No greps or additional gadgets.
Dharius's user avatar
5 votes
1 answer
2k views

How can I check the last set of packages updated with DNF?

Is there a way to list the packages that were updated with $ sudo dnf --refresh upgrade from the command line? I cannot seem to find any suitable option in the man page for DNF.
Shredderroy's user avatar
1 vote
1 answer
833 views

Circular dependency when using dnf?

I'm trying to install the Smart Cam App on a Kria Kv260 running Ubuntu 22.04 Desktop. A part of the installation is to run: sudo dnf install packagegroup-kv260-smartcam.noarch but when I run it, I ...
0x6869's user avatar
  • 13
0 votes
1 answer
781 views

RHEL 8 + yum complained about dependencies in spite required dependencies exist

we have RHEL 8.4 and we try to install the following rpm yum localinstall ambari-agent-2.6.2.2-1.x86_64.rpm Failed loading plugin "product-id": No module named 'subscription_manager....
yael's user avatar
  • 13.1k
0 votes
0 answers
125 views

How to remove packages checks when updating with dnf

I installed some packages and removed them, but they still do some checks when I try updating the system with sudo dnf update on fedora. How can I remove them ? I tried to check the /etc/dnf/dnf.conf ...
elmahdi_gaga's user avatar
1 vote
0 answers
479 views

How to rollback to previous kernel in Fedora when new update shows blank screen at boot?

In fedora 37 I did sudo dnf -y update It updated the packages and kernel. But I remember that I didn't reboot the system after that. I just powered it off. The next day, the boot menu showed the ...
amithapase's user avatar
0 votes
1 answer
61 views

How to check if one package out of a few is not installed

How does one check whether a package is installed in Fedora? Say I have curl ca-certificates gnupg2 lldb python3-minimal gcc libc6-dev and I want to check in if whether any of these is not installed. ...
abergmeier's user avatar
0 votes
0 answers
105 views

How to dnf history rollback without network

My last dnf install broke my configuration and now I don't have network access anymore. I want to rollback, so I tried: sudo dnf history rollback 40 But it does not work because it tries to download ...
Fred Guth's user avatar
  • 181
0 votes
0 answers
295 views

Fedora: Error when install Postgres SQL: nothing provides libicui18n.so.69()

I had installed the Postgresql database on my Fedora system, which worked without problems. After some time I had uninstalled Postgres and wanted to reinstall it. When reinstalling with the following ...
TobKel's user avatar
  • 143
0 votes
0 answers
372 views

Issues with yum/dnf update and GPG check

When attempting to update my system/install new packages, I receive this error: Problem opening package gstreamer1-plugins-bad-1.16.1-5.el8.x86_64.rpm Problem opening package gstreamer1-plugins-ugly-1....
Waylen 's user avatar
1 vote
0 answers
2k views

How to force a package removal that dnf wrongly suppose many packages are depending on?

I am trying to do some clean-up in my package list on a Fedora 37 workstation using dnf. I have many packages installed for evaluation purposes and yesterday my upgrade of Fedora 36->37 resulted in ...
Seki's user avatar
  • 111
-2 votes
1 answer
126 views

Dnf not working after deleting libraries

I am using Fedora 37 and have Linux kernel: 6.1.7-200.fc37.x86_64. While trying to replace some libraries (libncurses.so.5) for STMCubeIDE I have deleted some files in /usr/lib/libncurses*. Now, when ...
GabrijelOkorn's user avatar
0 votes
1 answer
129 views

Unable to configure yum ftp repository

I managed to configure successfully an ftp repository access using the default directory /var/ftp/pub using the anonymous user I could install and download packages from node. Now i am trying to ...
TheRoguePrince's user avatar
1 vote
1 answer
2k views

Verifying an rpm package integrity

I'm trying to verify the integrity of packages using rpm -K command, but whatever I type it says "No such file or directory", although the packages are installed [anonymous@vendetta ~]$ rpm ...
TheRoguePrince's user avatar
0 votes
1 answer
750 views

Help! I blew up python, pip, and dnf! What should I do!

I bought a book about cyber security in Python, and the author uses python version 3.9. I'll get to dnf in a minute. I use Fedora Linux 37 and the default linux is linux 3.11. I set up a virtual ...
Bryan Zimmer's user avatar

1
2 3 4 5
8