Unlocatable package?
I'm trying to install mplayer so I run ./configure --enable-gui
It gives me an error which says I need GTK. So I try to add them via Add/Remove Applications on the GUI but while it's calculating package dependencies, it gives me an error saying package not found. It can't find gtkhtml = 1.1.8-5 which is required by gtkhtml-dev. I do a simple locate for gtkhtml and find that I have a whole bunch of gtkhtml-1.1.9 directories so I'm assuming I have a newer version that the OS doesn't know about. What now? How do I fix this so that I can install GTK, which is needed for mplayer? I have RH9 btw. |
run the following and post results.
Code:
rpm -qa | grep gtk If you get no return on the previous command, then your rpm database might be corrupt. |
This is what I get:
usermode-gtk-1.67-2 gtk2-engines-2.2.0-2 gtk+-1.2.10-25 gtkhtml2-2.2.0-5 pygtk2-1.99.14-4 pygtk2-libglade-1.99.14-4 gtk-engines-0.11-16 mtr-gtk-0.52-2 gtkhtml-1.1.9-0.9 gtk2-2.2.1-4 gnome-python2-gtkhtml2-1.99.14-5 authconfig-gtk-4.3.4-1 gtkam-0.1.7-3 |
It looks like a version mis-match to me.
You currently have gtkhtml version 1.1.9-0.9 and you are trying to install gtkhtml-dev version 1.1.8-5. I would therefore assume that you are trying to install gtk version 1.1.8-5. As I stated in my first post, you may need to uninstall gtkhtml (version 1.1.9-0.9) or download and install version 1.1.9-0.9 of gtk and gtkhtml-dev. |
Thanks, I'll try a reinstall.
On a side note, I was trying to rebuild my rpm db and got an error: error: db4 error(16) from dbenv->remove: Device or resource busy |
you don't need the mplayer gui. it works better without it.
|
The GTK mplayer needs is the developmental header files. The package name will be something like libgtk2.0-dev. But you should listen to whansard. You don't really need the gui.
|
Re: Unlocatable package?
I just ran into this same problem, and found this thread while looking into it. It seems that RPM has a bad interaction with the RedHat Network's automatic update. Here's what happened:
We had both installed RH9 without all the development library packages. This included gtkhtml-1.1.8-5. At some point, RedHat posted an upgrade, and put gtkhtml-1.1.9-0.9 and gtkhtml-devel-1.1.9-0.9 on their updates FTP server. When our machines did an update, they only got gtkhtml-1.1.9-0.9, but not the development package, because it wasn't installed. Later on, we tried to install the development library packages from the CDs, and it failed because the new gtkhtml was there and the gtkhtml-devel-1.1.8-5 package requires that specific version of gtkhtml. The fix is install the old gtkhtml package off your CD, with a command like: rpm -U --oldpackage gtkhtml-1.1.8-5.i386.rpm Then installing the development library packages from the CDs will work. After that, you can run the RHN update again to get both gtkhtml and gtkhtml-devel updated to the 1.1.9-0.9 versions. |
All times are GMT -5. The time now is 10:19 PM. |