Page 1 of 1

ติดตั้ง SSH ไม่ได้ครับแก้ยังไง

Posted: 01/07/2017 1:41 pm
by nuattawoot
Error
sudo apt-get install openssh-server
reading package lists... Done
Some packages could not be installed. 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.
---------------------------------------------------------------------------------------------
แก้ไขโดยวิธีนี้แล้ว ก็เจอError อื่นอีก
sudo apt-get update
sudo apt-get install -f
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update

Re: ติดตั้ง SSH ไม่ได้ครับแก้ยังไง

Posted: 01/07/2017 3:02 pm
by mindphp
หลังจาก
sudo apt-get update
แล้ว Error อะไรครับ