can't install packages with apt-get

44 views
Skip to first unread message

Stefan M.

unread,
Sep 7, 2014, 5:18:01 PM9/7/14
to deb...@googlegroups.com
Hey all,

i try to figure out whats going on with my network traffic and a wanted to install iftop. So i tried to do the following:

# sudo apt-get install iftop

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Paket iftop ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.

E: Paket "iftop" hat keinen Installationskandidaten


Translated this is something like: iftop is not available but referenced somewhere else. I tried to find a solution via google but i did not manage it. All the way i read about the sources.list but i thing the one i use is correct. Please see below:

deb http://ftp.de.debian.org/debian wheezy main
deb http://ftp.de.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free

I don't know whats going on. I am not that used to linux system. It seem that i can not install any package via apt-get.

I appreciate all help.

Cheers
Stefan

Pablo Alvarez de Sotomayor Posadillo

unread,
Sep 8, 2014, 4:08:53 AM9/8/14
to deb...@googlegroups.com
Hi,

> Translated this is something like: iftop is not available but referenced
> somewhere else. I tried to find a solution via google but i did not manage
> it. All the way i read about the sources.list but i thing the one i use is
> correct. Please see below:

This error usually is caused by a package that have been removed (at least
temporarily) from the debian repository. As I see in [1] the package is in the
stable distribution, so probably you have to do an 'apt-get update' before
trying to install it again.

Regards

[1] - https://packages.debian.org/search?searchon=contents&keywords=iftop&mode=path&suite=stable&arch=any

--
Pablo Álvarez de Sotomayor Posadillo
Barchelor Degree in Computer Science
http://ritho.net
http://blogs.fsfe.org/palvarez
"Of all the things I've lost,
I miss my mind the most."
signature.asc

Stefan Michalsky

unread,
Sep 8, 2014, 6:05:33 PM9/8/14
to deb...@googlegroups.com
Hi Pablo,

i already tried to update and upgrade. This leads to the information that no newer packages are available. Personally i guess my apt is broken some how but i don't know how to figure that out.

Cheers
Stefan

Adriano Andrade

unread,
Sep 20, 2016, 4:15:18 PM9/20/16
to Debian
1. Look your sources.list file.
2. Comment the line: #deb cdrom:[Debian GNU/Linux 8.4.0 _Jessie_ - Official amd64 DVD Binary-1 20160402-14:46]/ jessie contrib main
3. As root... apt-get clean
4. apt-get update
5. apt-get upgrade
6. apt-get install iftop
Reply all
Reply to author
Forward
0 new messages