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

Re: Error installing packages in Etch



On Tue, 22 Aug 2006 16:44:37 -0800, Joshua J. Kugler wrote:
> dpkg  (subprocess): unable to execute new pre-installation script: permission 
> denied
> dpkg: error 
> processing /var/cache/apt/archives/openssh-server_1%3a4.3p2-2_i386.deb 
> (--unpack): subprocess pre-installation script returned error exit status 2
> dpkg (subprocess): unable to execute new post-removal script: Permission 
> denied
> dpkg: error while cleaning up:
>  subprocess post-removal script returned error exit status 2

If <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=58859> ever gets fixed
then this message will become more informative.

The first error is that the new package's preinst script failed. Switch to
an empty directory and run:

 dpkg-deb -e /var/cache/apt/archives/openssh-server_1%3a4.3p2-2_i386.deb

There should then exist a file, DEBIAN/preinst that you can begin to debug
with.

You could also just file a bug against openssh-server for failing to
install correctly. :)

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078



Reply to: