Questions tagged [dnf]

DNF(Dandified Yum) is the next upcoming major version of Yum, a package manager for RPM-based Linux distributions. It roughly maintains CLI compatibility with Yum and defines strict API for extensions and plugins.

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

Does dnf work with all the latest data installed/updated got through yum?

Through Virtual Box was installed Fedora Workstation 36. It for experimental purposes. About package/repository management there are two options yum and dnf where the latter is preferred over the ...
user avatar
0 votes
1 answer
14 views

Where to find pstreams-devel package for Rocky Linux 8 (EPEL)?

It seems there is no pstreams-devel package in Rocky Linux 8. I was wondering why it has not been included and if there is a way to get it from some extra repository? The last reference to it that I ...
user avatar
  • 300
3 votes
1 answer
316 views

What is the link between g++ and gcc-c++ in Fedora's DNF repositories?

On Fedora 35: # dnf install g++ Last metadata expiration check: 0:07:14 ago on Fri May 6 09:44:09 2022. Package gcc-c++-11.3.1-2.fc35.x86_64 is already installed. Dependencies resolved. Nothing to ...
user avatar
0 votes
0 answers
12 views

dnf cannot find bashdb on fedora 34 arm version

I'm running arm version of fedora 34 using parallels on a m1 Mac mini. However, when I tried sudo dnf install bashdb, it complains the package is not found. I also tried to download the tar files and ...
user avatar
  • 1
1 vote
1 answer
392 views

Fedora transaction test error on dnf update: file "conflicts"

I am trying to update Fedora using sudo dnf update. It lists the packages to be updated, downloads them, but then fails with this message: Running transaction check Transaction check succeeded. ...
user avatar
  • 11
0 votes
0 answers
18 views

What's the best way to upgrade Go to 1.18 on Alma Linux?

I need to upgrade the version of Go on my Alma Linux 8 box from the installed version 1.16 to the latest 1.18. There are several tutorials on how to install, but I haven’t found any for upgrade ...
user avatar
  • 103
0 votes
1 answer
17 views

Fedora stuck on running scriplet: systemd-libs

I used the dnf update command and after some time this happened. It's been like this for half an hour. Not only that, but I can't move my mouse, press any buttons, open something else, the computer is ...
user avatar
  • 1
0 votes
1 answer
30 views

I need help with an Alma Linux error with dnf: "There are no enabled repositories..."

I have a new install of Alma Linux 8 and I'm having a problem figuring out how to be able to install packages. When I run dnf, I get: Error: There are no enabled repositories in "/etc/yum.repos.d&...
user avatar
  • 103
1 vote
0 answers
36 views

Configure dnf to use DNS-over-HTTPS (DoH) without using systemd-resolved

