Perl fixed; Apt hangs on unlocked directory

From: Adam Bogacki (afb_at_paradise.net.nz)
Date: 08/26/03

  • Next message: Pelger: "Sehr geehrte Damen und Herren,"
    To: <debian-user@lists.debian.org>, <slug@slug.org.au>
    Date: Tue, 26 Aug 2003 22:05:41 +1200
    
    

    Thanks. In a nutshell ..

    Tux:/usr/bin# ./perl5.8.0 -V
    Can't locate Export.pm in @INC
    (but it gave me the files making up @INC)

    I copied Exporter.pm to /usr/lib/perl5/5.8.0 and

    Tux:/usr/bin# ./perl5.8.0 -V
    [heaps of stuff]
    @INC
    /etc/perl
    /usr/local/lib/perl/5.8.0
    /usr/local/share/perl/5.8.0
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.8.0
    /usr/share/perl/5/8/0
    /usr/local/lib/site_perl

    and a similar format with
    Tux:/usr/local/bin perl -V

    I tried
    apt-get install -q <package> &> apt.log
    but it always hung. I might be missing something...

    apt-get -f -u dist-upgrade --fix-broken

    now gives me ~130 pkgs, probably due to the 'unstable' rate of change.
    The error message was

    "Preparing to replace coreutils_5.0.90-2 (using ...
    coreutils_5.0.90-3_i386.deb) ...
    install-info (/usr/share/info/coreutils.info): no file
    /usr/share/info/dir,
    retrieving backup file /var/backups/infodir.bak
    cp: cannot create regular file '/usr/share/info/dir': No such file or
    directory
    install-info(/usr/share/info/coreutils.info):copying
    /var/backups/infodir.bak to /usr/share/info/dir failed, giving up: No
    such file or directory
    dpkg: warning old pre-removal script returned error exit status 1"

    I created /usr/share/info/dir and copied /var/backups/infodir.bak
    there but still could not install coreutils.

    I deleted 'infodir.bak' from /usr/share/info/dir but apt-install
    failed with the error message

    "Preparing to replace coreutils_5.0.90-2 (using
    .../coreutils_5.0.90-3_i386.deb) ...
    install-info(/usr/share/info/coreutils.info): failed to lock dir for
    editing! Operation not permitted.
    E: ...)"

    which leaves me stumped.

    Any constructive ideas appreciated.

    Adam Bogacki.
    afb@paradise.net.nz

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Pelger: "Sehr geehrte Damen und Herren,"

    Relevant Pages

    • Re: SP2 Wont Install
      ... in the partial log posted here neither FATAL or WARNING appear. ... 0xf00d from the log to an 0x80242008 error code. ... On the Edit menu, click Find, and then search for the specific error message. ... Additionally, if you do not know which error occurred on the Windows update Web site or you want to find more information about a failure by Automatic Updates, search for the following key words: ...
      (microsoft.public.windowsupdate)
    • Re: Zero values cause errors on log scale
      ... >and the warning is telling you something important. ... The Excel error message is infuriating because it cannot be disabled on ... a per plot basis. ... precisely zero values. ...
      (microsoft.public.excel.charting)
    • Event Viewer Error Messages
      ... I am frequently getting an error message in the "System" Event Log. ... At the exact same time a warning message is being logged. ... events are then logged-in once again 15 seconds later. ... no user action is required." ...
      (microsoft.public.windowsxp.help_and_support)
    • Event Viewer Error Messages
      ... I am frequently getting an error message in the "System" Event Log. ... At the exact same time a warning message is being logged. ... events are then logged-in once again 15 seconds later. ... no user action is required." ...
      (microsoft.public.windowsxp.hardware)
    • Event Viewer Error Messages
      ... I am frequently getting an error message in the "System" Event Log. ... At the exact same time a warning message is being logged. ... events are then logged-in once again 15 seconds later. ... no user action is required." ...
      (microsoft.public.windowsxp.general)