Re: Dash diversion issue and workaround

Neil Williams <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
On Tue, 22 Nov 2011 15:09:56 +0100
Dominique Dumont <[email protected]> wrote:

> 
> Hello
> 
> I have some issues configuring dash and bash in a multistrap'ed ARM chroot.
> 
> I get the following error:
> 
> # dpkg --configure dash
> Setting up dash (0.5.5.1-7.4em1) ...
> No diversion 'diversion of /bin/sh by dash', none removed.
> This should never be reached
> dpkg: error processing dash (--configure):
>  subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
>  dash

Please read the Wiki, this is already covered:

http://wiki.debian.org/Multistrap#Steps_for_Squeeze_and_later

/var/lib/dpkg/info/dash.preinst install

> Following this hint mentioned in [1], I first attempted to work around this 
> issue by running:
> 
> # /var/lib/dpkg/info/dash.preinst 

Missing the argument.

> I guess that not running postint scripts with multistrap is fine, but not 
> running preinst scripts can still be an issue. 

preinst or postinst, neither can be run in a non-native environment.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk7LsqoACgkQk7DVr6iX/QKYZgCcD/vGv2pi5PsliUCfTgJXSCtQ
waQAoIkryWJ9H5Qg6XZtJz1Z7mSCclXd
=6t06
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.