Questions tagged [dnf]

DNF or Dandified Yum is the next generation version of the Yellowdog Updater, Modified (yum), a package manager for RPM-based distributions.

Filter by
Sorted by
Tagged with
0
votes
1answer
64 views

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 ...
0
votes
2answers
207 views

CentOS 8.3 - How to switch a PHP installation from Remi to AppStream?

Currently running PHP 7.4 from Remi. It was a modular dnf installation that replaced PHP 7.2 AppStream packages back when 7.2 was the newest PHP available from CentOS. In other words, Remi packages ...
1
vote
1answer
32 views

Puppet 5.5.22, dnfmodule reset

I've been trying to figure out how to convert dnf module reset php dnf module install php:remi-7.4 to a stanza in a puppet module for several hours without any success. Has anyone figured out how to ...
0
votes
0answers
48 views

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 ...
0
votes
1answer
72 views

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 ...
0
votes
1answer
118 views

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 ...
0
votes
1answer
331 views

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 ...
0
votes
0answers
344 views

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 ...
0
votes
1answer
117 views

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 ...
1
vote
1answer
171 views

Remi: Which repository contains what?

If I add the remi repository with dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm I get 3 files in /etc/yum.repos.d that declare following repositories: remi-modular remi-modular-...
0
votes
1answer
65 views

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: ...
0
votes
1answer
272 views

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-...
1
vote
1answer
997 views

Why isn't repository priority working in yum/dnf in Centos 8?

I'm trying to install a MariaDB RPM provided by MariaDB, not Centos. Since DNF natively supports priority, that should be as simple as creating a .repo file similar to: [MariaDB] name=The MariaDB 10....
0
votes
1answer
737 views

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 ...
1
vote
1answer
532 views

How does dnf-automatic send emails without knowing a password?

In the dnf-automatic config file automatic.conf I see the following lines under the email section. [email] # The address to send email messages from. email_from = sender@example.com # List of ...
0
votes
1answer
81 views

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....
0
votes
1answer
230 views

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 ...
0
votes
1answer
293 views

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 ...
2
votes
2answers
2k views

Ansible Centos 8 dnf module “module” switch missing?

I'm trying to use the dnf module of Ansible with the module switch to install PHP 7.4 from the remi repo. I'm doing this as a command, as I can't get it to work using Ansible dnf. This is what I ...
0
votes
4answers
1k views

Missing repo name in dnf's configuration

Whenever I use dnf i get the warning: Repository 'amdgpu-pro-local' is missing name in configuration, using id. Im not quite clear on what name is missing, since there is a name in the message. ...
4
votes
2answers
6k views

dnf - cannot install the best candidate for the job

I just installed CentOS8... $ cat /etc/redhat-release CentOS Linux release 8.0.1905 (Core) $ ... and now trying to follow Get Docker Engine - Community for CentOS | Docker Documentation, yet ...
1
vote
0answers
39 views

Upgrading individual modules in Centos

I have just installed Centos Streams and found that the version of Podman in Container Tools is only 1.0.5. The latest release is 1.3. I find that strange because the idea of Centos Streams is to ...
1
vote
1answer
308 views

Why DNF is not obeying “max_parallel_downloads” from config file?

My DNF config file: [main] gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True max_parallel_downloads=8 metadata_expire=-1 # exclude=kernel* But DNF 4.2.8-2.fc30 in Fedora 30 always ...
0
votes
0answers
2k views

How to install Mysql 5.6 on RHEL8 from Mysql repos?

I'm new to dnf, so this is probably obvious to someone. I did check versionlock and checked for any exclude lines in any of the /etc/yum.repos.d files. But, when I have any other repos enabled, I ...
2
votes
2answers
3k views

How to keep a specific version of an old kernel while still allowing updates?

I need to keep an old kernel in Fedora: kernel-4.14.18-300.fc27.x86_64 But I still want the latest kernel updates. 1) A naive approach is to change the installonly_limit=3 value to a high number in /...
8
votes
2answers
12k views

centos 7.4 can not install `dnf`from epel

It is so weird, I have a centos7 VM box. Try to install dnf because it is a dependency of another package. Most instructions on internet is like this: sudo yum install epel-release sudo yum install ...
2
votes
2answers
908 views

Installing CentOS packages on fedora from repository

Is there a way to install CentOS packages on Fedora through yum (dnf) repository? I'm trying to install freeswitch, but their own repository only provides builds for RHEL and CentOS. I assume CentOS ...
1
vote
2answers
75 views

Install package with at least the specified version

After a HDD failure I managed to save the list of installed packages on my Fedora 23 box. I have already reinstalled the base system and now want to restore the old packages. I tried xargs sudo dnf ...
0
votes
1answer
470 views

Squid never caching files using dnf

I'm attempting to set up a local repository cache for dnf. The idea is for one machine on the network to download a package, then any other machine on the network attempting to acquire the package ...
0
votes
1answer
2k views

How to install a gui in Fedora 23 Cloud

A little background - I'm trying to install oracle DB, and to do so I need a gui for the install. After that I can get rid of it. I'm running a Fedora 23 VM on digitalocean. I have run su -c 'dnf ...
1
vote
0answers
231 views

Cannot install iptables-service

I cannot install iptable-service on fedora 22. When i type the command dnf install iptables-service , it throws the error mentioned below. Error: Failed to synchronize cache for repo 'updates' (...
1
vote
1answer
1k views

Fedora 22 DNF timeout

I just installad Fedora 22 and DNF (yum's replacement) is performing terrible. 9 out of 10 request fails out of timeout, with random effect specifying IPv4 or not. The problem seems to be that DNF ...
4
votes
2answers
2k views

Parametric ansible command based on facts, how to do it?

I am updating some of my ansible playbooks to run on the latest version of Fedora, that now uses dnf by default. Since most of my playbooks should run on CentOS as well, I would like my script to run ...