Il giorno lun 10 gen 2022 alle ore 06:39 Michał Górny <mgo...@gentoo.org> ha scritto: [...]
> > The big problem is that switching implies changing the format, so if you > install foo-X, then switch, then reinstall the same version of foo, > you're going to have the file replaced by a directory. This is not > supported by the PMS, and Portage handles it somewhat suboptimally > (renaming the old file and leaving it orphaned). > > Is it possible to force the package to own the file may be touching it in src_install() ? This way we have a dirty installation but no orphaned file and it would be back to normal at next install