ubuntu12.04.5 installation Openssh-server the murders

Source: Internet
Author: User

Just installed ubuntu12.04.5 after installing Openssh-server, installation of other software is not installed, as follows:

[Email protected]:/home/lancer/software/ssh# apt-get Install vim
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
You might want-to-run ' apt-get-f install ' to correct these:
The following packages has unmet dependencies:
Openssh-server:depends:openssh-client (= 1:5.9p1-5ubuntu1) but 1:5.9p1-5ubuntu1.7 was to be installed
Recommends:ssh-import-id but it isn't going to being installed
Vim:depends:vim-runtime (= 2:7.3.429-2ubuntu2.1) But it isn't going to be installed
E:unmet dependencies. Try ' apt-get-f install ' with no packages (or specify a solution).
[Email protected]:/home/lancer/software/ssh#
[Email protected]:/home/lancer/software/ssh# apt-get Remove openssh-client
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
You might want-to-run ' apt-get-f install ' to correct these:
The following packages has unmet dependencies:
Openssh-server:depends:openssh-client (= 1:5.9p1-5ubuntu1) But it isn't going to be installed
Recommends:ssh-import-id but it isn't going to being installed
Ssh:depends:openssh-client but it isn't going to being installed
E:unmet dependencies. Try ' apt-get-f install ' with no packages (or specify a solution).

According to many tutorials on the web, what to do ...

  1. Apt-get -f Install xxx
  2. sudo mv /var/Lib/dpkg/Info/*/var/lib/dpkg/info.bak
  3. sudo rm -RF /var/Lib/dpkg/info //delete your new info folder
  4. sudo mv /var/Lib/dpkg/info. Bak /var/Lib/dpkg/Info //Change the previous Info folder back to the name

< Span class= "PLN" >< Span class= "KWD" >< Span class= "PLN" > None of the above has been resolved. Install any other software or prompt for openssh-server:depends:openssh-client (= 1:5.9P1-5UBUNTU1) But it's not going to be installed

< Span class= "PLN" >< Span class= "KWD" >< Span class= "PLN" >

< Span class= "PLN" >< Span class= "KWD" >< The workaround for span class= "PLN" >

sudo apt-get install OPENSSH-CLIEN=1:5.9P1-5UBUNTU1

ubuntu12.04.5 installation Openssh-server the murders

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.