OpenSSH – libwrap error on Ubuntu 12.04

While attempting to install OpenSSH-Server on Ubuntu Server 12.04 I received the following libwrap0 error:

josh@test03:~$ sudo apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be install. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
 openssh-server : Depends: libwrap0(>= 7.6-4~) but it is not installable
                      Recommends: ssh-import-id but it is not installable
E: Unable to correct problems, you have held broken packages.

The problem was resolved by running:

sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
sudo rm -rf /var/lib/apt/lists/partial/*
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
This entry was posted in Uncategorized. Bookmark the permalink.

6 Responses to OpenSSH – libwrap error on Ubuntu 12.04

  1. vamsi says:

    this worked… Thank you so much

    Like

  2. cl says:

    Thanks a lot !!!

    Like

  3. Faith says:

    Hey, thanks very much; Worked like charm.

    Like

  4. asdasd says:

    thank you awesome!

    Like

  5. Jason says:

    thank you awesome! Efctive 100%. Thank you so much!!!

    Like

  6. VICTOR LE DEUFF says:

    Not working in the last Debian release…

    Like

Leave a comment