Page 1 of 1

apt-get install htop problem

Posted: Thu Jul 21, 2016 11:25 am
by mikemoy
apt-get update works fine. I was able to install nano, but when I tried apt-get install htop i got the following error. I received the same error with a couple other common packages as well like tightvncserver.

root@FriendlyARM:~# apt-get install htop
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package htop
root@FriendlyARM:~#

Re: apt-get install htop problem

Posted: Thu Jul 21, 2016 1:45 pm
by Waz
If you can't get the packet via apt-get; you can always do install from source : http://hisham.hm/htop/

Re: apt-get install htop problem

Posted: Thu Jul 21, 2016 2:08 pm
by mikemoy
Thank you, but I should not have to do that. Something is not right.

Re: apt-get install htop problem

Posted: Sat Jul 23, 2016 2:11 pm
by mikemoy
Friendly ARM what is the problem here? I cannot install many packages. Currently its useless in this state.

Re: apt-get install htop problem

Posted: Sun Jul 24, 2016 9:42 am
by davef
Maybe, go to /etc/apt/ and modify the sources.list to a Debian mirror in your country.

If you can apt-get install dctrl-tools

try:

Code: Select all

dpkg --configure -a
sync-available

Also,

Code: Select all

apt-get clean all
dpkg --configure -a
apt-get install -f  (maybe look this one up before running as I forget what this one does)

Re: apt-get install htop problem

Posted: Wed Jul 27, 2016 7:52 am
by TheBluProject
Mike,

Add this to your /etc/apt/sources.list

Code: Select all

deb http://ports.ubuntu.com/ubuntu-ports/ wily universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ wily universe


TBP

Re: apt-get install htop problem

Posted: Thu Jul 28, 2016 1:46 am
by mikemoy
TheBluProject wrote:
Mike,

Add this to your /etc/apt/sources.list

Code: Select all

deb http://ports.ubuntu.com/ubuntu-ports/ wily universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ wily universe


TBP


Thank everyone for the help, this post here worked like a charm. Thank you

Re: apt-get install htop problem

Posted: Mon Aug 01, 2016 9:21 pm
by M4xw3llo_90
Hi,

Got the same problem with some packages.
But it worked by installing an older version:

wget http://hisham.hm/htop/releases/1.0.3/htop-1.0.3.tar.gz
./configure; make; make install (made some problems because of an missing package)

used apt-get install libncursesw to install extra packages:

The following extra packages will be installed:
libtinfo-dev libtinfo5-dbg
Suggested packages:
ncurses-doc
The following NEW packages will be installed:
libncursesw5-dbg libncursesw5-dev libtinfo-dev libtinfo5-dbg

after that it worked smoth

Br Max