Questions tagged [dnf]

DNF is a software package manager that installs / updates / removes packages on RPM-based Linux distributions.

DNF stands for Dandified Yum and is the next generation version of the YUM package manager.

DNF was introduced in Fedora 18. It has been the default package manager since Fedora 22.

141 questions
3
votes
0 answers

Failed to download metadata for repo 'updates-modular'

Today when I want to update my packages I got this error and I don't know what should I do to solve it [root@fedora etc]# sudo dnf update Fedora Modular 34 - x86_64 - Updates 26 kB/s | 163 kB 00:06 Errors during downloading…
3
votes
2 answers

Error using Yum DNF on Centos 8.1 Failed to download metadata for repo 'AppStream'

Having great difficulty tracking down what is causing the below error when attempting to update any package from any repo. I have tested multiple repos by setting all others to disabled. I have cleaned all cache and removed any dnf yum cache…
newbie101
  • 163
  • 1
  • 1
  • 10
3
votes
1 answer

Oracle8 ULN 'dnf check-update' differs from 'dnf update'

I recently migrated a RedHat 8 system to Oracle Linux ULN and I'm seeing a discrepancy between "dnf update" and "dnf check-update" (see output below). The listed Perl modules are installed but the .noarch version which I would prefer to retain. Is…
Codemode
  • 41
  • 2
3
votes
1 answer

Not able to download the packages using Docker Build

I am creating a docker image using DockerFile. When i execute the docker build command i get an error, below are the details docker build -f Dockerfile.app --no-cache --rm --label…
Nikhil
  • 576
  • 1
  • 11
  • 31
3
votes
0 answers

How to create a dnf module outside fedora build system?

How to create a dnf module outside fedora build system? I want to create my private module/stream without fedora build system. I have read the document at https://docs.fedoraproject.org/en-US/modularity/making-modules/defining-modules/ . But I do…
Kirby Zhou
  • 161
  • 1
  • 10
3
votes
1 answer

Fedora Container No 'find' Command Available

I've built a container with: > cat Dockerfile FROM fedora:latest USER root RUN dnf update -y && \ dnf clean all && \ dnf autoremove > docker build -t dev . > docker run -t -d > docker exec -it /bin/bash $ dnf…
ThoseKind
  • 754
  • 2
  • 13
  • 22
3
votes
0 answers

debuginfo handling within fedora, how to remove debuginfo

I can simply install debug info's for several packages with e.g: sudo dnf debuginfo-install ibus-gtk3-1.5.21-5.fc31.x86_64 But I did not see any command to remove the debuginfos. Is there any dnf command which can remove debuginfos? I know that I…
Klaus
  • 24,205
  • 7
  • 58
  • 113
3
votes
2 answers

How would I create a 'rootfs.tar' of CentOS 7.1905 for use with 'wsl --import'?

1. Summarize the problem How would I create a rootfs.tar of CentOS 7.1905 for use with wsl --import (Windows Subsystem for Linux) I have not found a rootfs.tar file I can download of CentOS 7.1905 in order to use with wsl --import. I would like to…
user10664542
  • 1,106
  • 1
  • 23
  • 43
3
votes
5 answers

ModuleNotFoundError: No module named 'dnf' when running yum or dnf

A few days ago I wanted to run dnf but I received the following error Traceback (most recent call last): File "/usr/bin/dnf", line 57, in from dnf.cli import main ModuleNotFoundError: No module named 'dnf' Thus I tried to run yum…
polmonroig
  • 937
  • 4
  • 12
  • 22
3
votes
2 answers

no module librepo after installing pytorch on fedora27

I had to install pytorch with conda, and next I had this error when trying to upgrade system : sudo dnf upgrade Traceback (most recent call last): File "/bin/dnf", line 57, in from dnf.cli import main File…
3
votes
2 answers

Error using YUM and DNF in Fedora 21

I read this article in fedoramagzine.org and followed the process. Since then I am unable to perform updates, installation etc from both yum and dnf. This is the error I get from DNF Abhinav@localhost ~$ sudo dnf update [sudo] password for…
Abhinav Kulshreshtha
  • 2,147
  • 1
  • 23
  • 38
2
votes
0 answers

Is there a DNF command that can list not-installed dependencies of a package?

Reading the documentation for DNF, it is unclear to me how one even lists the required dependencies of a package (NOTE: NOT my question, my question is the title). So what I'm wondering is, how would one go about listing the packages that needs…
Simon Farre
  • 71
  • 1
  • 6
2
votes
1 answer

Can't download pgadmin4 for Fedora

The following error appears when trying to download pgadmin4 from a Fedora 37 System. Errors during downloading metadata for repository 'pgAdmin4': - Status code: 404 for…
2
votes
1 answer

GPG keys listed for the "Slack" repository are already installed but they are not correct for this package - SOLVED

I finally got around to resolving a Slack "GPG check FAILED" error that occurred during package updating using a resolution for Linux (beta) provided by Slack. $ sudo dnf update -y bash output: GPG key at…
pekellogg
  • 23
  • 4
2
votes
2 answers

GPG Check fails on CentOS Stream 9, but not on Fedora 35

I am having an issue with a lab server I am running using CentOS 9, when I'm trying to install Grafana, the GPG check fails. This is the output I get: Importing GPG key 0x24098CB6: Userid : "Grafana " …
nidor
  • 21
  • 3
1
2
3
9 10