LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   FC 6 Yum: missing dep required for itself; also can't download. (https://www.linuxquestions.org/questions/fedora-35/fc-6-yum-missing-dep-required-for-itself%3B-also-cant-download-526255/)

01d55 02-06-2007 10:05 PM

FC 6 Yum: missing dep required for itself; also can't download.
 
When I run yum update, I'm told "Error: Missing Dependency: liblzo.so.1 is needed by package transcode" but when I ask whatprovides liblzo.so.1, I get:
Code:

[root]# yum whatprovides liblzo.so.1
Setting up repositories
Reading repository metadata in from local files
Importing additional filelist information



lzo.i386                                1.08-7.fc5            installed     
Matched from:
/usr/lib/liblzo.so.1
/usr/lib/liblzo.so.1.0.0
liblzo.so.1
[root]# yum update lzo
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package lzo.i386 0:2.02-2.fc6 set to be updated
--> Running transaction check
--> Processing Dependency: liblzo.so.1 for package: mplayer
--> Processing Dependency: liblzo.so.1 for package: mencoder
--> Processing Dependency: liblzo.so.1 for package: transcode
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package mencoder.i386 0:1.0-0.69.rc1.lvn6 set to be updated
---> Package mplayer.i386 0:1.0-0.69.rc1.lvn6 set to be updated
--> Running transaction check
--> Processing Dependency: libx264.so.54 for package: mencoder
--> Processing Dependency: libx264.so.54 for package: mplayer
--> Processing Dependency: libdts.so.0 for package: mplayer
--> Processing Dependency: libtwolame.so.0 for package: mplayer
--> Processing Dependency: libavformat.so.51 for package: mencoder
--> Processing Dependency: libtwolame.so.0 for package: mencoder
--> Processing Dependency: libavformat.so.51 for package: mplayer
--> Processing Dependency: liblzo.so.1 for package: transcode
--> Processing Dependency: libdts.so.0 for package: mencoder
--> Processing Dependency: mplayer = 1.0-0.46.pre8.lvn5 for package: mplayer-gui
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package twolame.i386 0:0.3.8-1.lvn6 set to be updated
---> Package mplayer-gui.i386 0:1.0-0.69.rc1.lvn6 set to be updated
---> Package libdca.i386 0:0.0.2-3.lvn6 set to be updated
---> Package x264.i386 0:0-0.8.20061028.lvn6 set to be updated
---> Package ffmpeg-libs.i386 0:0.4.9-0.34.20070204.lvn6 set to be updated
--> Running transaction check
--> Processing Dependency: liblzo.so.1 for package: transcode
--> Finished Dependency Resolution
Error: Missing Dependency: liblzo.so.1 is needed by package transcode


When I try to install things that don't include transcode, the deps check out but I get this error:
Code:

Error Downloading Packages:
  mkinitrd - 5.1.19.0.2-1.i386: failure: mkinitrd-5.1.19.0.2-1.i386.rpm from updates: [Errno 256] No more mirrors to try.
  kernel - 2.6.19-1.2895.fc6.i686: failure: kernel-2.6.19-1.2895.fc6.i686.rpm from updates: [Errno 256] No more mirrors to try.
  nash - 5.1.19.0.2-1.i386: failure: nash-5.1.19.0.2-1.i386.rpm from updates: [Errno 256] No more mirrors to try.

This is preceeded by various instances of "[Errno 9] Requested Range Not Satisfiable" or "[Errno 4] IOError: [Errno ftp error] Requested Range Not Satisfiable due to unobtainable file length."

EDIT[0]: http://www.linuxquestions.org/questi...d.php?t=485083 has what appears to be a similar problem re: downloading. Yum clean all seems to have fixed the problem for a limited set of available updates.

EDIT[1]: A continual frustration throughout this particular learning experience has been the way in which yum will try to update a raft of packages, find an error with just one of those packages, and abandon the entire effort. I'd much prefer that it go ahead and install the packages that don't throw errors. I tried running with the -t option, but it didn't seem to do what I wanted.

EDIT[2]: remove/install on the offending package (lzo, which turned out to be an mplayer dependency) fixed the big problem up above, so I'm tagging this post "fixed." However, I'd like to emphasize that the point in EDIT[1] is a big deal to me - a yum update without arguments just spent something on the order of an hour or two checking all the packages, downloading all the headers and rpms, only to fail during the transaction test and send all that time and bandwith down the tubes. I've resorted to yum update a*; yum update b*; ect.

PTrenholme 02-08-2007 04:27 PM

For your second problem, try installing the "skip-broken" yum plugin.

For the first problem, I suspect that the library versions needed by the applications are incompatible. Sometimes you can work around the problem by uninstalling the problem application (e.g., transcode) and then reinstalling it after the update.

Another work around is to install the smart and smart-gui packages, and the Fedora smart repository definitions (all in theextras repository, for now) and then see if smart can resolve the problem. (As an aside, I've occasionally had yum fail and needed another update tool to fix it. In fact, I have yum, apt and smart all configured on my system.) Oh, you could also see what happens if you try the "software updater" tool, although I think that that's just a yum front-end, and not likely to give you anything new.

As to your final problem, you got the headers for those applications from some repository, so the rpm files should have been in the same repository. Check you mirror lists in the repository definition files in /etc/yum.repos.d/ Sometimes connections can get flaky, and yum needs to look for files in other copies of the repositories elsewhere on the net.

v00d00101 02-10-2007 08:01 AM

I've never personally got transcode to work in fedora. Works in pretty much every other distro, but seems broken for fedora.

My workaround was to install qemu and kqemu, and run a ubuntu vm for transcoding.

PTrenholme 02-10-2007 12:00 PM

FYI, I just noticed that a transcode rpm is available from the livna repository. Perhaps that one would work for you.

01d55 02-11-2007 08:19 PM

Thanks for the plugin!
Since all of my questions here have been answered to my satisfaction, I'm unsubscribing the thread.


All times are GMT -5. The time now is 06:11 PM.