Comment 8 for bug 369658

Revision history for this message
Kevin Merigot (kevin-merigot) wrote : Re: [Bug 369658] Re: package apport 1.0-0ubuntu5 failed to install/upgrade: subprocess new pre-removal script returned error exit status 2

\o/ IT WORKS ! Thank you very much !

sudo vim /etc/init.d/apport
changed PATH=/bin to PATH=/bin:/sbin and saved
sudo apt-get upgrade

No soucy ! :)

Zombywuf a écrit :
> The problem is that the script /etc/init.d/apport sets the PATH variable to /bin. It then tries to use the runlevel command to stop itself, but runlevel is in /sbin. The quick fix is to change the line:
> PATH=/bin
> to
> PATH=/bin:/sbin
> in /etc/init.d/apport
>
>