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.

59 questions
0
votes
1 answer

Fedora Server 38 beta dnf error

After this night my dnf on Fedora 38 broken. Always when I try to install some package or run upgrade command i have output Total 685…
0
votes
1 answer

dnf list available updates for locked packages

With yum versionlock status I can get a list of available updates that are currently blocked by versionlock. With dnf this command doesn't seem to work. I cannot find a dnf command that does the same. Is there perhaps another way? Since dnf does not…
0
votes
0 answers

ubi8 docker image missing packages

I am experimenting the ubi8 as a migration from centos 7 to ubi8 for rhel linux distribution. Not sure if I miss something, but the ubi-8-appstream-rpms and ubi-8-baseos-rpms seem missing a lot of packages. Here is my repolist result (I added epel…
xc2333
  • 21
  • 1
  • 4
0
votes
0 answers

dnf update: Cannot download, all mirrors were already tried without success. (all mirror 404)

I am trying to execute the dnf update command on almalinux 8.7 Before a few hours it worked properly, now all mirror gives 404. I examined the urls, and it seems, that in all repo the checksum in urls are changed. For example dnf update is trying…
g.pickardou
  • 199
  • 12
0
votes
1 answer

dnf doesn't show all updates compared to yum

I had a CentOS 7 machine which I converted to use OEL 7 some time back using the centos2ol.sh script. Today, I gave the command: "dnf upgrade" and it showed be that 17 packages were to be upgraded with 220MB to download. I then selected 'N' to abort…
Hussain Akbar
  • 141
  • 1
  • 4
0
votes
1 answer

How to safely downgrade gcc from 8.5 to 8.4?

I have a CentOS Stream 8 server with a backup application that requires the kernel to be compiled with the same version of gcc. Latest kernel is: 4.18.0-408.el8.x86_64 I inadvertently updated gcc in the course of doing updates, and it's currently:…
location
  • 1
  • 1
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
  • 570
  • 4
  • 11
  • 29
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
  • 6
0
votes
0 answers

dnf: missing library, but does exist

Trying to install libmediainfo with dnf, got an error about missing library that does exist. How to solve this ? Here is dnfoutput: $ sudo dnf install -v libmediainfo --allowerasing DNF version: 4.7.0 cachedir: /var/cache/dnf User-Agent:…
ymudyruc
  • 1
  • 2
0
votes
1 answer

How to deduce remote location of RPM that has been installed?

Suppose I had the following entries in /var/log/dnf.log: elfutils-default-yama-scope noarch 0.185-1.el8 baseos 49 k elfutils-devel x86_64 0.185-1.el8 …
Lucky
  • 101
  • 1
0
votes
1 answer

yum: local repository and modified package

Following up advices to my other question I have set up my local RPM repository on Red Hat 8 machine, placed my private packages in there and am now able to install, update etc. However, there is a problem: one package I added in my private…
Mark
  • 249
  • 1
  • 5
  • 13
0
votes
1 answer

yum: install local RPMs and all local dependencies

I have my locally generated rpm packages (the main package and its dependencies) located in my home directory. The spec file defines dependencies. I'd like to install it with a single yum or dnf command and let it find dependencies in my directory…
Mark
  • 249
  • 1
  • 5
  • 13
0
votes
1 answer

dnf update - dependencies

During update I've encountered following errors yum update Last metadata expiration check: 0:44:43 ago on Mon 11 Apr 2022 06:33:55 AM CEST. Error: Problem 1: package containers-common-2:1-23.module_el8.7.0+1106+45480ee0.x86_64 requires runc, but…
msr
  • 33
  • 1
  • 2
  • 11
0
votes
0 answers

Fedora 35 dnf ignores max_parallel_download in /etc/dnf/dnf.conf

maybe a stupid question but I couldn't find any good hint of what went wrong. Except for this Post - but unfortunately, it is a dead end. ;-( Why DNF is not obeying "max_parallel_downloads" from config file? I am using Fedora as Workstation Version…
terpentin
  • 11
  • 1
0
votes
4 answers

How to install a specific version of PostgreSQL in Red Hat 8?

I'd like to install a specific version of PostgreSQL in RHEL 8 with dnf. To achieve this I followed the PostgreSQL guide : https://www.postgresql.org/download/linux/redhat/ But actually I can only install the last version (12.9) not the 12.4 (the…
mishka
  • 142
  • 2
  • 6