On 2022-09-30, Wol <[email protected]> wrote: > Does that mean an update typically cleans a replaced package > automagically?
Yes (except for slotted packages). A "normal" upgrade emerge removes the old version. > I thought that usually they got left behind and that was > why you needed depclean - to remove all the old versions? Nope (except sometimes for slotted packages). Depclean is for clearing out stuff that was installed automagically as a dependancy but now doesn't need to be installed at all because 1. Whataver pulled it in as dependency got manually removed. 2. A package's dependencies got changed. > Certainly that's what I remember of depclean of old - the list of stuff > being cleaned was mostly old versions of what was installed. That happens for slotted packages and for things like kernel sources. On my systems, the only things that typically get removed by depclean are old versions of gentoo-sources and the occasional old slot of binutils (or whatever). -- Grant

