Ask Your Question
1

Dnf - Nothing provides a package

asked 2016-08-10 10:23:14 -0600

stefan.ms gravatar image

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

when i type from terminal

sudo dnf install emacs

i get:

Error: nothing provides libMagickCore-6.Q16.so.2()(64bit) 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

Comments

Can you post the output of sudo dnf repolist?

bitwiseoperator gravatar imagebitwiseoperator ( 2016-08-10 16:25:23 -0600 )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

stefan.ms gravatar imagestefan.ms ( 2016-08-11 02:50:25 -0600 )edit

*updates Fedora 24 - x86_64 - Updates 8,209

stefan.ms gravatar imagestefan.ms ( 2016-08-11 02:50:42 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

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

davidva gravatar image

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

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

Comments

the second line gives: No match for argument: ImageMagick Error: Nothing to do.

stefan.ms gravatar imagestefan.ms ( 2016-08-10 13:15:26 -0600 )edit
0

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

powergame gravatar image

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

Try

   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 http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
edit flag offensive delete link more

Comments

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.

stefan.ms gravatar imagestefan.ms ( 2016-08-10 12:36:16 -0600 )edit

Question Tools

Stats

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

Seen: 3,682 times

Last updated: Aug 10 '16