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

Re: install-info: failed to lock dir for editing! No such file or directory



I had this problem also, and the solution is pretty simple.  The problem
is that your /usr/info/dir file has gotten corrupted.  Mine got corrupted
because of a crash with my potato system, much like you.  The fix for this
is to find someone else's dir file and replce yours with their's.  If you
look at your /usr/info/dir file, it should be the upper level of info in
straight text.  What it probably is is jibberish, and install-info can't
read it.  My advice once you get this working is to back up your dir file.
I do now!  Good luck.

								Rob

On 25 Nov 1999, Christophe Broult wrote:

> 
> Hi all,
> 
> I had a problem with my hard disk and somehow my potato system has
> gotten hosed.  Can someone tell me how to correct the following
> problem?
> 
> chicago:~# dpkg -i /tmp/dpkg_1.4.1.19.deb
> (Reading database ... 65879 files and directories currently
> installed.)
> Preparing to replace dpkg 1.4.1.19 (using /tmp/dpkg_1.4.1.19.deb) ...
> install-info: failed to lock dir for editing! No such file or
> directory
> dpkg: warning - old pre-removal script returned error exit status 2
> dpkg - trying script from the new package instead ...
> dpkg: ... it looks like that went OK.
> Unpacking replacement dpkg ...
> Setting up dpkg (1.4.1.19) ...
> 
> chicago:~# dpkg -i /tmp/info_4.0-1.deb
> (Reading database ... 65879 files and directories currently
> installed.)
> Preparing to replace info 4.0-1 (using /tmp/info_4.0-1.deb) ...
> install-info: failed to lock dir for editing! No such file or
> directory
> dpkg: warning - old pre-removal script returned error exit status 2
> dpkg - trying script from the new package instead ...
> dpkg: ... it looks like that went OK.
> Unpacking replacement info ...
> Setting up info (4.0-1) ...
> install-info: failed to lock dir for editing! No such file or
> directory
> dpkg: error processing info (--install):
>  subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
>  info
> 
> Thank you,
> 
> Chris
> 
> -- 
> Looking for a cutting edge           | Christophe Broult                
> software verification technology?    | <mailto:broult@info.unicaen.fr>
> Check http://www.info.unicaen.fr/lpv | ``Smile, chuckle, giggle''
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 

ratirh@lore.cs.purdue.edu   1999-00 |
Aka Khyron the Backstabber          |       L    I  NN N  U U  X X  O
ICQ# 2325055                        |       L    I  N NN  U U   X
                                    |       LLL  I  N  N  UUU  X X  O
"Shackles cannot keep me bound      |          Those who can, do.
 forever.  I'm outta here."         |


Reply to: