[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dash diversion issue and workaround



On Tue, 22 Nov 2011 15:09:56 +0100
Dominique Dumont <domi.dumont@free.fr> 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/

Attachment: pgp2wfR_7sO9G.pgp
Description: PGP signature


Reply to: