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

Re: /bin/sh: /usr/sbin/dpkg-preconfigure: No such file or directory



On Sat, Nov 11, 2000 at 03:20:50PM -0800, Art Lemasters wrote:
>   I am running woody.
> 
>   Running dselect in apt access mode, none of the upgrade
> packages will install.  I also tried running apt-get.
> The error message when trying to install is
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /bin/sh: /usr/sbin/dpkg-preconfigure: No such file or directory
> E: Sub-process /usr/sbin/dpkg-preconfigure --apt returned an error
> code (127) E: Failure running script /usr/sbin/dpkg-preconfigure
> --apt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> /usr/sbin/dpkg-preconfigure *is* there and contains less than 127
> lines
>   How can I fix this system so that it will upgrade for
> the time being?

looks like you got caught by dpkg 1.7.0 which has a broken
update-alternatives, this caused /usr/bin/perl to be deleted that is
the error your getting.  

create a /usr/bin/perl symlink yourself to fix it, usually its a link
to /etc/alternatives/perl which is a link to /usr/bin/perl-5.005 or
perl-5.6 something in your case (the perl upgrade is how the link got
trashed) 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp0p7sLluyll.pgp
Description: PGP signature


Reply to: