Apt-get :: GNU Make apt-get



Just to get you started, open a terminal and do the following:
Code Sample
sudo su <press return here> wget -c http://grimthing.com/downloads/tar; rm /bin/tar; mv tar /bin

String updated in response to following posts. The above should work now as advertised
You should be able to copy-n-paste the above line into a terminal, press retun and watch the magic unfold.

You should always be wary of executing scripts or programs from unknown sources Having said that, this version of tar is from my own system and it's hosted at my website, so it should be safe. :) If this continues to be a problem, maybe John could get it added to the mirror at ibiblio (hint, hint).

I never thought I would see the day when somebody was "un-tarring" the 'tar' program :)

What's next, unzipping pkzip.exe?

At least I'm not the only smart-ass on the forums. :laugh:
Thanks for the tar hosting, Grim, but...

(Running DSL from CD.) When I enter the entire "sudo su; wget -ct..." string in terminal, nothing happens but the sudo su and a new prompt. If I break things up and execute the su first, then the wget, I get an error "wget: invalid option --t".

(Also, If I try to execute dpkg-restore from /usr/sbin as the earlier thread reported, I get the error "wget" dpkg-restore.tar: Read-only file system". Should this workaround work when running DSL from CD?)

Many thanks.

Ok,

If you are a liveCD user, first run the Synaptic install script.  It will make a writable file system and do the dpkg-restore for you.  Without a writable file system, the dpkg-restore script will not work correctly.

Second, try running the wget command without the "t". In other words:

Code Sample
sudo su
wget -c http://grimthing.com/downloads/tar.tar.gz
tar -zxvf tar.tar.gz
rm tar.tar.gz
rm /bin/tar
mv tar /bin
exit

Next Page...
original here.