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'$ $. ,$.
Description: Digital signature