Jump to content

Urpmi doesn't want to install packages


liberforce
 Share

Recommended Posts

Hi everyone...

 

Already submitted this in a few places, but had no response : you're my last chance :help:

Hope this time someone finds the solution...

 

The problem :

I use mdk10.1 official with all updates...

There are many packages I can't install... urpmi tells me they're already there, rpm tells they're not. I've even rebuilt my rpm base with rpm --rebuilddb, but it didn't resolved the problem... So please, if you can give me a hand on this, i would be very grateful... He'res an example with libgtk+2.0_0-devel, but i also have the problem when trying to install anjuta

 

[root@localhost luis]# urpmi libgtk+2.0_0-devel
Everything is already installed
[root@localhost luis]# rpm -q libgtk+2.0_0-devel
The package libgtk 2.0_0-devel is not installed

 

 

[root@localhost root]# rpm -qa | grep libgtk+
libgtk+-x11-2.0_0-2.4.9-9mdk
libgtk+1.2-1.2.10-40mdk
libgtk+2.0_0-2.4.9-9mdk
libgtk+1.2-devel-1.2.10-40mdk

 

[root@localhost root]# urpmf gtkversion.h
libgtk+2.0_0-devel:/usr/include/gtk-2.0/gtk/gtkversion.h
[root@localhost root]# ls /usr/include/gtk-2.0/
gdk-pixbuf/ gdk-pixbuf-xlib/

 

As you can see, I even do not have a the /usr/include/gtk-2.0/gtk/ directory, so this is an urpmi problem... but i don't know how to tell him he's wrong... Is there some kind of files that give him a "memory" of what is installed and what is not, that would cause it not to check what rpm says ?

 

Thanks for your help, i'm deperate... :help::help::help:

Link to comment
Share on other sites

1) uninstall and re-install urpmi

2) run a file system check.

 

1) didn't work, still the same output. I removed it with rpm -e --nodeps urpmi

2) had no problem with my filesystem for a long time...

 

I think some urpmi files "lock" the way it knows if it is installed or not, by i don't know wich files urpmi uses... any idea ?

Link to comment
Share on other sites

I would suggest removing your sources

updating the sources (with nothing or just one new one if you must)

uninstalling urpmi

rpm --rebuilddb

installing urpmi

updating the source or no source

rpm --rebuilddb

add sources

 

you'll find the rpm/urpmi files in

/etc/urpmi

/var/lib/

/var/cache

be careful messing with them!

Link to comment
Share on other sites

  • 2 weeks later...
I would suggest removing your sources

updating the sources (with nothing or just one new one if you must)

uninstalling urpmi

rpm --rebuilddb

installing urpmi

updating the source or no source

rpm --rebuilddb

add sources

 

you'll find the rpm/urpmi files in

/etc/urpmi

/var/lib/

/var/cache

be careful messing with them!

 

tried this today, doesn't work.... i'm desperated... :wall::wall:

Link to comment
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...
 Share

×
×
  • Create New...