4

How do you install lsof on Debian/kFreeBSD Testing (Wheezy/Sid)?

$ apt-get install lsof
Package lsof is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'lsof' has no installation candidate

Edit: /etc/apt/sources.list:

deb http://http.debian.net/debian/ testing main contrib non-free
deb-src http://http.debian.net/debian/ testing main contrib non-free

deb http://security.debian.org testing/updates main contrib non-free
deb-src http://security.debian.org testing/updates main contrib non-free
basic6
  • 2,837

1 Answers1

3

The package lsof is not part of the kFreeBSD variant of Debian as can be confirmed here: Debian software search

Maybe sockstat can be helpful in this context. Sockstat gives you information about the opened sockets like which process/command is using it.

Marco
  • 4,444