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

Re: /dev/fd/4 ??



On Wed, Jul 28, 1999 at 08:26:00PM +0200, Gerhard Poul wrote:
> what's /dev/fd/4??

That's a temporary name for the interpreter of a script. If you use
"#!/bin/foobar", and the hurd can't find foobar anywhere, it will map this
to a temporary whatever (pipe I think) /dev/fd/4.
 
> I get such errors very frequently when installing new packages on my i486
> running Hurd. :-(((

Then you are lacking a script interpreter. Do you have bash installed, and
perl?
 
> shadow:~# dpkg -i binutils_2.9.1.0.19a-4.deb 
> Selecting previously deselected package binutils.
> (Reading database ... 4181 files and directories currently installed.)
> Unpacking binutils (from binutils_2.9.1.0.19a-4.deb) ...
> Setting up binutils (2.9.1.0.19a-4) ...
> /dev/fd/4: /dev/fd/4: No such file or directory
> dpkg: error processing binutils (--install):
>  subprocess post-installation script returned error exit status 127
> Errors were encountered while processing:
>  binutils

binutils.postinst is a shell script, so /bin/sh must be there and not a dangling
symlink.

binutils-postinst does call install-info, which is a perl script. So I
guess you are lacking /usr/bin/perl. Did you install perl-base package? Is
perl a dangling symlink? If you have a perl.dist file, rename it to perl.

> Is this a real device?? How can I create it??

No & you can't.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org   finger brinkmd@ 
Marcus Brinkmann              GNU    http://www.gnu.org     master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09


Reply to: