Re: In what phase are file "merged"?
Ulrich Mueller <[email protected]> Fri, 06 Aug 2021 06:22:53 +0200
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Fri, 06 Aug 2021, Joakim Tjernlund wrote: > On Wed, 2021-06-23 at 13:33 +0200, Michał Górny wrote: >> On Wed, 2021-06-23 at 12:40 +0200, Ulrich Mueller wrote: >> > I don't think that the ebuild can rely on any particular status of >> > the new package in pkg_*rm (of the old package), or the status of >> > the old package in pkg_*inst (of the new package). >> >> I would even say that it can't rely on the particular status of the >> old package in any case, if it's meant to be removed. In particular, >> its dependencies can be unmerged before the package itself. > Stubled ove this mail again and noticed "its dependencies can be > unmerged before the package itself" stmt. That does not make sense to > me. Deps should be unmerged after any pkg that depends on them? A popular workflow is "emerge -c -p" followed by "emerge -C" on entries of the list shown. IIUC emerge -C doesn't do any dependency resolution, therefore ebuilds cannot rely on any removal order. Ulrich
signature.asc
(application/pgp-signature, 507 B)
-----BEGIN PGP SIGNATURE----- iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmEMuR0PHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4uPv8IAJPvRAA8DzvQRJ3cPfmk1hRozQHOvzVVxdEj eykT7bSR20H2Ljtd/K1MMsFpHOrKH5GCd2OftcYdd+0Atyk0VwL3l2GZXWXIRbbM cHp1fD+UImh2JUxvZlfOu6OH+xDG8Li7WV7mCI2Z4wFhQsy4epoijK8Lhc2ryYgv 0DhYmzpJfN0O33143OrLn0ET8tK1Sho5wARBduGTB/olUwc8cWY21SeXmmqTSTyk W+B0Cp8iuFx6+RpO2YDxgu4OwKSTyhjMsYDRsb53If21OzjbozOHD8sVuRZyKtFu 0gQNa54OKgOzRJ9vcnkqCbG3DEUOSZcp69n41fDu8Zpc53SQ3Hs= =R/wS -----END PGP SIGNATURE-----