View Full Version : Yum failed dependencies?

15th June 2006, 07:02 AM
I tried to installed a web development tool called nvu using yum, but it displayed failed dependencies. Why is this? I thought yum will resolve all the dependencies cause before this, I installed any application using yum and it resolved all the dependencies for that software package.

[root@localhost jo]# rpm -ivh nvu*
error: Failed dependencies:
xorg-x11-deprecated-libs is needed by nvu-1.0-1.rhel4.fs.i386

15th June 2006, 07:11 AM
I thought yum will resolve all the dependencies

[root@localhost jo]# rpm -ivh nvu*

If you were using yum, it would do.


15th June 2006, 07:21 AM
I'm sorry. That's the wrong code there. Here it is:

[root@localhost jo]# yum install nvu*
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
dries [1/6]
dries 100% |=========================| 951 B 00:00
livna [2/6]
livna 100% |=========================| 951 B 00:00
updates [3/6]
updates 100% |=========================| 951 B 00:00
core [4/6]
core 100% |=========================| 1.1 kB 00:00
macromedia [5/6]
macromedia 100% |=========================| 951 B 00:00
extras [6/6]
extras 100% |=========================| 1.1 kB 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Parsing package install arguments
Examining nvu-1.0-1.rhel4.fs.i386.rpm: nvu - 1.0-1.rhel4.fs.i386
Marking nvu-1.0-1.rhel4.fs.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package nvu.i386 0:1.0-1.rhel4.fs set to be updated
--> Running transaction check
--> Processing Dependency: xorg-x11-deprecated-libs for package: nvu
--> Finished Dependency Resolution
Error: Missing Dependency: xorg-x11-deprecated-libs is needed by package nvu

15th June 2006, 08:07 AM
Marking nvu-1.0-1.rhel4.fs.i386.rpm to be installed

You appear to have some misconfiguration in your yum repositories. You're attempting to load a RHEL4 RPM onto (what I assume is) an FC5 system. This means you've got both distros set up in your config - and that will give you this sort of problem...

If, on the other hand, you've really got an RHEL4 system, you've got at least one broken repo listed in your conf. xorg-x11-deprecated-libs comse from updates-released, so if it's not picking it up, you're looking for the wrong version...


15th June 2006, 08:32 AM
I am only using one distro, which is FC5. Here is my yum config:


# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

15th June 2006, 08:34 AM
I am only using one distro, which is FC5.

You're trying to install a RHEL4 RPM. That means you've got yum configurated to look at repositories for more than one distro. That'll give you exactly the problem that you reported...


15th June 2006, 10:42 AM
You are trying to install a package built for Red Hat Enterprise Linux 4 in Fedora Core 5. It depends on packages that don't exist in FC5, so it's impossible to resolve the dependencies. Get a nvu RPM built for FC5, or make one by yourself.