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

slink and potato #2



Yesterday I wrote a mail in which I asked you for help about how to get
potato-packages running on a slink system. The installation of some of
them,
invoked by 'dpkg -i <package>' failed with with the error message
"install-info: failed to lock dir for editing! No such file or directory".
So I took a look at /usr/sbin/install-info, which is a perl-script. The
code looks like this:

if (!$nowrite && !link("$infodir/dir", "$infodir/dir.lock")) {
   die "$name: failed to lock dir for editing! !$\n".
      ($! =~ m/exists/i ? "try deleting $infodir/dir/lock ?\n" : '');
}

$infodir has been previosly set to /usr/info
mkdir-ing manually /usr/bin/dir changes the scripts return value from
2 to 17 and the output accordingly to "... file exists".

-- 
Any help is welcome - i for myself have got no idea what to do
Daniel Alvarez * d-alvarez@gmx.de

Sent through Global Message Exchange - http://www.gmx.net


Reply to: