View previous topic :: View next topic |
Author |
Message |
amauk n00b
Joined: 21 Jul 2011 Posts: 6
|
Posted: Thu Oct 10, 2024 8:49 pm Post subject: revdep-rebuild - Still useful / recommended? |
|
|
Non-support question. Just curious.
Running revdep-rebuild is just part of my update process,
but I can't for the life of me remember when it last picked anything up.
Any rebuilds needed seem to be picked up and handled by portage itself.
Was just wondering if running revdep-rebuild as part of a usual update process is still useful / recommended.
What I don't want is to get into a situation where I'm running deprecated / discouraged stuff because I wasn't paying attention.
Ta |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3803
|
Posted: Thu Oct 10, 2024 9:44 pm Post subject: |
|
|
It is required when emerge requires to do so.
It is true that some of such package rebuilds are done automagically.
But only because their ebuilds have directive(s) causing automatic rebuild under some circumstances.
Not all ebuilds are complete in this respect.
As long as you don't revdep-rebuild when requested, some former version of software will remain in the system, although newer is installed.
Each former version will be deleted as soon as all their revdep-rebuild counterpart(s) have been rebuild (against the latest version).
revdep-rebuild can be tested with -p(retend) e.g. to check how much work it will cause.
The rebuild(a) can be achieve at atomic level.
The order of the rebuild may be important to care of.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4942 Location: Bavaria
|
|
Back to top |
|
|
amauk n00b
Joined: 21 Jul 2011 Posts: 6
|
Posted: Thu Oct 10, 2024 10:39 pm Post subject: |
|
|
Noted.
Many thanks |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22487
|
Posted: Thu Oct 10, 2024 11:11 pm Post subject: |
|
|
CaptainBlood wrote: | It is true that some of such package rebuilds are done automagically.
But only because their ebuilds have directive(s) causing automatic rebuild under some circumstances. | I don't think this is correct. The preserved-rebuild feature handles this automatically, without ebuild directives. Perhaps you are thinking of subslot dependencies, which are used in an ebuild to force a rebuild when one is needed, but the soname does not indicate such. CaptainBlood wrote: | As long as you don't revdep-rebuild when requested, some former version of software will remain in the system, although newer is installed. | revdep-rebuild finds cases where a consuming library is linked to a non-present provider. If the former version remained installed, revdep-rebuild would not flag the consuming package as broken, and would do nothing. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2830
|
Posted: Thu Oct 10, 2024 11:16 pm Post subject: |
|
|
To add more, haven't used Gentoo for *that* long, but in the 6 years I've used it I haven't ran revdep-rebuild even once and all my systems are fine I know it used to be needed some time before that, but that was a long time ago.
That tool is also hardly maintained as it can be noted by the long list of open bugs:
https://bugs.gentoo.org/buglist.cgi?quicksearch=revdep-rebuild
Arguably it should be dropped entirely, albeit could have some obscure use cases even if not needed per se and it been left alone for now. Won't push for its removal, but if someone wants to I wouldn't object. |
|
Back to top |
|
|
|