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
0answers
42 views

Centos 8 / EL8 AppStream profiles to offline machine

Im trying to install freeipa-client on a centos8 machine. The machine is offline (no internet connection possible) with a local network mirror. The mirror has been constructed via an rsync of the ...
0
votes
1answer
56 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
55 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-...
0
votes
1answer
222 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
0answers
9 views

Is there a place to track the package versions included in distribution releases?

I'm specifically looking for Fedora/RHEL/CentOS, but a general solution would be fine... I'm looking for a place to track what package versions of applications are / will be included in certain ...
0
votes
1answer
108 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 ...
0
votes
1answer
133 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
65 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
82 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
60 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
744 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
347 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
3k 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
36 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
134 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
1k 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 ...
1
vote
2answers
1k 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
10k 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
824 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
74 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
392 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
219 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 ...