dnf broken - now what??

Neal Becker ndbecker2 at gmail.com
Mon Oct 19 23:40:24 UTC 2015


Ed Greshko wrote:

> On 10/20/2015 07:27 AM, Neal Becker wrote:
>>  dnf
>> Traceback (most recent call last):
>>   File "/bin/dnf", line 35, in <module>
>>     from dnf.cli import main
>>   File "/usr/lib/python2.7/site-packages/dnf/__init__.py", line 31, in
>> <module>
>>     import dnf.base
>>   File "/usr/lib/python2.7/site-packages/dnf/base.py", line 26, in
>>   <module>
>>     from dnf.comps import CompsQuery
>>   File "/usr/lib/python2.7/site-packages/dnf/comps.py", line 29, in
>>   <module>
>>     import dnf.util
>>   File "/usr/lib/python2.7/site-packages/dnf/util.py", line 31, in
>>   <module>
>>     import librepo
>>   File "/usr/lib64/python2.7/site-packages/librepo/__init__.py", line
>>   1001,
>> in <module>
>>     import librepo._librepo
>> ImportError: libidn.so.11: cannot open shared object file: No such file
>> or directory
>>
> No problem here on a fully updated F22 system.  You didn't mention what
> you were running....
> 
> But at the end we see "libidn.so.11: cannot open shared object file".  Is
> it really missing?
> 
>  [egreshko at meimei ~]$ locate libidn.so.11
> /usr/lib/libidn.so.11
> /usr/lib/libidn.so.11.6.15
> /usr/lib64/libidn.so.11
> /usr/lib64/libidn.so.11.6.15
> 
> The package libidn provides this....
> 
> 
No idea how, but somehow libidn.x86_64 was missing (this is x86_64 fedora 22 
system).

I managed to d/l the rpm on another machine, and then use rpm -i.  Guess 
it's OK now.




More information about the users mailing list