DNF or Dandified Yum is the next generation version of the Yellowdog Updater, Modified (yum), a package manager for RPM-based distributions.
Questions tagged [dnf]
59 questions
0
votes
1 answer
Cannot get latest-version package from multiple yum repos
There are two rpm repos in my CentOS 8.1.1911. Details are as follows:
# virt-1.repo
[appstream]
name=CentOS Linux 8-stream - AppStream
baseurl=http://mirrors.ustc.edu.cn/centos/8-stream/AppStream/$basearch/os/
gpgcheck=0
enabled=1
#…

freshMan
- 11
- 1
0
votes
1 answer
Installing SSH Server on RHEL 8.4
We have a Ubuntu Docker container that runs a SSH server that we are trying to port over to Red Hat 8.4. I am trying to install the openssh-server package using the dnf package manager via my Dockerfile. The package fails to install with the error…

phydeauxman
- 142
- 5
0
votes
1 answer
Package MariaDB-shared requires MariaDB-common, but none of the providers can be installed
I am trying to update the packages on my CentOS 8 server, but when I run sudo dnf update, the following message shows up:
Last metadata expiration check: 0:43:34 ago on Wed 12 May 2021 11:59:25 AM CEST.
Error:
Problem 1: package…

Alex
- 61
- 2
0
votes
1 answer
After power failure restart both DNF and YUM stopped working, do nothing, not even metadata check
My environment, happily functioning for a long time, experienced a power outage - of course, the immortal power supply was offline at the time, needing new batteries. As the administrator, I know there hadn't been any updates in some time and there…

Richard T
- 1,206
- 12
- 29
0
votes
1 answer
Failing to download metadata with DNF upgrade playbook
i'm trying to learn something about ansible and the automation, unfortunately I'm getting frustrated at the early step. I just tried from debian 10 machine with ansible to write a yaml to upgrade 2 Oracle linux hosts, following a guide. What I've…

bind2lrz
- 7
- 5
0
votes
1 answer
Broken Dnf update on centos 8
I am getting the following error while doing a dnf update on a centos 8 server.
I have already tried the following:
dnf clean all
dnf distro-sync
dnf update --best --allowerasing
Last metadata expiration check: 0:02:15 ago on Sun 27 Dec 2020…

user2650277
- 125
- 1
- 8
0
votes
0 answers
CentOS 8 yum/dnf update fails over internet connection
I have a squid proxy server on CentOS 8 and whenever I install a package it returns lines along the following:
[MIRROR] git-core-doc-2.27.0-1.el8.noarch.rpm: Curl error (3): URL using bad/illegal format or missing URL for //Unfocus the…

Gwynn
- 13
- 6
0
votes
1 answer
CentOS upgrade hosed
I decided to upgrade a remote 'live' server from CentOS 7 to 8. I followed the instructions here https://www.tecmint.com/upgrade-centos-7-to-centos-8/ and got into an endless loop of failures.
# dnf upgrade [or --refresh]
Error: Transaction check…

dargaud
- 193
- 1
- 7
0
votes
1 answer
New to RHEL; Coming from Fedora; Different repo managers?
I'm coming from fedora. Just testing the waters in RHEL 8.2
None of my standard dnf packages are available. For instance:
$ sudo dnf install powerline powerline-fonts
[sudo] password for adamhanna:
Updating Subscription Management…

adam-m-hanna
- 113
- 6
0
votes
1 answer
certbot installation on CentOS 8 fails
Trying to install certbot on CentOS 8 with sudo dnf install certbot python3-certbot-nginx, as suggested at certbot's website fails with the following error
Error:
Problem 1: package python3-certbot-nginx-1.3.0-1.el8.noarch requires…

user540468
- 162
- 2
- 3
- 10
0
votes
1 answer
How to install Node.js 12 on CentOS 8?
I tried the following this post which states
Application Streams are typically named for the version of the software that is included, e.g. nodejs:8 or nodejs:10 [...]
... but as you can see below: It's not working.
$ dnf module list nodejs
…

leonheess
- 144
- 3
- 12
0
votes
1 answer
Will dnf-automatic update packages in yum.repos.d even though that's a yum directory?
Environment: CentOS 8
Package: NGINX 1.16
I installed, enabled and confirmed dnf-automatic with the following commands.
$ sudo dnf install dnf-automatic
$ sudo systemctl enable --now dnf-automatic.timer
$ systemctl list-timers *dnf-*
I installed…

myNewAccount
- 569
- 1
- 6
- 19
0
votes
1 answer
Linode / Nanode - Out of memory, when running yum update
I rented a nanode from linode which is the smallest model. I tried to install powershell core which caused some issues.
Now I got the memory allocation error:
[codingsafari@centosbox ~]$ sudo yum update
CentOS-8 - AppStream …

The Fool
- 117
- 1
- 9
0
votes
1 answer
Unable to run dnf update, after adding packages-microsoft-com-prod
Problem
I tried to install power shell core on a CentOS 8 sever. It didnt work so I tried a couple solutions from the web. It seems like I have added a repository twice. On dnf update I get this output:
[codingsafari@centosbox ~]$ sudo dnf…

The Fool
- 117
- 1
- 9