Is there a way to configure dnf to use DNS-over-HTTPS (DoH) without using systemd-resolved or a proxy (i.e. dnscrypt-proxy)? I dont like have local servers running on desktops (even on loop back ...
user avatar
0 votes
1 answer
61 views

How to tell "dnf search" to list only matches in the pacakge name (or name and summary), but not only in the summary?

On RHEL/CentOS the package manager dnf can search for strings in the names and summaries of packages. How can I tell it to list only matches in the name (or in name and summary), but not in the ...
user avatar
  • 315
1 vote
1 answer
92 views

How to mark packages as manually installed with DNF

I'm looking for the equivalent of running apt install with a package that came pre-installed on the system or was automatically installed as a dependency of another package. apt then simply marks that ...
user avatar
2 votes
1 answer
422 views

Conflicting requests after update to CentOS 9 Stream from 8

I have a CentOS 8 system that I have decided to upgrade to CentOS 9 and this is not offically supported. I did however find some directions on doing this a few pages into a Google search on Github. ...
user avatar
  • 1,859
0 votes
0 answers
78 views

How to install php 8 to aarch64 oracle linux?

Since official Oracle Linux only support up to 7.4 and Remi repo also doesn't support aarch64 , how to install PHP 8 to aarch64 oracle Linux?
user avatar
0 votes
1 answer
94 views

Setting up DNF on Yocto

I am using PetaLinux (or Yocto) as my systems OS. I built the image and have dnf as my package manager. However, when I try to install something, I get the error message: Error: There are no enabled ...
user avatar
  • 101
0 votes
2 answers
56 views

Install Yum/Dnf in a Virtualenv

I've created a Virtualenv (with python3.6) and want to install yum/dnf package in that environment. Is there any way to do that? As import dnf or import yum giving me error in that environment -> ...
user avatar
  • 13
0 votes
0 answers
23 views

Installed app does not show up on the gnome dashboard

I was messing with flatpak and dnf ( removing and installing and testing qutebrowser) and now i can't add qutebrowser to my favorites( im using gnome) and i cant find it as an app but i can run it ...
user avatar
0 votes
1 answer
36 views

setarch i686 with builddep on fedora 35 can't find repositories

Want to install 32-bit build dependencies on Fedora 35, but fails, should this be possible? Is there a way to resolve it? [root@fedora etc]# setarch i686 dnf builddep wine-devel enabling fedora-source ...
user avatar
0 votes
0 answers
50 views

Duplicate GPG key CentOS 8

If I run dnf check I get the following message: centos-gpg-keys-1:8-2.el8.noarch is a duplicate with centos-gpg-keys-1:8-3.el8.noarch How do I get rid of centos-gpg-keys-1:8-2.el8.noarch, I've found ...
user avatar
0 votes
1 answer
38 views

How do you download a RPM by name and version, using Python or terminal?

I need to download .rpm files for particular packages by specifying the package name and version. Such as "libX11-1.5.99.902". I've been looking online to find a way to query & download ....
user avatar
0 votes
1 answer
79 views

Running dnf update on Fedora returns conflicts for MongoDB

I'd appreciate some advice resolving the following conflict with MongoDB install on my Fedora Workstation. I've added MongoDB as a custom repo and get the following output in the terminal when running ...
user avatar
0 votes
0 answers
28 views

VS Code Download Error

I am using Centos and I get this error message on trying to download the vs code for linux. I have tried updating the system but still no progress.Please help. Total download size: 108 M Installed ...
user avatar
  • 37
0 votes
1 answer
72 views

How to remove commands installed through the "command-not-found" prompt

On Fedora 35, if I type in a command that is not installed, like mu, then I get a prompt that offers to install it for me, i.e. mu bash: mu: command not found... Install package 'maildir-utils' to ...
user avatar
0 votes
1 answer
89 views

Updating packages on CentOS via dnf module list using https?

I have a new Centos 8 installation and am trying to use dnf to install the packages I need. Company rules (and common sense, honestly) is that any outgoing traffic needs to be done over HTTPS. However ...
user avatar
  • 123
2 votes
1 answer
545 views

Errors during downloading metadata for repository 'epel'

What specific syntax must be changed in the cloud-init startup script excerpt below in order to handle the error message shown below by retrying something else until it correctly works without ...
user avatar
  • 5,064
2 votes
1 answer
207 views

Dnf/Yum repository install on AIX 7.1 ImportError: 0509-022/0509-150 libcrypto

I am trying to create a Yum/Dnf Repository for an offline AIX 7.1 and I've downloaded all the repos by using the reposync on a linux machine that was connected to the internet. I've installed the Dnf ...
user avatar
0 votes
1 answer
34 views

Does sudo dnf install dnf-plugins-core -y affect all users?

I'm a newbie to Fedora and a novice at Linux in general, but I just want to know whether I have to run that command in every different user account: I have three, a root user, and two others for some ...
user avatar
  • 1
1 vote
2 answers
734 views

Can't install Certbot for Apache on CentOS Stream 9 (python3-certbot)

On Centos Stream 9, when I try to install certbot (sudo yum install certbot) into the server it returns: Error: Problem: package certbot-1.22.0-1.el8.noarch requires python3-certbot = 1.22.0-1.el8, ...
user avatar
0 votes
0 answers
31 views

DNF system-upgrade reboot does not trigger upgrade (Fedora 33 to 34)

Trying to upgrade from Fedora 33 to F34, following the Fedora docs and the upgrade does not start after reboot or even after a shutdown and fresh start. I've repeated the process more than four times, ...
user avatar
  • 1
0 votes
1 answer
167 views

How to easily remove old kernels with DNF under Mageia?

As installonly_limit 3 in etc/yum/yum.conf and in etc/dnf/dnf.conf didn't seem to have any effect under Mageia even by running dnf autoremove, I tried to run dnf remove $(dnf repoquery --installonly --...
user avatar
  • 101
1 vote
2 answers
421 views

nothing provides selinux-policy-base >= 3.14.3-80.el8_5.2

I am trying to install snap on my rhel 8.4 machine and it throws the following error Error: Problem: package snapd-2.54.1-1.el8.x86_64 requires snapd-selinux = 2.54.1-1.el8, but none of the ...
user avatar
-3 votes
1 answer
135 views

yum errors with 404

I am running RHEL 7.6 on virtualbox and have been trying to install dnf using yum. yum install dnf errors with the following: Not only this, other commands like yum check-update, yum list etc also ...
user avatar
0 votes
1 answer
53 views

created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/ Fedora

Whenever I try to install or update any package it starts to update the brave browser created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/ I just removed the ...
user avatar
0 votes
1 answer
84 views

Find why a specific package is installed in a big chain of dnf dependencies

I'm trying to do a 'dnf update' and getting a bunch of errors like: Problem 2: cannot install both libinput-1.16.3-2.el8.x86_64 and libinput-1.16.3-1.el8.x86_64 - package libinput-devel-1.16.3-1....
user avatar
0 votes
0 answers
49 views

Find the url of an rpm for specific stream

I can find the URL for a rpm using this: dnf download --urls nginx This finds the URL of the rpm for the enabled stream. I can enable that stream then find the URL as usual but i should not change ...
user avatar
0 votes
1 answer
162 views

Can dnf scan for missing or corrupted files in packages?

After removing a number of packages' directories, dnf still believes those packages are installed. Although we may have some idea, we are not sure exactly which packages are affected. Can dnf check ...
user avatar
0 votes
1 answer
40 views

why would my /opt symlink get removed and created as dir after running dnf update

I am running an Oracle Linux 8.5 server, we have a symlink /opt pointing to another location (/etc/) but after running: dnf update, the symlink was not there anymore and a directory /opt (empty) was ...
user avatar
  • 3
3 votes
2 answers
960 views

How to get epel-release / epel-release-next / powertools in CentOS Stream 9

I have recently installed CentOS Stream 9 and I'm finding that I can't get epel to work properly following any instructions I can find online. Resources for CentOS 8 / CentOS Stream 8 don't work and ...
user avatar
1 vote
1 answer
312 views

Install KDE on CentOS 8

I'm trying to install KDE on CentOS 8 but I'm not able to. I recently had problems updating packages and run dnf --refresh --best --allowerasing update. This removed KDE an all related apps (yeah, I ...
user avatar
  • 201
0 votes
0 answers
381 views

dnf update not working in CentOS

Unable to run dnf update command in CentOS8. Below error occurred while, Failed to open log file: /var/log/hawkey.log.
user avatar
0 votes
2 answers
8k views

Unable to install yum / dnf on Ubuntu 20.04.3 LTS

I tried the following with root user but unable to install yum on my cloud server. I already read a similar issue here: Installing yum on Ubuntu root@localhost:~# lsb_release -a No LSB modules are ...
user avatar
  • 297
0 votes
1 answer
37 views

How may i get /var/log/dnf.log to log times in my system timezone?

How may i get /var/log/dnf.log to log times in my system timezone? Neither man dnf nor google have yet enlightened me on this. Centos8/rhel8.
user avatar
  • 51
0 votes
0 answers
33 views

dnf install php-zip conflicting requests

i'm try install php-zip in fedora 34 He tells me there is a conflict: Problem: conflicting requests - nothing provides libzip(x86-64) >= 1.8.0 needed by php-pecl-zip-1.19.5-1.fc34.remi.8.0....
user avatar
  • 1
1 vote
0 answers
61 views

dnf-automatic hangs on an irrelevant RPM post-install script - can I set a timeout or kill it automatically?

I have noticed that on a server a nightly dnf-automatic script for automatic system updates has been running for a few weeks instead of exiting after a few minutes. It hangs on these commands: # ps ...
user avatar
  • 7,487
2 votes
1 answer
579 views

dnf breaks when changing symlink from python3.9 to 3.10

I am completely baffled. on Fedora34 and python 3.9.7 dnf works as it should. I have changed to the /usr/bin directory for this. If I change the symlink to 3.10 as in the following, dnf breaks: ➜ ...
user avatar
0 votes
0 answers
52 views

Instalilng security patches on CentOS 9 /RHEL 8/Rocky/Alma - dnf-automatic vs "dnf --security update"

In RockyLinux/AlmaLinux/CentoOS8 I have been using "dnf-automatic" to try to get security patches installed. It will install some patches. But afterwards, I can see that if I run "dnf --...
user avatar
0 votes
0 answers
42 views

Centos / almalinux how to rebuild glibc and gcc (DNF broken) and "no acceptable C compiler found in $PATH"

My dnf / yum is broken yum update -y Traceback (most recent call last): File "/usr/bin/dnf", line 57, in <module> from dnf.cli import main ModuleNotFoundError: No module named '...
user avatar
  • 105
4 votes
1 answer
911 views

How can I list weak dependencies with dnf?

For example, if I initiate installation of the Greek language meta-package, I am prompted to install its dependencies and weak dependencies. $ LC_ALL=C sudo dnf install langpacks-el [sudo] password ...
user avatar
0 votes
1 answer
219 views

how can I get parsable output from dnf list installed?

dnf list installed output is human readable but not very friendly to machine parser. is there a command allow us get the installed package in json or csv or other parser friendly format? Does dnf have ...
user avatar
  • 930
1 vote
1 answer
64 views

how do I stop dnf from fetch remote metadata during dnf list or other subcommand that only need local database? [duplicate]

From time to time when I call dnf it will try to download remote metadata regardless what subcommand I am calling, I wonder how can I disable this? It takes very long to get all metadata but actually ...
user avatar
  • 930
-1 votes
1 answer
358 views

RHEL8 - Missing yum.log from /var/log/

I am not seeing the log file for yum in the log directory. This is a new VM install. Any assistance in getting thie file created and logs recorded is greatly appricated.
user avatar
  • 1

1
2 3 4 5
7