Fixing ‘sudo: apt-get: command not found’ in Terminal

aptcommand linegnome-terminalinterface

Lately some really bad things have been happening with my computer, having to do with lack of icons and all kinds of bad things going with my graphical interface. All the bad things in the appeal are accompanied by a certain disability of my terminal. I'm using 12.04 with Gnome Classic view with no effects.

Let's have a sudo apt-get update.

I get sudo: apt-get: command not found message. And it is the way it goes with all my apt-get commands.

What can it mean? How to fix this, especially concerning all the other problems I'm experiencing?

Best Answer

The short answer:

Re-install Ubuntu from a Live CD or USB.

The long version:

The long version would be a waste of your time: your system will never be clean, but if you insist you could try:

  • copying everything (missing) except for the /home folder from the Live CD/USB to your HDD.

OR

  • do a re-install/repair over the broken system again with the Live CD / USB stick.

OR

  • download the deb file for apt-get and install as explained on above posts.

I would definitely go for a fresh new install as there are so many things to do and so little time.