On 10/28/13 2:58 PM, Martin Costabel wrote: > I remember a discussion 2 months ago about dpkg producing en error > > tar: This does not look like a tar archive > tar: Exiting with failure status due to previous errors > /sw/bin/dpkg-deb: subprocess tar returned error exit status 2 > > I thought this was fixed, but I am seeing it now, with dpkg- > 1.10.21-1238 on 10.9. What is weird is that fink's use of dpkg does > actually work, namely 'dpkg-lockwait -i' does not give the error. > > Otherwise, I get the error with 'dpkg -c', 'dpkg -x', 'dpkg -i'. For > example: > > costabel% sudo dpkg -i > /sw/fink/debs/fink_0.35.99.git-20131025.0654_darwin-x86_64.deb > tar: This does not look like a tar archive > tar: Exiting with failure status due to previous errors > /sw/bin/dpkg-deb: subprocess tar returned error exit status 2 > /sw/bin/dpkg: error processing > /sw/fink/debs/fink_0.35.99.git-20131025.0654_darwin-x86_64.deb (--install): > subprocess /sw/bin/dpkg-deb --control returned error exit status 2 > Errors were encountered while processing: > /sw/fink/debs/fink_0.35.99.git-20131025.0654_darwin-x86_64.deb > > But: > > costabel% sudo dpkg-lockwait -i > /sw/fink/debs/fink_0.35.99.git-20131025.0654_darwin-x86_64.deb > (Reading database ... 204220 files and directories currently installed.) > Preparing to replace fink 0.35.99.git-20131025.0654 (using > .../fink_0.35.99.git-20131025.0654_darwin-x86_64.deb) ... > Unpacking replacement fink ... > Setting up fink (0.35.99.git-20131025.0654) ... > > What is going on? >
There's something weird going on with dpkg/tar/gettext. As an interim workaround, fink's calls to dpkg are wrapped setting environment variables LANG="C" and LC_ALL="C". -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel