Re: Help, Failed dependencies




On Mon, 16 Nov 1998, Ken Marin wrote:
> Hi,

Hello


> I managed to get must of the rmp's in my As200 DEC but I'm still getting
> failed dependencies
> 
> These are what I have left:
> 
> [root@home /temp]# ls
> balsa-0.4.5-1.alpha.rpm              gnome-libs-0.30.1-1.alpha.rpm
> ee-0.3-0.alpha.rpm                   gnome-libs-devel-0.30.1-1.alpha.rpm
> giflib-3.0-2.alpha.rpm               gnome-media-0.30-1.alpha.rpm
> glib-1.0.6-1.alpha.rpm               gnome-utils-0.30-1.alpha.rpm
> glib-1.1.3-1.alpha.rpm               gnumeric-0.3-1.alpha.rpm
> gnome-admin-0.30-1.alpha.rpm         gtk+-1.0.6-1.alpha.rpm
> gnome-core-0.30-1.alpha.rpm          gtk+-1.1.2-1.alpha.rpm
> gnome-games-0.30-3.alpha.rpm         libgtop-examples-0.25.0-2.alpha.rpm
> gnome-games-devel-0.30-3.alpha.rpm
> [root@home /temp]#

A couple of comments.  First, you have gnome-libs-devel, and 
gnome-games-devel but neither glib-devel nor gtk+-devel.  You probably
should either include all the devel stuff, or none of it, depending on
whether or not you want to compile things; if you want to compile things,
the RPMs are probably not the best way to go.  Second, you have
libgtop-examples, which as far as I know is just source code examples; you
probably are looking for the libgtop package, and perhaps the gtop package
as well.


 
> This is what I get when I type rpm -Uvh *
> 
> [root@home /temp]# rpm -Uvh *
> failed dependencies:
>         libqt.so.1 is needed by gnome-games-0.30-3

Here there be dragons :-), this is a namespace problem.  When GNOME
development started there were two different libraries using the name
libqt, first was the University of Washington's QuickThreads library
(included in Guile, required by gnome-games), and second was TrollTech's
QT widget library (of KDE fame).  The solution was to change the name
Guile installs the libary under, it is now libqthreads.so.

The solution for you is probably to include the guile-1.2-4.alpha.rpm
package from ftp.gnome.org.  Note that this is an older guile, and it
might break KDE apps, and any apps that require a cutting edge Guile
version (like SCWM).


>         libgmodule-1.1.so.3 is needed by gnome-libs-0.30.1-1

This line confuses me.  I would think that this would be covered by
the glib-1.1.3-1 package.  You should do a
     $ rpm -qlp glib-1.1.3-1.alpha.rpm
and make sure that libgmodule-1.1.so.3 is included. 


>         glib = 1.0.6 is needed by gtk+-1.0.6-1

This is probably one of the biggest headaches I have with RPM.  It can
be avoided with careful construction of the packages, but this is
seldom done.  What happens is the -U flag removes all of the previous
versions of the package, so updating glib-1.1.3 will remove
glib-1.0.6, even though it is in the same command line.

The right way to fix it (which only the person making the package can
do) is to make them two separate package names, for example have
"glib" be the package name for the 'stable' version of glib, and
"glib11" be the package name for the development versions.

Barring this, you have to go through RPM convolutions.  Try doing the
following:
     $ rpm -Uvh --force glib-1.0.6-1.alpha.rpm gtk+-1.0.6-1.alpha.rpm
     $ rpm -ivh glib-1.1.3-1.alpha.rpm gtk+-1.1.2-1.alpha.rpm
and then rpm -Uvh all the rest.  The first command will make sure that
the stable version is properly installed.  The second command will
install the development version without deleting the stable version.
If you wish to upgrade either version now, don't use "rpm -Uvh", you
will have to manually remove the old package (rpm -e --nodeps), and then
install (rpm -ivh) the newer version.



>         libqt.so.1 is needed by libgtop-examples-0.25.0-2

See the above libqt comment.  You probably don't need the
libgtop-examples package anyway.


>         gtk+ = 1.0.6 is needed by gtk+-devel-1.0.6-1
>         gtk+ = 1.0.6 is needed by gtk+-devel-1.0.6-1
>         glib = 1.0.6 is needed by gtk+-devel-1.0.6-1
>         glib = 1.0.6 is needed by gtk+-devel-1.0.6-1
>         glib = 1.0.6 is needed by gtk+-devel-1.0.6-1
>         glib = 1.0.6 is needed by gtk+-devel-1.0.6-1
>         gtk+ = 1.0.6 is needed by gtk+-devel-1.0.6-1
>         gtk+ = 1.0.6 is needed by gtk+-devel-1.0.6-1
>         gtk+ = 1.0.6 is needed by gtk+-devel-1.0.6-1
>         gtk+ = 1.0.6 is needed by gtk+-devel-1.0.6-1

This is the same problem as the above "glib = 1.0.6" problem, but with
an extra twist.  Remove (rpm -e) the glib-devel and gtk+-devel
packages (and anthing that depends on them) before you do the two
commands I gave you in the prior section.  If you want to have the
devel packages, you can then safely include them in the mass upgrade
after the two commands.

I hope I have been of help.

Best of Luck,
-Gleef



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]