| View previous topic :: View next topic |
| Author |
Message |
don quixada Guru


Joined: 15 May 2003 Posts: 596
|
Posted: Sat May 05, 2007 11:32 pm Post subject: Why is revdep-rebuild trying to build pkgs that don't exist? |
|
|
When I run revdep-rebuild it tries to build packages that don't exist such as 'oaf'. How can I fix this problem? Thanks.
dq |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7021
|
Posted: Sat May 05, 2007 11:40 pm Post subject: |
|
|
| Show the error message, not your vague interpretation of it. Provide *detail*. |
|
| Back to top |
|
 |
jstead1 Guru


Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Sat May 05, 2007 11:52 pm Post subject: |
|
|
You probably have a package that was built against oaf when it existed in gentoo (it has been removed and replaced).
I would try to remove and re-install the package that is requiring oaf. It will then be installed with updated dependencies, without oaf.
Make sure that you have done an emerge -uDN world, prior to using revdep-rebuild. _________________ jim |
|
| Back to top |
|
 |
jsf_x35a Tux's lil' helper


Joined: 28 Jun 2004 Posts: 81 Location: In your base! Killing your men!
|
Posted: Sun May 06, 2007 12:58 am Post subject: |
|
|
To figure out what package needs oaf just emerge gentoolkit and do:
and you should get the list of packages that need oaf. This would explain why revdep-rebuild tries to re-emerge oaf. If nothing shows up when you run equery, there's something funny going on. _________________ "Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man |
|
| Back to top |
|
 |
don quixada Guru


Joined: 15 May 2003 Posts: 596
|
Posted: Sun May 06, 2007 1:41 am Post subject: |
|
|
There wasn't really an error message, hence not showing it.
I ran equery on oaf and here are the results:
| Code: |
localhost ~ # equery depends oaf
[ Searching for packages depending on oaf... ]
gnome-base/bonobo-1.0.22 (>=gnome-base/oaf-0.6.8)
gnome-extra/guppi-0.40.3-r3 (>=gnome-base/oaf-0.6.7)
localhost ~ # equery depends bonobo
[ Searching for packages depending on bonobo... ]
gnome-extra/guppi-0.40.3-r3 (>=gnome-base/bonobo-1.0.17)
localhost ~ # equery depends guppi
[ Searching for packages depending on guppi... ]
localhost ~ # emerge -s guppi
Searching...
[ Results for search key : guppi ]
[ Applications found : 0 ]
|
Ok, so it looks like 'guppi' is an "orphaned" package. I wonder what it's for. I also wonder how many other packages are "orphaned". I'm tempted to remove the package 'guppi', do you think this is a good idea? Thanks.
dq |
|
| Back to top |
|
 |
jsf_x35a Tux's lil' helper


Joined: 28 Jun 2004 Posts: 81 Location: In your base! Killing your men!
|
Posted: Sun May 06, 2007 2:23 am Post subject: |
|
|
If I remember right, guppi is an extremely old library in gnome that was used for making plots and graphs. I don't think the project got along too well and was shut down in 2001.
I think you should be fine removing guppi. But you better get a second opinion. Once you've removed guppi, do an emerge --depclean to get rid of all those dependencies and then a revdep-rebuild. _________________ "Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man |
|
| Back to top |
|
 |
jsf_x35a Tux's lil' helper


Joined: 28 Jun 2004 Posts: 81 Location: In your base! Killing your men!
|
Posted: Sun May 06, 2007 2:25 am Post subject: |
|
|
By the way, are you using a portage overlay? I can't seem to find oaf in my portage tree. _________________ "Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man |
|
| Back to top |
|
 |
don quixada Guru


Joined: 15 May 2003 Posts: 596
|
Posted: Sun May 06, 2007 3:26 am Post subject: |
|
|
It's funny that you mention an overlay since I tried to get one working and was unsuccessful. I still get an error message which I can easily remove but it's there as a reminder to one day get off my ass and get the overlay working. Anyway, no oaf isn't in my portage tree either so, I suspect, when I pruned a bunch of packages, oaf was removed but not guppi. There are other packages that don't exist either that guppi depends on. Like gnome-print and bonobo. Since I don't need a plotter/graphing program anymore I'll remove guppi. Thanks.
dq |
|
| Back to top |
|
 |
don quixada Guru


Joined: 15 May 2003 Posts: 596
|
Posted: Sun May 06, 2007 3:35 am Post subject: |
|
|
Hmmm, it still wants to install the packages. Here's the list of packages it wants to install:
| Code: | | emerge --oneshot =gnome-base/libbonobo-2.16.0 =gnome-base/oaf-0.6.10 =gnome-base/gnome-print-0.37 =gnome-base/bonobo-1.0.22 =gnome-base/gnome-libs-1.4.2 =kde-base/libkpgp-3.5.0-r1 =media-libs/gdk-pixbuf-0.22.0-r5 =dev-util/cppunit-1.10.2 |
I suspect some of them (like cppunit) are ok, but most don't exist anymore.
dq |
|
| Back to top |
|
 |
jsf_x35a Tux's lil' helper


Joined: 28 Jun 2004 Posts: 81 Location: In your base! Killing your men!
|
Posted: Sun May 06, 2007 3:53 am Post subject: |
|
|
Hmm... that's weird. revdep-rebuild is trying to emerge a package that doesn't exist. First time I've seen that happen. There's only two things of the top of my head that I can think of,
1) You have an old release of portage/gentoolkit which still has oaf listed somewhere in there. In this case an emerge --sync and update of gentoolkit should fix it.
2) You have oaf in your overlay which might somehow be interfering with your main portage tree. I'm not sure about how to fix it in this case. _________________ "Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man |
|
| Back to top |
|
 |
don quixada Guru


Joined: 15 May 2003 Posts: 596
|
Posted: Sun May 06, 2007 8:01 pm Post subject: |
|
|
Ok I obliterated any reference to an overlay and rebuilt gentoolkit and the problem persists:
| Code: | | emerge --oneshot =gnome-base/oaf-0.6.10 =gnome-base/gnome-print-0.37 =gnome-base/gnome-libs-1.4.2 =kde-base/libkpgp-3.5.0-r1 =media-libs/gdk-pixbuf-0.22.0-r5 =dev-util/cppunit-1.10.2 |
Note that this system is up to date as I do an 'emerge -uD world' almost every day. Here's a sample of some output from the revdep-rebuild process:
| Code: | broken /usr/bin/loadshlib (requires libdb.so.2 libIIOP.so.0 libORBitCosNaming.so.0 libORBit.so.0 libORBitutil.so.0)
broken /usr/bin/oaf-client (requires libIIOP.so.0 libORBitCosNaming.so.0 libORBit.so.0 libORBitutil.so.0)
broken /usr/bin/oafd (requires libIIOP.so.0 libORBitCosNaming.so.0 libORBit.so.0 libORBitutil.so.0) |
Of course, there's much more. Do you think maybe the best thing to do would be to remove these executables by hand? What's with the Orbit thing? Thanks.
dq |
|
| Back to top |
|
 |
jsf_x35a Tux's lil' helper


Joined: 28 Jun 2004 Posts: 81 Location: In your base! Killing your men!
|
Posted: Sun May 06, 2007 8:07 pm Post subject: |
|
|
Wow, I'm stumped. It's the first time I've seen portage trying to emerge non-existent packages.
Anyway, a lot the packages that revdep-rebuild is trying to emerge seem to be gnome packages. If you don't actually have gnome or use are sure that you don't use those packages, I don't see any harm in deleting the binary's manually. But I'm always kind of scared of doing that in case I break something. My suggestion is to move those binaries/libraries to a different location and try using your machine for a day or so. If nothing seems broken, it should be safe to delete them.
edit: Oh yeh, and before you start moving those binaries/libs, it would be a good idea to equery the packages that revdep-rebuild is trying to emerge to make sure 100% that they are not dependencies for anything. _________________ "Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man |
|
| Back to top |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 7614
|
Posted: Sun May 06, 2007 8:39 pm Post subject: |
|
|
I suspect that you still have gnome-base/oaf installed, so revdep-rebuild wants to reinstall gnome-base/oaf with the expectation that rebuilding it will cause its binaries to link to libraries which exist. I base this guess on this output:
| don quixada wrote: | | Code: | broken /usr/bin/oaf-client (requires libIIOP.so.0 libORBitCosNaming.so.0 libORBit.so.0 libORBitutil.so.0)
broken /usr/bin/oafd (requires libIIOP.so.0 libORBitCosNaming.so.0 libORBit.so.0 libORBitutil.so.0) |
|
|
|
| Back to top |
|
 |
