[Pkg-ia32-libs-maintainers] Bug#679780: ia32-libs: please document how to perform automated package install and upgrade tests that involve ia32-libs

Goswin von Brederlow goswin-v-b at web.de
Mon Jul 2 16:13:01 UTC 2012


Hi,

testing ia32-libs is pretty simple and should be the same as for all 32bit
packages that will switch to multiarch (e.g wine).

As you speculated you need to run dpkg --add-architecture and apt-get update.
After that ia32-libs can simply be installed.

For upgrades the same holds true. Except you can't add the foreign architecture
until you have already upgraded dpkg and apt. You will need to two this in
multiple steps:
* replace sources.list to point ot the next distribution
* run pre_distupgrade scripts (above variables + PIUPARTS_DISTRIBUTION_NEXT)
* apt-get dist-upgrade
* dpkg --add-architecture i386
* apt-get update
* apt-get dist-upgrade
* run post_distupgrade scripts (above variables + PIUPARTS_DISTRIBUTION_PREV)

So I figure you need some do_i_need_to_repeat_distupgrade script that figures
out if you need to go multi-arch and repeat the dist-upgrade.


Idealy this will be enough. ia32-libs should be held back on upgrade until
i386 is added as foreign architecture. Same for wine. But apt-get or aptitude
might decide to remove the package instead of holding it back. If so then
we need more detailed instructions for the release nodes. So some automatic
testing of upgrades will be invaluable.

MfG
	Goswin





More information about the Pkg-ia32-libs-maintainers mailing list