APT-GET missing?

Chat about anything related to Linux Mint
Post Reply
anthonystevens
Level 1
Level 1
Posts: 1
Joined: Sat Apr 28, 2018 8:44 am

APT-GET missing?

Post by anthonystevens » Sat Apr 28, 2018 8:49 am

I have an older laptop where I've installed Linux Mint 18.03.
When I tried to install a new package using "sudo apt-get powertop", it asks for my password, then fails with a "program not found" message.
Apparently apt-get is not recognized. What is going on?

User avatar
MintBean
Level 9
Level 9
Posts: 2908
Joined: Fri Aug 07, 2015 6:54 am
Location: Blighty

Re: APT-GET missing?

Post by MintBean » Sat Apr 28, 2018 9:24 am

sudo apt-get install powertop or, easier to type apt install powertop

User avatar
Flemur
Level 15
Level 15
Posts: 5929
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: APT-GET missing?

Post by Flemur » Sat Apr 28, 2018 9:40 am

anthonystevens wrote:
Sat Apr 28, 2018 8:49 am
I have an older laptop where I've installed Linux Mint 18.03.
When I tried to install a new package using "sudo apt-get powertop", it asks for my password, then fails with a "program not found" message.
Apparently apt-get is not recognized. What is going on?
Good question.

MintBean pointed out that your syntax is wrong, but I get a different error message:

Code: Select all

$ sudo apt-get powertop
[sudo] password for <X>: 
E: Invalid operation powertop
$
You can check for a program like this:

Code: Select all

$ which apt-get
/usr/bin/apt-get
If the program doesn't exist it returns nothing.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

Post Reply

Return to “Chat about Linux Mint”