LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-09-2005, 03:33 PM   #1
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Yum dependency: beats me!


I've been trying to update with yum, but a general updated as per cron job fail because of a dependency. So I tried to solve it. Here's what happened.

Code:
[linmix@linmix ~]$ sudo yum update physfs
Password:
Setting up Update Process
Setting up repositories
updates-released          100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
fedora-extras             100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package physfs.i386 0:1.0.1-2.fc4 set to be updated
--> Running transaction check
--> Processing Dependency: libphysfs-1.0.so.0 for package: trigger
--> Finished Dependency Resolution
Error: Missing Dependency: libphysfs-1.0.so.0 is needed by package trigger
trigger? don't see that in the list anywhere.

Code:
[linmix@linmix ~]$ rpm -q trigger
trigger-0.5.1-2.rhfc4.nr
so I have it installed and probably it needs libphysfs-1.0.so.0
Code:
[linmix@linmix ~]$ slocate libphysfs
/usr/lib/libphysfs-1.0.so.0
/usr/lib/libphysfs-1.0.so.0.0.0
I have it on my system. Then why does it complain?
Code:
[linmix@linmix ~]$ sudo yum provides libphysfs
Password:
Searching Packages:
Setting up repositories
updates-released          100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
fedora-extras             100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Importing Additional filelist information for packages
filelists.xml.gz          100% |=========================| 2.9 MB    28:05
updates-re: ################################################## 981/981
Added 401 new packages, deleted 498 old in 28.41 seconds
filelists.xml.gz          100% |=========================| 2.3 MB    28:12
fedora-ext: ################################################## 2436/2436
Added 2436 new packages, deleted 0 old in 22.73 seconds


physfs.i386                              1.0.1-2.fc4            fedora-extras
Matched from:
/usr/lib/libphysfs-1.0.so.1.0.0
/usr/lib/libphysfs-1.0.so.1
libphysfs-1.0.so.1


physfs.i386                              1.0.1-2.fc4            fedora-extras
Matched from:
/usr/lib/libphysfs-1.0.so.1.0.0
/usr/lib/libphysfs-1.0.so.1
libphysfs-1.0.so.1


physfs-devel.i386                        1.0.1-2.fc4            fedora-extras
Matched from:
/usr/lib/libphysfs.a
/usr/lib/libphysfs.so


physfs.i386                              1.0.0-1.rhfc4.nr       installed
Matched from:
/usr/lib/libphysfs-1.0.so.0
/usr/lib/libphysfs-1.0.so.0.0.0
libphysfs-1.0.so.0
So the physfs update will install a new version of libphyfs and trigger needs the old version. But there is no update available for trigger and theoretically both libs could be present in the system without causing havoc, right? The only optoin I can think of is blacklisting physfs, but there must be a more intelligent sollution to lkeep my cronjob operational... care to give me a hint?
 
Old 02-21-2006, 06:16 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Original Poster
Rep: Reputation: 46
OK, I've come a bit further in my understanding of yum and I think I can explain what happened there. Yum complains of dependencies for 2 reasons:
  1. A needed dendency is not available in the active repos.

    This could happen e.g. when you install a package from dag and don't have dries and freshrpms enabled - or fedora-extras. Since these rely on each other to provide dependencies they are not really 'independent' repos but more like a triad

  2. a dependency which needs to be updated to install a new app or update of an already installed app is needed by another app. Updating this dependecy would allow the new app to work, but would break others and so isn't allowed.

In my case the second option applied.

Last edited by linmix; 02-21-2006 at 06:18 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum update dependency problems DJOtaku Fedora 6 12-11-2005 03:56 PM
Correcting a yum dependency issue muppetmaster Fedora 3 11-02-2005 04:28 AM
yum missing dependencY puppet Linux - Software 6 10-26-2005 11:20 AM
Yum dependency problem lucifer623 Fedora 4 10-09-2005 02:51 PM
How to troubleshoot dependency issue please? (Using YUM) davidas Linux - Newbie 2 03-29-2004 07:52 PM


All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration