Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174328 - call order of phases in PMS does not match portage 2.1.2.3 for upgrades
Summary: call order of phases in PMS does not match portage 2.1.2.3 for upgrades
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 563798
  Show dependency tree
 
Reported: 2007-04-12 18:43 UTC by Marien Zwart (RETIRED)
Modified: 2023-08-26 06:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2007-04-12 18:43:00 UTC
When upgrading a package portage calls the phases in the following order:

 * src_compile testapp-2
 * src_test testapp-2
 * src_install testapp-2
 * pkg_preinst testapp-2
 * pkg_postinst testapp-2
 * pkg_prerm testapp-1
 * pkg_postrm testapp-1

so postinst for the new version is called before prerm of the old
version, while the PMS specifies postinst for the new version happens
after postrm for the old version. On downgrades the same thing
happens. On remerges behaviour matches PMS.
Comment 1 Ciaran McCreesh 2007-04-12 19:08:32 UTC
Oops. r160.