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.

55 questions
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
  • 404
  • 3
  • 7
  • 18
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
  • 6
1
vote
1 answer

DNF Enable/Disable in Puppet

I'm trying to get PHP 7.4 installed on my RHEL 8 system with Puppet, but can't get the package declaration right to disable php and enable php:7.4 with dnf. The Puppet Package documentation doesn't describe well, and I wasn't able to learn anything…
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,036
  • 11
  • 19
1
vote
1 answer

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…
robsch
  • 137
  • 7
1
vote
1 answer

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.4…
Steve Sether
  • 133
  • 7
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
  • 6
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…
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
  • 131
  • 5
0
votes
0 answers

Why is dnf using the wrong URLs?

I'm using Rocky 9. Yesterday, dnf was working perfectly fine. Today, it's failing with this: tal@nuc ~> sudo dnf upgrade Docker CE Stable - x86_64 …
John
  • 141
  • 4
0
votes
1 answer

Unable to show available updates with Ansible and dnf check-update

I have the following Ansible code for checking available updates on a Rocky linux server and showing them to user: - name: Check updates ansible.builtin.command: cmd: dnf check-update register: updates - name: Show result …
Madoc Comadrin
  • 540
  • 3
  • 11
  • 28
0
votes
0 answers

Why is dnf installing modularity rpms in non-module install on Rocky

For any reason when installing packages with dnf on Rocky, there are rpms included which belong to some modules which I do not have enabled. In fact I have no modules enabled and I want top stick with the traditional rpms only. Is there a way to…
user39950
  • 101
  • 2
0
votes
0 answers

AppStream dependencies in offline kickstart medium

I have the requirement to provide an installation medium based on Rocky minimal, which contains several packages out of the AppStream repo (but not all, due to media size constraints). To accomplish this, I currently run Rocky minimal, and execute…
user39950
  • 101
  • 2
0
votes
0 answers

Cannot install VLC video player on Alma Linux due to error in libfluidsynth.so.2 library

Here is the error message I get wb_admin@wb-almalinux dnf]$ sudo dnf install vlc Last metadata expiration check: 16:04:02 ago on Mon 18 Jul 2022 11:18:38 PM CDT. Error: Problem: conflicting requests - nothing provides…
gsb005
  • 111
  • 1
  • 1
  • 5
0
votes
1 answer

Can't do any updates after upgrade to Centos 8

[_admin_@wb_centos ~]$ sudo dnf upgrade CentOS Linux 8 - BaseOS 0.0 B/s | 0 B 00:00 CentOS Linux 8 - AppStream 0.0 B/s | 0 B 00:00 Failed to synchronize cache for repo 'baseos',…
gsb005
  • 111
  • 1
  • 1
  • 5