Jump to content
somethingx

RPM problem

Recommended Posts

I have Mandrake 10.1 and I'm trying to install the package libgtkhtml2_0-devel .

When I tried to install it using rpmdrake , I got this message:

 

Sorry, the following package(s) can't be selected.

libgtkhtml2_0-devel-2.6.2-1mdk

 

Then I tried urpmi libgtkhtml2_0-devel , which gave this message:

 

Everything already installed

 

but the query

rpm -qa | grep libgtkhtml

returned:

 

libgtkhtml2_0-2.6.2-1mdk

libgtkhtml-3.1_11-3.2.4-1.1.101mdk

libgtkhtml1.1_3-1.1.10-6mdk

 

As you can see, libgtkhtml2_0-devel was not there.

So I found libgtkhtml2_0-devel-2.6.2-1mdk on the net, downloaded it and tried to install it with

rpm -Uvh libgtkhtml2_0-devel-2.6.2-1mdk.i586.rpm

Which produced this:

 

error: Failed dependencies:

gail-devel is needed by libgtkhtml2_0-devel-2.6.2-1mdk

gnome-vfs2-devel is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libart_lgpl_2) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libatk-1.0) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libexpat) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libfontconfig) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libfreetype) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libgailutil) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libgdk_pixbuf-2.0) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libgdk-x11-2.0) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libgnomecanvas-2) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libgtk-x11-2.0) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libpango-1.0) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libpangoft2-1.0) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libpangox-1.0) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libpangoxft-1.0) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libX11) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libXcursor) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libXext) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libXft) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libXi) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libXinerama) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libxml2) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libXrandr) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libXrender) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

devel(libz) is needed by libgtkhtml2_0-devel-2.6.2-1mdk

 

 

Now, rpmdrake doesn't find gail-devel, while urpmi again says "Everything already installed" , but rpm -qa gail returns:

 

libgail-gnome-1.0.6-1mdk

gail-1.6.6-1mdk

libgail17-1.6.6-1mdk

 

and if that's not weird enough , although the last rpm (libgail17-1.6.6-1mdk) is installed, rpmdrake shows it on the list packages that can be installed.

 

 

please :help:

Share this post


Link to post
Share on other sites

instead of this:

rpm -Uvh libgtkhtml2_0-devel-2.6.2-1mdk.i586.rpm

which won't solve any dependencies, do this:

urpmi libgtkhtml2_0-devel-2.6.2-1mdk.i586.rpm

which will install dependencies (assuming it can find them), instead of just erroring out. you might want to consider setting up your sources through Easy-Urpmi before doing this.

 

as far as the issue with the package being installed but not reported as installed, try rebuilding your rpm database:

rpm --rebuilddb

additionally, if you'd like to see some output, you can use the -vv option:

rpm -vv --rebuilddb

Share this post


Link to post
Share on other sites

I know that using urpmi is better than using rpm , but urpmi thinks for some reason that "Everything already installed" .

rpm -vv --rebuilddb didn't change anything. :dry:

Share this post


Link to post
Share on other sites

if you use urpmi to install the RPM (as I suggested above) it should install it without searching the repositories for it (it will use the local package, as long as you are in the directory it's in), or checking to see if it's already installed. If it doesn't then use the force option:

urpmi --force libgtkhtml2_0-devel-2.6.2-1mdk.i586.rpm

Share this post


Link to post
Share on other sites
Sorry, the following package(s) can't be selected.

libgtkhtml2_0-devel-2.6.2-1mdk

Usually this message means you have a version already installed just as you were informed by the mesage from urpmi, ie everything already installed.

It seems to me if you really want libgtkhtml2_0-devel-2.6.2-1mdk then you need to uninstall libgtkhtml package and re-install your downloaded package using urpmi to get the dependencies. You may need to re-install the libgtkhtml package again afterwards. I trust this makes sense to you. Sorry if I appaer to be babbling.

Share this post


Link to post
Share on other sites

It's best to use the urpmi sources first, before attempting to manually download and install rpms from other sources that may or may not even be official Mandriva rpm's.

 

Most are available in urpmi, if not, then you can just get by other means. Here's my command example, searching my urpmi sources to find what you want:

 

[ian@europa ~]$ urpmf --name libgtkhtml
libgtkhtml2_0:libgtkhtml2_0-2.6.3-3mdk.i586.rpm
libgtkhtml1.1_3:libgtkhtml1.1_3-1.1.10-7mdk.i586.rpm
libgtkhtml-3.6_18:libgtkhtml-3.6_18-3.6.2-3mdk.i586.rpm
libgtkhtml2_0:libgtkhtml2_0-2.6.3-3mdk.i586.rpm
libgtkhtml1.1_3:libgtkhtml1.1_3-1.1.10-7mdk.i586.rpm
libgtkhtml-3.6_18:libgtkhtml-3.6_18-3.6.2-3mdk.i586.rpm
libgtkhtml-3.1_11:libgtkhtml-3.1_11-3.2.5-1mdk.i586.rpm
libgtkhtml-3.1_11-devel:libgtkhtml-3.1_11-devel-3.2.5-1mdk.i586.rpm
libgtkhtml-3.6_18-devel:libgtkhtml-3.6_18-devel-3.6.2-3mdk.i586.rpm
libgtkhtml1.1_3-devel:libgtkhtml1.1_3-devel-1.1.10-7mdk.i586.rpm
libgtkhtml2_0-devel:libgtkhtml2_0-devel-2.6.3-3mdk.i586.rpm
libgtkhtml-3.8_15:libgtkhtml-3.8_15-3.8.0-1mdk.i586.rpm
libgtkhtml-3.0_4:libgtkhtml-3.0_4-3.0.10-2mdk.i586.rpm
libgtkhtml-3.0_4-devel:libgtkhtml-3.0_4-devel-3.0.10-2mdk.i586.rpm
libgtkhtml-3.8_15-devel:libgtkhtml-3.8_15-devel-3.8.0-1mdk.i586.rpm

 

and libgtkhtml2_0-devel is there.

Share this post


Link to post
Share on other sites

If I have some other version already installed, then "rpm -qa | grep libgtkhtml" should find it, but it doesn't. It does find libgtkhtml2_0-2.6.2-1mdk , libgtkhtml1.1_3-1.1.10-6mdk and libgtkhtml-3.1_11-3.2.4-1.1.101mdk , but I need

libgtkhtml2_0-devel-2.6.2-1mdk .

Is it possible that these packages can't coexist?

Do I have to uninstall libgtkhtml2_0-2.6.2-1mdk? I'd rather not, because it means I also have to uninstall essential packages like gnome-media , gnome-panel and gnome-session.

Share this post


Link to post
Share on other sites
Is it possible that these packages can't coexist?

I rather think that could be the case as you got this message "Sorry, the following package(s) can't be selected.

libgtkhtml2_0-devel-2.6.2-1mdk" in the first place. MCC was trying to tell you that. I know it's a bit vague and cryptic but that's what I find. I can't say which package is the problem, maybe someone else can point it out for you.

Share this post


Link to post
Share on other sites

Try using the full package name instead. So instead of just typing urpmi libgtkhtml2_0-devel, add the rest of it to complete it and see if it works any better that way.

Share this post


Link to post
Share on other sites
Is it possible that these packages can't coexist?
No. These packages should be able to easily coexist, in fact they're supposed to be able to coexist. You should be able to install any *-devel package while having it's regular package also installed. Otherwise it'd be kind of pointless, because you wouldn't be able to use things once you developed/compiled them...
Do I have to uninstall libgtkhtml2_0-2.6.2-1mdk?
No. Did you try what I suggested earlier, using urpmi to force the install of the local package?

Share this post


Link to post
Share on other sites
Installation\ CD\ 1\ (cdrom1) removable://mnt/cdrom/media/main {
 hdlist: hdlist.Installation CD 1 (cdrom1).cz
 key-ids: 70771ff3
 removable: /dev/hdc
 with_hdlist: ../../media/media_info/hdlist1.cz
}

Installation\ CD\ 2\ (cdrom2) removable://mnt/cdrom/media/main2 {
 hdlist: hdlist.Installation CD 2 (cdrom2).cz
 key-ids: 70771ff3
 removable: /dev/hdc
 with_hdlist: ../../media/media_info/hdlist2.cz
}

Installation\ CD\ 3\ (cdrom3) removable://mnt/cdrom/media/main3 {
 hdlist: hdlist.Installation CD 3 (cdrom3).cz
 key-ids: 70771ff3
 removable: /dev/hdc
 with_hdlist: ../../media/media_info/hdlist3.cz
}

plf-nonfree ftp://ftp.free.fr/pub/Distributions_Linux/plf/mandrake/non-free/10.1 {
 hdlist: hdlist.plf-nonfree.cz
 key-ids: caba22ae
 list: list.plf-nonfree
 with_hdlist: hdlist.cz
}

jpackage ftp://ftp.ciril.fr/pub/linux/mandrakelinux/official/10.1/i586/media/jpackage {
 hdlist: hdlist.jpackage.cz
 key-ids: c431416d
 with_hdlist: media_info/hdlist.cz
}

plf-free ftp://ftp.free.fr/pub/Distributions_Linux/plf/mandriva/free/10.1/i586 {
 hdlist: hdlist.plf-free.cz
 key-ids: caba22ae
 list: list.plf-free
 with_hdlist: hdlist.cz
}

updates ftp://ftp.ens-cachan.fr/mirror/Mandrakelinux/official/updates/10.1/main_updates {
 hdlist: hdlist.updates.cz
 key-ids: 22458a98
 list: list.updates
 update
 with_hdlist: media_info/hdlist.cz
}

main ftp://ftp.ens-cachan.fr/mirror/Mandrakelinux/official/10.1/i586/media/main {
 hdlist: hdlist.main.cz
 key-ids: 70771ff3
 with_hdlist: media_info/hdlist.cz
}

contrib ftp://ftp.ens-cachan.fr/mirror/Mandrakelinux/official/10.1/i586/media/contrib {
 hdlist: hdlist.contrib.cz
 key-ids: 78d019f5
 with_hdlist: media_info/hdlist.cz
}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...