I'm trying to install htop
on my server (ubuntu 14.04). Here is the command:
sudo apt-get install htop
But it throws:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package htop
Noted that it throws E: Unable to locate package ....
for everything I would like to install (like phpmyadmin
). What's the problem and how can I fix it?
'universe' distribution component enabled for all sources.
– stack Dec 18 '17 at 07:03htop
and I install it as described here. What is the output of your update and install commands? – sudodus Dec 18 '17 at 07:07E: Unable to locate package htop
is still there when I try to install htop. Can you please take a look at my server if I give you user and password? – stack Dec 18 '17 at 07:09add-apt-repository command not found
, first install the software properties common:apt-get install software-properties-common
. – aderchox Aug 11 '20 at 07:04add-apt-repository command not found
but luckily I fixed my problem withsudo apt-get update
i did not update the system before installing the new package. – Sunil Sapkota Oct 30 '23 at 15:36