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

How to install Google Tessaract on CentOS 8?

There's a way as mentioned here in official wiki for Tesseract. However it's failing with the following error. Downloading Packages: [MIRROR] tesseract-4.1.0-3.2.x86_64.rpm: Curl error (28): Timeout ...
0
votes
1answer
212 views

dnf mentions excluded packages while they are not marked as excluded

I just installed centos8. I try to install the latest version of docker-ce: dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo dnf install docker-ce then dnf tells ...
0
votes
1answer
26 views

dnf : how to install local packages

I just download inkscape with : sudo dnf download inkscape --resolve How may I install this package from the downloaded files now ? The man page does not even include the download command.
0
votes
0answers
19 views

Handle command-not-found without PackageKit

I have uninstall PackageKit on Fedora, because I didn't need the bloat & race-conditions with the command-line. Since then, command-not-found fails with the following: ❯ foo bash: foo: command ...
-1
votes
2answers
42 views

-y in Linux for example dnf -y install samba [duplicate]

what does the -y mean in linux. this symbol is always used after a command for example dnf -y install httpd. Everywhere I have looked I cannot find a definite answer. Please help
2
votes
0answers
18 views

How to automate recompiling with custom patches for repository sources when updates are available?

I have some patches that I want to apply to various software that I run which add customization that is unlikely to be accepted or has been rejected upstream. I can already download the source for ...
0
votes
0answers
31 views

“dnf history undo” fails with “no package @”

When trying to uninstall KDE with dnf history undo, I get the following: Install libgit2-0.27.8-1.module_f30+2959+693db98d.x86_64 @fedora-modular Install NetworkManager-libreswan-...
0
votes
1answer
15 views

dnf install or update / upgrade in one command

yum install package means: if package is not yet installed, install the latest version if package is already installed, update to the latest version dnf install package means: if package is not yet ...
0
votes
0answers
257 views

Is this package dependency conflict with liberation-fonts a bug?

Google's google-chrome-stable requires the following dependency: liberation-fonts 1:2.00.5-3.fc30 updates Fedora's Wine package requires the following dependency: liberation-narrow-fonts 1.07.6-1....
0
votes
0answers
18 views

Why did my package manager resolve a different set of depenencies when reinstalling a package?

I tried to remove the gnome-themes-extra package which also removed a few dependencies: ================================================================================ Package Arch ...
1
vote
1answer
37 views

update google chrome on fedora

I am trying to upgrade chrome on my fedora 30 install. Currently it is stuck on "Version 66.0.3359.117 (Official Build) (64-bit)" I've removed it and reinstalled I am using this repo: [google-chrome] ...
1
vote
1answer
43 views

dnf what build requires package foo?

How can I find out which packages have a build requirement on some package foo? I'm aware of the following command dnf repoquery --alldeps --recursive --whatrequires foo in order to query all ...
1
vote
1answer
23 views

dnf showing unformatted strings

I'm assuming I've changed a setting, but I have no idea what and I haven't been able to find an answer via google. When I run dnf, it prints the raw or unformatted strings with the format values: ...
3
votes
2answers
550 views

Fedora 30 dnf upgrade problem

I'm trying to upgrade a freshly installed Fedora 30 with sudo dnf update and sudo dnf upgrade but I'm running into issues, here is the partial output: .... [MIRROR] util-linux-2.33.2-2.fc30.x86_64....
0
votes
1answer
129 views

yum or dnf update with `--skip-broken` on just one repo?

Is there a way to run yum update --skip-broken Such that only missing packages from one repository are skipped? As a third party that distributes RPM packages we would like our broken packages to ...
0
votes
0answers
35 views

How to use more than 1 mirror on update?

I want to upgrade from Fedora 28 to Fedora 30 but I always reach the next error during the upgrade command execution (dnf system-upgrade download --releasever=30): [MIRROR] source-highlight-3.1.8-24....
0
votes
1answer
14 views

Fedora configuration for latest sofware

I just switch from debian stable to fedora 30 to have more up-to-date software, but it seems I didn't configure it in the right way Example octave In debian I installed octave via flatpak, its ...
1
vote
2answers
85 views

Fedora stuck at starting dnf python 3 problem

after some conda packages installation, I restarted the computer and Fedora got stuck at starting. I booted in maintenance mode, tried dnf update just to get some clue, and got an error in /usr/lib/...
2
votes
3answers
108 views

How to topologically sort installed rpm packages?

I want to sort topologically, according to dependencies, all installed rpm packages on my Fedora with most required packages to be on top (for example glibc) and least required packages to be on ...
1
vote
1answer
96 views

Can we use both dnf and Microdnf simultaneously?

I am getting below error message when I use dnf and microdnf simultaneously to install/remove packages. error: failed loading RPMDB
0
votes
0answers
68 views

Understanding the meaning of @ in package management [duplicate]

I discovered tmux is installed on my system. In order to find out if it was preinstalled with fedora I ran the command dnf info tmux which prints out: Installed Packages Name : tmux Version ...
1
vote
1answer
62 views

Fedora 29 upgrading 1400 packages — is it safe to shut down in the middle of the upgrade?

Is it safe to stop this in the middle? I am need to leave soon and have to shutdown my system ( I am working via USB at a public computer)
0
votes
0answers
31 views

How to list all packages marked as 'group'

The dnf command is able to mark packages as install, remove or group [1]. To list all packages marked as install, the command dnf repoquery --userinstalled [2] can be used. My question is: Is there a ...
0
votes
0answers
815 views

Failed to synchronize cache for repo

I'm doing my best to install THIS to my server. All of the instructions are for Ubuntu I'm going through and finding fedora commands to replace Ubuntu's. I've gotten to "Install and setup ARM" Section ...
3
votes
1answer
118 views

How to mark a base package as not user installed while avoiding dnf autoremove?

On a freshly installed Fedora system, base packages such as sudo are not counted as user installed, i.e. dnf repoquery --userinstalled | grep sudo comes back empty. At the same time, these packages ...
1
vote
0answers
133 views

How to remove specify version of kernel, fedora?

I downgrade my kernel to 4.20.16-200.fc29.x86_64 after it got updated to kernel-5.0.4-200.fc29.x86_64. Now when I tried to remove it using dnf, and I am getting this No match for argument: kernel-5.0....
2
votes
1answer
33 views

What utility does rpm --import use to download keys?

I was trying to add brave key to fedora repository. I am behind a http-proxy, so I am unable to connect.I wonder what utility (like wget or curl) does rpm use to download the keys? so that I can add ...
0
votes
1answer
51 views

How RPM and dnf databases are maintained?

Does dnf and rpm uses the same database to store details about installed packages.? Can someone mention the path of database created by rpm and dnf?
2
votes
1answer
578 views

dnf upgrade kernel on Centos 7…

On one install, dnf managed to upgrade that kernel. On a newer machine (installed and upgraded today), it fails. Not sure why… Here is a full run: ; sudo dnf upgrade -y Last metadata expiration ...
6
votes
2answers
958 views

dnf tab completion hangs

Tab completion is hanging when attempting to complete package names. eg dnf info fire[TAB]. How can I fix this? It works in general for bash, and also for completing dnf options, but not for package ...
3
votes
1answer
2k views

Extremely slow dnf

I got a strange issue with extremely slow dnf, to the point where computer freezes for a few seconds during installation of packages. Running Fedora 29, but this is happening for years. Otherwise the ...
2
votes
1answer
433 views

database disk image is malformed with dnf on Fedora 29

I have cross-posted this on ask.fedora.org as I am still uncertain whether this or the other side has the larger Fedora userbase. For a few days now I could not install updates due to this error: # ...
0
votes
0answers
882 views

Fedora 27: Error: Failed to synchronize cache for repo 'updates'

Dears, i have an issue in update the repo for Fedora 27 VM,i faced the bellow error Error: Failed to synchronize cache for repo 'updates' every-time i run any repo command. also, i try the dnf ...
1
vote
0answers
245 views

Curious `dnf check-update` result with Fedora Modular repo

I noticed a curiosity on Fedora 29. When I only enable the repo updates-modular, it says I have an update available for libgit2. When I enable both fedora-modular and updates-modular, it does not. ...
8
votes
1answer
10k views

Fedora 29: Failed to synchronize cache for repo 'fedora-modular'

I upgraded Fedora 27 to 28, worked with it a bit (did not run dnf update) and then upgraded to 29. This morning I tried sudo dnf -v update and I got sudo dnf -v update ...
0
votes
1answer
70 views

How to ingore rpmfusion source repos when downloading source package

I have few rpm repos in my Fedora installation and I've want to download source package and got error that synchronization of rpmfusion-free-updates-source and rpmfusion-nonfree-updates-source failed. ...
1
vote
0answers
459 views

Reverse dependencies to determining the Cause of DNF conflicting packages

I recently tried to update some packages on my (fedora 27, x64) machine, which dnf complains is in conflict. However, I cannot figure out how to get dnf to tell me the cause of the conflict.This ...
0
votes
0answers
70 views

Install a source RPM from Fedora's rpms

I found a great package on Fedora Package Sources. It is hosted as source codes. The specific package is Syncthing, whose official website provides an rpm binary download. But I would like the ...
0
votes
1answer
26 views

dnf short command disappear in dnf4

After dnf 2.6.2, there're short command abbreviation available. But in recent updates such short commands disappeared (I'm not sure which update, but ever since I upgraded to Fedora 29, those short ...
2
votes
3answers
5k views

Safely uninstalling GNOME desktop environment on Fedora 29

This question is similar to What is secure to remove from GNOME Desktop => GNOME (but not a duplicate). I want to remove the GNOME desktop environment. Running the proposed command in this ...
9
votes
1answer
2k views

How to use DNF to find out package versions available in a different release of Fedora?

Is it possible to use dnf (or another utility) to search repositories of different releases of Fedora? For instance to search my current release for all versions of a package I can do dnf --...
2
votes
1answer
314 views

Does `dnf upgrade` install new packages if required?

apt upgrade may install additional packages if required. It will never remove packages. (When upgrading the distribution version, a different command is used, which may remove packages). [1] I ...
1
vote
2answers
121 views

Fedora package contains no files?

This is related to a question over at Stack Overflow. The fellow is trying to install a new allocator called tcmalloc which is part of gperftools. We both installed it on Fedora but can't neither of ...
0
votes
1answer
106 views

Dependency tracking and unresolved dependencies

In Fedora when I was playing around with dnf, trying to learn new things (and Linux in general), I noticed the command "dnf repoclosure". Naturally I ran it to see the output. My initial thought was ...
0
votes
1answer
539 views

How do I repair a bad update in Fedora 28?(edited) [closed]

I was updating my laptop when an electrical blackout happene. I restarted and try to use again sudo dnf update, but this happened: The downloaded packages were saved in cache until the next ...
0
votes
1answer
62 views

`dnf` & `yum` list packages by popularity? [closed]

How do I use dnfor yum to list all packages, sorted by popularity (assuming that this is an available feature)? I don't have a rigorous definition of popularity, but a standard metric such as number ...
1
vote
1answer
96 views

How to make DNF download packages according to size? [closed]

In places where a connection is somewhat unreliable, it makes at times sense to download small packages first. I was wondering if and how I could make dnf download packages from smallest to largest. ...
1
vote
1answer
397 views

fedora [Errno 28] No space left on device: '/var/cache/dnf/metadata_lock.pid' // but space are huge

Here is the error message : [root@h2g2w dnf]# dnf update [Errno 28] No space left on device: '/var/cache/dnf/metadata_lock.pid' [root@h2g2w dnf]# here are partitions informations : [root@h2g2w ...
1
vote
1answer
373 views

Why is repo not reinstalling after removing it from /etc/yum.repos.d?

I removed a repo by deleting its file from /etc/yum.repos.d using rm -rf. Then I tried to install the same repo with dnf install but it is not showing up in /etc/yum.repos.d or when I run dnf repolist....
0
votes
1answer
420 views

dnf can't download package from URL

I have a URL which I want to install a package from. Typing su -c 'dnf install http://www.geogebra.org/download/rpm.php?arch=amd64&ver=6' gives the error: rpm.php?arch=amd64 ...