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

Re: Apt-get error with package diff



on Mon, Oct 27, 2003 at 03:01:05PM +0100, Juan Pablo Valenzuela (jpvalenz@puc.cl) wrote:
> Hello:
> my pc frezze in a middle of a dist-upgrade so i must to restart. Now the
> apt-get doesn't work anymore... this is the message:
> 
> # apt-get install diff
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be upgraded
>   diff
> 1 upgraded, 0 newly installed, 0 to remove and 136 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/243kB of archives.
> After unpacking 0B of additional disk space will be used.
> (Reading database ... 106117 files and directories currently installed.)
> Preparing to replace diff 2.8.1-4 (using
> .../archives/diff_2.8.1-5_i386.deb) ...
> install-info(/usr/share/info/diff.info): failed to lock dir for editing!
> File exists
> try deleting /usr/share/info/dir.lock ?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Well, did you?

> This shouldn't happen at /usr/share/perl/5.8.1/Text/Wrap.pm line 64.
> dpkg: warning - old pre-removal script returned error exit status 9
> dpkg - trying script from the new package instead ...
> install-info(/usr/share/info/diff.info): failed to lock dir for editing!
> File exists
> try deleting /usr/share/info/dir.lock ?
> This shouldn't happen at /usr/share/perl/5.8.1/Text/Wrap.pm line 64.
> dpkg: error processing /var/cache/apt/archives/diff_2.8.1-5_i386.deb
> (--unpack):
>  subprocess new pre-removal script returned error exit status 9
> install-info(/usr/share/info/diff.info): failed to lock dir for editing!
> File exists
> try deleting /usr/share/info/dir.lock ?
> This shouldn't happen at /usr/share/perl/5.8.1/Text/Wrap.pm line 64.
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 9
> Errors were encountered while processing:
>  /var/cache/apt/archives/diff_2.8.1-5_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> I tried to delete dir.lock, but when I re-run apt-get the same error
> apear....
> 
> Anybody know what can I do?
> Pablo
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
  The revolution will not be televised.
  You can apt-get it from the usual mirrors, however.     http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: