I have accidentally removed apt-get, how do I reinstall it?
$ sudo apt-get update
sudo: apt-get: command not found
$ sudo dpkg-reconfigure apt
/usr/sbin/dpkg-reconfigure: apt is broken or not fully installed
I would like to mention I do not want to reinstall Linux!
cat /var/log/apt/history.log | grep remove
, if you removed it usingapt-get remove
. If you used the purge command, replace the grep string accordingly. If you did it differently, just output the log file. – s3lph May 21 '15 at 11:38Start-Date: 2015-05-18 22:05:40 Commandline: /usr/sbin/synaptic Purge: account-plugin-aim:i386 (3.8.6-0ubuntu9.1) End-Date: 2015-05-18 22:05:42
– privateoneuser May 21 '15 at 11:52