LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dependency: missing libnautilus.so.2 - but it's there (https://www.linuxquestions.org/questions/linux-software-2/dependency-missing-libnautilus-so-2-but-its-there-358921/)

sonaural 08-31-2005 03:02 PM

dependency: missing libnautilus.so.2 - but it's there
 
I'm updating with yum (fc3, i386) and I receive this dependency error:

Error: Missing Dependency: libnautilus.so.2 is needed by package nautilus-media

This happens when I
# yum groupupdate "GNOME Desktop Environment"

Strange that libnautilus.so does exist as a link to libnautilus.so.2.0.0

0 lrwxrwxrwx 1 root root 20 Aug 12 15:49 /usr/lib/libnautilus.so -> libnautilus.so.2.0.0
0 lrwxrwxrwx 1 root root 20 Aug 12 15:49 /usr/lib/libnautilus.so.2 -> libnautilus.so.2.0.0
76 -rwxr-xr-x 1 root root 71832 Oct 18 2004 /usr/lib/libnautilus.so.2.0.0

I googled this problem, and others have it with no (posted) resolution. I assume that my rpm db doesn't know about libnautilus. True?

What can I do about this?

thanks,

jailbait 08-31-2005 09:52 PM

"I assume that my rpm db doesn't know about libnautilus. True?"

You can check whether or not libnautilus.so.2 is registered in your rpm data base with this command:

rpm -q --whatprovides /usr/lib/libnautilus.so.2

"What can I do about this?"

If /usr/lib/libnautilus.so.2 is not in your rpm data base you can reinstall nautilus-2.8.2-1.1.fc3.nr.i386.rpm which I think is the package that provides libnautilus.so.2

http://rpm.pbone.net/index.php3/stat....i386.rpm.html

If there is an error in /usr/lib/libnautilus.so.2 where it provides the file but does not register it in the rpm data base then you could try installing the nautilus-media rpm package using the command line rpm with the --nodeps option. See:
man rpm

----------------------------------
Steve Stites

sonaural 09-01-2005 12:37 AM

Thanks for the help, Steve
Quote:

You can check whether or not libnautilus.so.2 is registered in your rpm data base with this command:
rpm -q --whatprovides /usr/lib/libnautilus.so.2
I did this and received:
nautilus-2.8.2-1.1.fc3.nr
Quote:

"What can I do about this?"

If /usr/lib/libnautilus.so.2 is not in your rpm data base you can reinstall nautilus-2.8.2-1.1.fc3.nr.i386.rpm which I think is the package that provides libnautilus.so.2
I actually removed nautilus and reinstalled it twice with synaptic. But, absolutely no change.
Then, I did it manually as you suggested from:
http://rpm.pbone.net/index.php3/stat....i386.rpm.html

and same result: nada change
Quote:

If there is an error in /usr/lib/libnautilus.so.2 where it provides the file but does not register it in the rpm data base then you could try installing the nautilus-media rpm package using the command line rpm with the --nodeps option. See:
man rpm
I went ahead and removed nautilus-media and installed the rpm manually.
Then tried
yum groupupdate "GNOME Desktop Environment"
again, same problem:
Error: Missing Dependency: libnautilus.so.2 is needed by package nautilus-media
It doesn't appear that I have any problems installing the old nautilus or nautilus-media. Maybe it's updating to gnome 2.10 that seems to be the problem.
Plus, I don't see anywhere that nautilus-media will be updated in the "yum update..." process.

Since the file libnautilus.so.2 is in the rpm db (right? from above) this is strange... is it not?
Or, am I totally wacked out here....
Any ideas welcome!

jailbait 09-01-2005 01:24 AM

"Since the file libnautilus.so.2 is in the rpm db (right? from above) this is strange... is it not?"

Yes. The file is registered in the data base and the rpm causes an error message saying the file is not there. I strongly suspect that this is a bug in the way the the nautilus-media rpm package is constructed.

"I went ahead and removed nautilus-media and installed the rpm manually."

A second problem to my mind is why yum is trying to reinstall nautilus-media when the correct version is already there. Perhaps nautilus-media did not correctly post its version number in the rpm data base. Use this command to see what version of nautilus-media is registered in the rpm data base:

rpm -qi nautilus-media

If that command says that nautilus-media is installed but gives an old version number then you probably have a mixture of two installs registered in the rpm data base. If that is the case then you need to do multiple removals to get rid of fragments of multiple versions. You issue this command:
rpm --nodeps -e nautilus-media
You keep repeating this command until you get the error message that nautilus-media is not installed. Then install the correct version of nautilus-media.

"It doesn't appear that I have any problems installing the old nautilus or nautilus-media. Maybe it's updating to gnome 2.10 that seems to be the problem.
Plus, I don't see anywhere that nautilus-media will be updated in the "yum update..." process."

If yum is not attempting to install nautilus-media but you are getting the error message from some other rpm package then I haven't a clue what package is giving the error message.

------------------------------
Steve Stites

sonaural 09-01-2005 10:03 AM

Quote:

"Since the file libnautilus.so.2 is in the rpm db (right? from above) this is strange... is it not?"

Yes. The file is registered in the data base and the rpm causes an error message saying the file is not there. I strongly suspect that this is a bug in the way the the nautilus-media rpm package is constructed.

"I went ahead and removed nautilus-media and installed the rpm manually."

A second problem to my mind is why yum is trying to reinstall nautilus-media when the correct version is already there. Perhaps nautilus-media did not correctly post its version number in the rpm data base. Use this command to see what version of nautilus-media is registered in the rpm data base:

rpm -qi nautilus-media
This is what I recv. Looks fine to me:

# rpm -qi nautilus-media
Name : nautilus-media Relocations: (not relocatable)
Version : 0.8.1 Vendor: Red Hat, Inc.
Release : 3 Build Date: Thu 14 Oct 2004 04:36:50 PM PDT
Install Date: Wed 31 Aug 2005 10:09:38 PM PDT Build Host: tweety.build.redhat.com
Group : User Interface/Desktops Source RPM: nautilus-media-0.8.1-3.src.rpm
Size : 578074 License: LGPL
Signature : DSA/SHA1, Wed 20 Oct 2004 11:09:09 AM PDT, Key ID b44269d04f2a6fd2
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : A Nautilus media package with views and thumbnailers.
Description :
This package contains a Nautilus view for audio using GStreamer.


The file I installed was:
nautilus-media-0.8.1-3.i386.rpm
Quote:

If that command says that nautilus-media is installed but gives an old version number then you probably have a mixture of two installs registered in the rpm data base. If that is the case then you need to do multiple removals to get rid of fragments of multiple versions. You issue this command:
rpm --nodeps -e nautilus-media
You keep repeating this command until you get the error message that nautilus-media is not installed. Then install the correct version of nautilus-media.
That doesn't appear to be the case.
Quote:

If yum is not attempting to install nautilus-media but you are getting the error message from some other rpm package then I haven't a clue what package is giving the error message.
The only error that I recv when trying to update Gnome desktop is:
Error: Missing Dependency: libnautilus.so.2 is needed by package nautilus-media

Doesn't this seem strange?

sonaural 09-01-2005 05:43 PM

BTW, I checked the gnome bugzilla db and didn't find anything related to this issue under nautilus.
although, I really don't know what I should be searching for. It might be the say the rpm is constructed?)


All times are GMT -5. The time now is 01:24 PM.