jstead1 Guru


Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Sun May 06, 2007 8:51 pm Post subject: |
|
|
When I didn't revdep-rebuild often (not for about 2 years) revdep-rebuild tried to pull in revisions that got cleaned out, and some packages that didn't exist. If you have old packages that depend on orphans, that have been removed from your system and from portage, revdep-rebuild doesn't know that. It just looks for the version of a package that the needy package was built against and tries to emerge it. If it is not there, it is time for manual intervention.
From the equery don quixada ran, there are two packages that depend on oaf, bonobo and guppi.
You need to remove both. (if they are installed)
Also, to run a fresh revdep-rebuild after an interrupted one, you need to delete the files, something like:
Otherwise revdep does not look at the dependencies again, it just does what the existing .revdep... files tell it to do.
Then run:
If you already did that, or it comes up the same:
You will get more errors, because you have more packages that don't appear to be in the tree. Such as
gnome-print bonobo gnome-libs gdk-pixbuf
You need to see what you have that depends on those packages.
Then remove any versions of those packages that you have installed.
In addition, the version of cppunit that revdep is pulling in is so old that it is not in the tree. It could be the culprit pulling in all the crap.
I would see if I could find what is trying to pull in cppunit, or just
so you have a recent version with recent dependencies. _________________ jim |
|
| Back to top |
|
 |
jstead1 Guru


Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Sun May 06, 2007 10:11 pm Post subject: |
|
|
Just another thought, I thought I would put it seperate from my previous post, so you wouldn't miss it.
It is probably important to find the package, if there is one, that is pulling in cppunit, since it may itself be an old package, not in the portage tree, and that is why it is pulling in all these old packages. _________________ jim |
|
| Back to top |
|
 |
don quixada Guru


Joined: 15 May 2003 Posts: 596
|
Posted: Tue May 08, 2007 2:34 am Post subject: |
|
|
I tried all that stuff at the beginning of your post (i.e. rm .revdep etc.) and still have the problem. I also removed oaf and all the other packages: guppi, gnome-print etc. and still no change.
| Code: | localhost ~ $ equery depends cppunit
[ Searching for packages depending on cppunit... ]
app-office/kmymoney2-0.8.6 (dev-util/cppunit)
|
cppunit is the only non-gnome related package in this mess. The interesting this is that cppunit-1.10.2 is already installed and my system wants to upgrade it to 1.12.0:
| Code: |
localhost ~ $ emerge -1p cppunit
Calculating dependencies... done!
[ebuild U ] dev-util/cppunit-1.12.0 [1.10.2] USE="examples%* qt3%*"
|
Maybe now is the time to reveal that I did something really stupid last week by issuing the command 'emerge --prune world'; luckily, I was able to recover from this since it didn't delete all my versions of gcc, but now I'm getting this non-existent packages issue. Maybe this sheds some light on the problem? Thanks.
dq |
|
| Back to top |
|
 |
jstead1 Guru


Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Wed May 09, 2007 1:56 am Post subject: |
|
|
| don quixada wrote: |
Maybe now is the time to reveal that I did something really stupid last week by issuing the command 'emerge --prune world'; luckily, I was able to recover from this since it didn't delete all my versions of gcc, but now I'm getting this non-existent packages issue. Maybe this sheds some light on the problem? Thanks.
dq |
emerge --prune is generally a bad move, but it usually results in too much being removed, not old junk laying around.
One way to shed some more light on this is, for each broken executable that is spit out in revdep-rebuild (for instance /usr/bin/loadshlib) find out what package it belongs to (equery belongs <file>). If it is one of those packages no longer in portage, and you have removed it, well, I would delete the file, as it seems that the emerge -C of the offending package didn't get all the files.
Each file should be owned by only one package (according to the man page). _________________ jim |
|
| Back to top |
|
 |
don quixada Guru


Joined: 15 May 2003 Posts: 596
|
Posted: Fri May 18, 2007 2:27 am Post subject: [solved] |
|
|
Well, I just ended-up removing all the offending packages. Now there is no problem, so I guess this is solved.
dq
edit: I couldn't add [SOLVED] to the first message due to the field being full. Actually, this makes me think that there really should be a [SOLVED] flag that one can set at the beginning of a thread that is built into phpBB. (but that's another topic...) |
|
| Back to top |
|
 |
jstead1 Guru


Joined: 01 Aug 2003 Posts: 427 Location: Oswego, NY where the snow is deep
|
Posted: Fri May 18, 2007 9:07 pm Post subject: Re: [solved] |
|
|
| don quixada wrote: | Well, I just ended-up removing all the offending packages. Now there is no problem, so I guess this is solved.
dq
edit: I couldn't add [SOLVED] to the first message due to the field being full. Actually, this makes me think that there really should be a [SOLVED] flag that one can set at the beginning of a thread that is built into phpBB. (but that's another topic...) |
the original author of the thread can edit the first post and add solved to the title.
there should be an edit button as long as you are logged in _________________ jim |
|
| Back to top |
|
 |
don quixada Guru


Joined: 15 May 2003 Posts: 596
|
Posted: Fri May 18, 2007 10:45 pm Post subject: |
|
|
I'm the original poster. The problem is the subject line can be only so many characters long.
dq |
|
| Back to top |
|
 |
scaramanga Apprentice

Joined: 31 May 2005 Posts: 160
|
Posted: Sun Jul 08, 2007 5:24 pm Post subject: |
|
|
Hey,
I have similar problem. Revdep-rebuild wants to pull in media-libs/gdk-pixbuf-0.22.0-r5, but finds no ebuild. My portage is uptodate. An equery returns nothing;
tux stig # equery depends =media-libs/gdk-pixbuf-0.22.0-r5
[ Searching for packages depending on =media-libs/gdk-pixbuf-0.22.0-r5... ]
tux stig #
But a look through the revdep-rebuild messages, gives me;
broken /usr/lib/libgnomecanvaspixbuf.la (requires /usr/lib/libgnomeui.la)
broken /usr/lib/libgnomecanvaspixbuf.la (requires /usr/lib/libart_lgpl.la)
broken /usr/lib/libgnomecanvaspixbuf.la (requires /usr/lib/libgnome.la)
broken /usr/lib/libgnomecanvaspixbuf.la (requires /usr/lib/libgnomesupport.la)
But I am none the wiser.
How do I "remove" this media-libs/gdk-pixbuf package, from portage?
Isn't this a lot of Gnome stuff, for a all KDE guy like myself? |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 7021
|
Posted: Sun Jul 08, 2007 5:37 pm Post subject: |
|
|
| Code: | | revdep-rebuild -X -i |
|
|
| Back to top |
|
 |
scaramanga Apprentice

Joined: 31 May 2005 Posts: 160
|
Posted: Sun Jul 08, 2007 9:25 pm Post subject: |
|
|
Thanks. I was able to complete a revdep-rebuild, using the revdep-rebild -X -i command.
If I after revdep-rebuild -i -X run revdep-rebuild, it still complains about the missing gdk-pixbuf package though. |
|
| Back to top |
|
 |
don quixada Guru


Joined: 15 May 2003 Posts: 596
|
Posted: Mon Jul 09, 2007 10:49 pm Post subject: |
|
|
| scaramanga wrote: |
How do I "remove" this media-libs/gdk-pixbuf package, from portage?
|
All I did was use the 'emerge -C' command for the packages I has trouble with.
dq |
|
| Back to top |
|
 |
scaramanga Apprentice

Joined: 31 May 2005 Posts: 160
|
Posted: Tue Jul 10, 2007 11:44 am Post subject: |
|
|
Yep. Same here. I noticed that media-libs/gdk-pixbuf appeared on the output of emerge -p depclean, so I emerge -C'ed it, and that worked  |
|
| Back to top |
|
 |
|