Ask Your Question
0 Cannot Be Found DNF Traceback Error

asked 2016-04-25 07:23:34 -0500

Chambers3000 gravatar image

Hello Fedora,

I am having a problem that all began after updating to Kernel 306 (about a week ago). At first I was having issues with Gnome "Something has gone wrong". Flash forward, remove Nvidia using nvidia-uninstall, revert to nouveau driver. Everything is a go - so I reblacklist nouveau and remove the xorg-x11-nouveau package but now I get hung up on the Fedora F logo. I can alt ctrl F4, login as root and when I try to dnf install xorg-x11-nouveau. I get the below error:

Traceback (most recent call last): File "/usr/bin/dnf", line 56, in <module> from dnf.cli import main File "/usr/lib/python3.4/site-packages/dnf/", line 31, in <module> import dnf.base File "/usr/lib/python3.4/site-packages/dnf/", line 26, in <module> from dnf.comps import CompsQuery File "/usr/lib/python3.4/site-packages/dnf/", line 29, in <module> import dnf.util File "/usr/lib/python3.4/site-packages/dnf/", line 31, in <module> import librepo File "/usr/lib64/python3.4/site-packages/librepo/", line 1001, in <module> import librepo._librepo ImportError: cannot open shared object file: No such file or directory

So - I run locate libidn and find listed in /usr/var/* so it is there. I even thumbdrived the original libidn rpm and it will not install claiming the package is already there. Yum-depracated does not exist in this Fedora build, so any passing to yum only ends up back to a dnf command. Also, wget appears to need this library and reports that same "ImportError: Cannot open shared object file: No such file or directory"....

Does anybody have any advice or additional things to try. I really want to recover this build. I have 6.5TB hard disk and my environment was just getting tweaked to my likening when all this went down.

edit retag flag offensive close merge delete


You should have four files that match :


each is a symlink to the respective; all must exist. I'm guessing that nvidia-uninstall removed things it thought it had provided; this is why it is better to use a packaged version of the nvidia driver. Once you get the system functional, please look for any question about nvidia drivers here for a better way.

randomuser gravatar imagerandomuser ( 2016-04-25 08:10:44 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-04-26 09:29:40 -0500

Chambers3000 gravatar image

updated 2016-04-26 18:06:28 -0500

Okay this item is solved. Get the RPM file directly from fedora at the link: . Download both the rpm libidn-1.32-1.fc23.i686.rpm and libidn-devel-1.32-1.fc23.i686.rpm. Enter Root rpm -ivh libidn-1.32-1.fc23.i686.rpm

rpm -ivh libidn-devel-1.32-1.fc23.i686.rpm


Viola everything back to normal.

edit flag offensive delete link more

answered 2016-04-25 11:27:25 -0500

genodeftest gravatar image

To fix your issue, try reinstalling the libidn package. And as "randomuser" suggested: Don't use the nvidia installer, it is broken. Try nvidia modules from rpmfusion instead.

edit flag offensive delete link more

Question Tools


Asked: 2016-04-25 07:23:34 -0500

Seen: 987 times

Last updated: Apr 26 '16