On 7/27/25 6:46 AM, Philip Webb wrote:

> I've run into this before, eg re sound, but not so severely.
> It's a defect in Portage, which no-one seems to want to acknowledge :
> it will happily update a pkg without including its vital requirements.

I think that shouldn't be able to happen except when using --oneshot, or
at least, all the times I can recall seeing this were in such a case --
because portage allows uninstalling or upgrading a package to break
another installed package, iff that other package is eligible for
--depclean.

But that is why you're advised to regularly do a full world update
followed by depclean...

> I was able to solve the problem with the help of 'pkg.ref',
> my own invention long ago (I've been using Gentoo since 2003).
> Here is an extract, listing all 'media-libs' pkgs which are installed :
> 
>     230717 media-libs/a52dec-0.7.4-r8 [for vlc]
>     250427 media-libs/alsa-lib-1.2.13-r3 [for FF]
>     230717 media-libs/alsa-topology-conf-1.2.5.1 [for alsa-lib]


Is this manually maintained? What happens when a package is installed
due to multiple other packages?

For top level packages I like to use /etc/portage/sets/* which supports
comments describing why each package should be in @world.


-- 
Eli Schwartz

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to