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

Re: error with dpkg



> hi everyone, i was updating serveral 486's over the weekend and I get the
> following error.
> 
> [root:/home/paul/tmp:]$dpkg -i gcc_2.7.2.1-9.deb
> Selecting previously deselected package gcc.
> (Reading database ... 6871 files and directories currently installed.)
> Preparing to replace gcc 2.7.2.1-4 (using gcc_2.7.2.1-9.deb) ...
> /var/lib/dpkg/info/gcc.prerm: /usr/sbin/install-info: No such file or
[..]
> Errors were encountered while processing:
>  gcc_2.7.2.1-9.deb
> 
> here is the file /var/lib/dpkg/nfo/gcc.prerm
> #! /bin/sh
> 
> set -e
> 
> install-info --quiet --remove gcc
> 


If the prerm script (/var/lib/dpkg/nfo/gcc.prerm) is that simple,
usually it's safe to just

  rm /var/lib/dpkg/nfo/gcc.prerm

and re-run dpkg.

However, in your case you _should_ have /usr/sbin/install-info.
Is that file indeed missing, or is it maybe referring to
perl in /bin? (The first line of /usr/sbin/install-info should
read: "#! /usr/bin/perl --", but maybe it reads "#!/bin/perl").

I remember the location of perl being moved recently (how long ago?
one year? Don't know), so that may explain it.





-- 
joost witteveen, joostje@debian.org

Potentially offensive files, part 5: /dev/random.
`head -c 4 /dev/random` may print 4-letter words (once every approx 4e8 tries).


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: