Ask Your Question

Dnf - Nothing provides a package

asked 2016-08-10 10:23:14 -0500 gravatar image

updated 2016-08-10 12:02:12 -0500

when i type from terminal

sudo dnf install emacs

i get:

Error: nothing provides needed by emacs-1:25.1-0.2.rc1.fc24.x86_64

What could the problem be?

I get similar errors for every program I try to install from terminal.

edit retag flag offensive close merge delete


Can you post the output of sudo dnf repolist?

bitwiseoperator gravatar imagebitwiseoperator ( 2016-08-10 16:25:23 -0500 )edit

fedora-spotify negativo17 - Spotify 5 google-talkplugin google-talkplugin 1 rpmfusion-free RPM Fusion for Fedora 24 - Free 352 rpmfusion-free-updates RPM Fusion for Fedora 24 - Free - Updates 241 rpmfusion-nonfree RPM Fusion for Fedora 24 - Nonfree 89 rpmfusion-nonfree-updates RPM Fusion for Fedora 24 - Nonfree - Updates 115 skype-stable skype (stable) 2 gravatar ( 2016-08-11 02:50:25 -0500 )edit

*updates Fedora 24 - x86_64 - Updates 8,209 gravatar ( 2016-08-11 02:50:42 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-08-10 13:03:49 -0500

davidva gravatar image

updated 2016-08-10 13:08:22 -0500

dnf clean metadata && dnf -y reinstall ImageMagick 
dnf -y update && dnf -y install emacs
edit flag offensive delete link more


the second line gives: No match for argument: ImageMagick Error: Nothing to do. gravatar ( 2016-08-10 13:15:26 -0500 )edit

answered 2016-08-10 12:16:20 -0500

powergame gravatar image

updated 2016-08-10 12:20:40 -0500


   dnf search libmagickcore

In my case, this returns:

ImageMagick-djvu.x86_64 : DjVu plugin for ImageMagick

and see what packages exactly provide it.
In case, installing this package does not solve your dependency issue, you should get its source code from the software's website and build it with build instructions given from the author for your specific Linux distribution.

Also, note that many software are not provided by Fedora repositories by default. Just to make sure the problem is not raised by this, add RPMFusion repositories to your system using the following command (for Fedora 22 and later):

su -c 'dnf install$(rpm -E %fedora).noarch.rpm$(rpm -E %fedora).noarch.rpm'
edit flag offensive delete link more


For the dnf search:

"Error: No matches found."

and for the RPMFusion:

Package rpmfusion-nonfree-release-24-1.noarch is already installed, skipping. Package rpmfusion-free-release-24-1.noarch is already installed, skipping.

I really don't know where is the problem. gravatar ( 2016-08-10 12:36:16 -0500 )edit

Question Tools


Asked: 2016-08-10 10:23:14 -0500

Seen: 3,854 times

Last updated: Aug 10 '16