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
1
vote
1 answer
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 cannot find mysql server to install. I can try to…

Max Allan
- 303
- 1
- 4
- 11
1
vote
2 answers
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 install < packagelist
where packagelist is the…

GergelyPolonkai
- 369
- 1
- 5
- 12
1
vote
0 answers
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' (and some more info).
I tried manually entering the…

john
- 45
- 1
- 7
1
vote
1 answer
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 can't pick a proper mirror nad often pick a…

Richard87
- 240
- 1
- 2
- 6
1
vote
1 answer
Ansible update list
The task is to get a list of the latest updates. Approximately as the command issues dnf check-update
Ansible code:
tasks:
- name: List Available Patches (Non-Kernel)
dnf:
list: updates
update_cache: true
register: packages
…

rk3dnp
- 21
- 3
1
vote
1 answer
Use dnf update based on age of packages
We manage quite a lot of linux servers using ansible VIA an AWX server, and patch these once a week using dnf update. Most of our servers are Alma Linux.
We've had two instances recently where significant bugs have been released which has caused a…

shaneoh
- 414
- 3
- 7
- 19
1
vote
2 answers
Yum installation corrupts lib on Redhat Ubi8
I'm working on a Redhat Ubi8-minimal Container. My goal is to install an .rpm from file together with its dependencies. Ubi8-minimal only provides microdnf which cannot install local .rpm's. So I installed yum using microdnf install yum which runs…

ThomasH
- 121
- 7
1
vote
0 answers
dnf update with nobest option
I've got following error during update:
Error:
Problem: cannot install the best update candidate for package glibc-gconv-extra-2.28-167.el8.x86_64
nothing provides glibc-common = 2.28-181.el8 needed by…

msr
- 33
- 1
- 2
- 11
1
vote
2 answers
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 are the system PHP configured with /etc/php.ini --…

chewykernel
- 21
- 1
- 1
- 5
1
vote
1 answer
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 do that? The doco on the puppet website is…

tink
- 1,035
- 11
- 20
0
votes
4 answers
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. Also I assume its the config of dnf ?
I would be very…

Human
- 115
- 1
- 7
0
votes
1 answer
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 will receive it from the cache. I'm using squid for…

Jack Linton
- 1
- 2
0
votes
1 answer
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 group install lxde-desktop' which appears to…

user3413723
- 151
- 5
0
votes
1 answer
Installing redis 7.0 from remi-modular repo
This might be blatantly obvious, but I cannot install a package from the remi-modular repository, despite having added the repo file in the /etc/yum.repos.d/ and validating it.
I have attempted clearing all the repo cache on the system and also ran…

Seymour B
- 1
- 1
0
votes
1 answer
Can you force replacement of files marked %config in RPMs
If files in RPMs are marked %config or %config(noreplace)¹, running something like dnf update or yum update will not touch (modified) configuration files, but leave the old ones in place and create .rpmsave or .rpmnew files instead.
Is it possible…

Lars Kiesow
- 101