Ask Your Question

dnf import error:

asked 2016-07-02 00:10:00 -0500

I am a fedora noob who has recently isntalled fedora on my new desktop. The last thing I was doing was installing and removing some software to do some OpenGl programming, mainly gcc, GLEW, and GLFW.

Later I rebooted my computer and could not finish the boot or login. I received some errors: Failed to start Avahi mDNS/DNS-SD Stack, Login Service, firewalld, Accounts Service, Modem Manager, and RealtimeKey Scheduling Policy Service. I rebooted and dropped to the terminal. Attempting to start a service and do an update with dnf received a similar error:

ImportError: cannot open shared object file: No such file or directory

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-07-02 19:37:59 -0500

sergiomb gravatar image
rpm -qf /usr/lib64/ /usr/lib/

expat-2.1.1-2.fc23.x86_64 expat-2.1.1-2.fc23.i686

dnf install expat-2.1.1-2.fc23.x86_64 expat-2.1.1-2.fc23.i686

but remove software have a huge bug with autoremove I advice edit /etc/dnf/dnf.conf and add this line :

edit flag offensive delete link more

answered 2016-07-02 08:06:53 -0500

devhen gravatar image

It depends on what you did while you were trying to install those tools. Whenever possible, you should install through dnf. is provided by the expat package so the first thing I would try is:

sudo dnf reinstall expat

BTW, you can use dnf provides to findout what package provides a particular file. You can use wildcards (*) but they need to be escaped with a backslash. For example:

dnf provides \*/

edit flag offensive delete link more

Question Tools


Asked: 2016-07-02 00:10:00 -0500

Seen: 268 times

Last updated: Jul 02 '16