Debian system installation openssh

888u

Last update at :2024-05-16,Edit by888u

Debian installation openssh-server encountered problems, please share the solutions. If the problem occurs after Debian is initialized and installed, use the first method to solve it. If the system suddenly appears after being used for a while, use the second method (also applicable to Ubuntu).

openssh-server Installation error message:

[email protected]:~# apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... 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
E: Unable to correct problems, you have held broken packages.

Method 1

Because the system software source is not configured or is incorrect, not only is there a problem with installing openssh-server, but other software cannot be installed as well.

The solution is to correctly configure the software installation source. For details, please refer to this article, which details how to correctly configure the system software source.

Method 2

Try to repair system dependency corruption, delete apt cache and list directory files, and then rebuild the package index.

apt-get install -f
apt-get clean
rm -rf /var/lib/apt/lists/*
apt-get update

Recommended site searches: domain name purchase, mainland China linux hosting, foreign space, registered international domain name vps server, domain name, Hong Kong server defense, mainland China php space, domain name query, how to query ip address,

Debian system installation openssh

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码