Re: APT-GET Returns tar CRC Error

From: Kevin Mark (kmark+debian-user_at_pipeline.com)
Date: 08/03/05

  • Next message: Hal Vaughan: "Simple Services Question"
    Date: Wed, 3 Aug 2005 17:26:12 -0400
    To: debian-user@lists.debian.org
    
    
    

    On Wed, Aug 03, 2005 at 06:17:59AM -0700, jtmarran wrote:
    > Hello All!
    >
    > Looking for some help with the following problem...
    >
    > On apt-get update and then apt-get upgrade, get the output...
    >
    > Preconfiguring packages ...
    > Setting up tar (1.15.1-2) ...
    >
    > gzip: stdin: invalid compressed data--crc error
    > install-info(/usr/share/info/tar.info.gz): read gzip -cd
    > </usr/share/info/tar.info.gz |: 256
    > dpkg: error processing tar (--configure):
    > subprocess post-installation script returned error exit status 1
    > Errors were encountered while processing:
    > tar
    > E: Sub-process /usr/bin/dpkg returned an error code (1)
    >
    > Thinking that it might be a problem with tar, I've downloaded its
    > source, compiled and installed, but get the same error. Any other ideas
    > on how to resolve this and get apt working again?
    >
    > Running unstable.
    >
    > Thanks in advance!
    Hi j,
    At first these errors seem confusing, but a little knowlege can help.
    The .deb packages have scripts that are run before and after the files
    are unpacked. Sometimes these script fail. That is what happened in this
    case. you can investigate the scripts and try to correct the situation
    that caused the script to fail, you can modify the script to fix it, or you
    can modify the script to avoid the script error.

    The message says it encountered an error in the 'post-install script'.
    This had nothing to do with the unpacked files (tar binary files) but
    with the 'info' manual pages.

    If you can understand /var/lib/dpkg/info/tar.postinst then this can lead
    to a solution. Although I think the error is caused by a corrupt .deb package
    and would suggest removing it and downloading it again. check
    /var/cache/apt/archives/tar*.deb and delete the one marked 1.15.1-2.

    Cheers,
    Kev

    -- 
    counter.li.org #238656 -- goto counter.li.org and be counted!
          `$'         $'         
           $          $                      _
     ,d$$$g$  ,d$$$b. $,d$$$b`$' g$$$$$b $,d$$b
    ,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
    $$     $ $$ggggg$ $     $ $ ,$P""  $ $    $
    `$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $    $
     `Y$$P'$. `Y$$$$P $$$P"' ,$. `Y$$P'$ $.  ,$.
    
    

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


  • Next message: Hal Vaughan: "Simple Services Question"

    Relevant Pages

    • Re: libicui18n.so.36 not found, required by "evolution"
      ... It will only fetch programs that need updating, ... Later this day I will add some debugging functionality to the script and send that version to you, if you are willing to spend your time helping me finding this problem. ... And indeed pkg_libchk is by far the best solution, if I was to update every package that depended on icu I would have to update 239 packages which discouraged me right away, by running pkg_libchk the amount of packages to be updated was reduced to 71, wrote a quick script and left it running overnight and those packages got updated and by god I don't have any more problems with libicui18n.so.38. ... And until then you already have a description for all new commands. ...
      (freebsd-questions)
    • Re: SMS upgrade Side-By-Side 2.0 to 2003
      ... Being able to migrate queries and packages can prove to be valuable though. ... I still don't have a package import script because most of the time you ... MVP Windows Server System - SMS ...
      (microsoft.public.sms.setup)
    • Re: installing tcl locally
      ... If I understand correctely, tclkit runs starkits, where starkits are self ... contained virtual file system environment, that holds the packages folder, ... Then end up with myshell that can be used to run my script that requires ... AIX is the hardest part of the mix. ...
      (comp.lang.tcl)
    • Re: Using a package like PyInstaller
      ... create exe files that basically have your py script and a small py ... installed on a system to execute a py script. ... I am being advised that python ... and these types of packages and am not too sure how dumb a question this ...
      (comp.lang.python)
    • Request for Discription of ProgramFlags Bits - SMS 2003
      ... WMI object in the SMS 2003 SDK v2. ... I've customized the create Packages ... / Program script to read from a text file or prompt for the required ...
      (microsoft.public.sms.swdist)