-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 01/02/11 16:10, Daniel Baumann wrote: > Package: multistrap > Severity: important > > Hi, > > when bootstrapping with including additional packages, and that > additional package has a preinst that uses 'dpkg --compare-versions', > then multistrap fails, because it's calling the preinst scripts with no > arguments (instead of '$preinst upgrade $old_version $new_version').
I'm wondering if the right fix is to call the preinst with install instead of upgrade. There is no way of determining old_version unless upgrading an existing package set, which shouldn't really happen with multistrap. > this is particulary bad since quite important packages, such as postfix > or python are using dpkg --compare-versions in their preinst, making it > effectively impossible to bootstrap any non-basic system with multistrap. preinst scripts are a real problem with a complex system and it's currently very difficult for me to test. - -- Neil Williams ============= http://www.linux.codehelp.co.uk/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJNSHD/AAoJEPFn5DyBQ7aCWG4P/048R73pAKjMwVIcjWnzNXe6 uYTwSBJujPp0GjQq2RjEhNgTlBGjwEiWPjRGVo4s+71/R+XPffafbeFH8+NN90id U8U3B2sscKCFZZ2nhdMq/GGkuXc06EE1igimWl44z4Y3eme0D+4mn6MbXwoI8H5r ju2bV4c+QUZd6A4CVOui8KuD4wmxNYkgdwCogaCJF5UuLVCMNF7GBoaUg95+TvhL QMx9w0a7Np74m2H2CmuOEZKRgCsRqkmVp4ktImi6BAqFSrKH/trnjr8dL/aAJhrU R88Xq0saLzEtOrlrXREzYK7QpJ+7WuT6xeRWJgMNHWkbIOUXQbx9KdxQGXCrFE54 gkjlyOTNK3fUpotBthST3B9W4hfTmunLEK0xdccQisUW2nUHHrN3FZ9H04ClXMHp O7vMf+uY99riL1UQANn2+NvouWAm/BLvh3D+Q5D5KPDgHmvQmmsOJNFtuHD5QNq0 mgGc5/DCqVrfVmscpGpgyaUkegM8nrwmwyR0F7B6tJe3pdj04h/DTv/A3tXmRUoT 13eN/c8FhsklGCklArnrLK1n9RyPpMEvj/OPMPVCRV13aBYNEgcgpeXb6B3HizQs iJ3fHS4wTkbMbSawQSXbdtCOBVbiD+t3US+geymRoEcOW6pNh8ycT2lWZKP8GzqZ SYgJf3e4tQiLYC77ftUD =jdkL -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

