-----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').
> 
> this is particulary bad since quite important packages, such as postfix

Incidentally, this is the recipe for successful ssl-cert:

(inside the chroot)

mount -t proc /proc /proc

or from the top level directory outside:
mount -t proc /proc ./proc

(from the top level directory, inside or outside the chroot)

mknod ./dev/random c 1 8
chmod 640 ./dev/random
chown 0:0 ./dev/random
mknod ./dev/urandom c 1 9
chmod 640 ./dev/urandom
chown 0:0 ./dev/urandom

For other info on this, use the device-table.pl script with the
- --dry-run option. Example device_table.txt file packaged with multistrap.

Then use the chroot setupscript in the conf file.

and the inevitable:

export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
export LC_ALL=C LANGUAGE=C LANG=C
dpkg --configure -a

(which multistrap will do for you if the mknod operations are used).

...

Running newaliases
sysvinit: All runlevel operations denied by policy
invoke-rc.d: policy-rc.d denied execution of restart.




- -- 


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/

iQIcBAEBCAAGBQJNSHtwAAoJEPFn5DyBQ7aC1PMP/jP0fhl7W3RHqXNf0ck+ptoq
0uRx/QEwrZIxCXUMWzaukPxzynpVTAcl6IwHW6hMZBLkDtnSyGM10f29IuqbTWrt
+BcpY7d+zxgiJhAC4iYPdNYVA6hW9ulnfAi6cIQdqzFYQb9ovhzU5UI6XdOjxIvC
m82Ly6CjJCfeKWNAKui34oAzSmu2q6vaTIDl+MJvDSr7Z7GUElAAlllL4IdxG5dT
9RjlxGdj4uZ2J3UuZWB3uU5gH6kuzlg6PF7+NM2w9AzxzGyYoiPNqJEfP7XvqIQQ
ittKXrrJp1JbCdt9W8a/IPjM3LocOL5jQNGvuEp7pAQkMdiw8XKcXo10vArZUUO4
6rCZ99UjFxJupPaThtAQvMuCjXj9dWz0QPCRCJOTTYppyL33FMD5RQ1Fuy+vejOb
W0cghCkVZ98+ZItpOMjrguKA6D8VQApyamC1jUPyP3hWx3AGTZzEITMOzXmR4zO2
zPBSYuvcOqzVfOKFdnxGXkHMXGzIk8Z9uEJUguRFaU/r8J90Ck9eTtxalian4TfY
qIHpwG3EqoL90mnxTxcQwKWHN6Daq2vNeSj7Dy82z05FHURdPKLK4r98iAyPY7zn
FT+f5TRdR7XYry5yFuVFqAs6d2B1K/nltI4NFmhsYEjFTAcgC6qdfn+ykg3zja7a
oBQ3DzVT+g0Zb2qKLw5y
=paSf
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to