openssh-server를 설치하면 openssh-client가 삭제되는 이유는 무엇입니까?

openssh-server를 설치하면 openssh-client가 삭제되는 이유는 무엇입니까?

Mint 17.3 Cinnamon 64비트를 사용하는 컴퓨터에서 다음 상황에 직면했습니다.

$ sudo apt-get 설치 openssh-서버

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  openssh-client:i386 openssh-sftp-server
Suggested packages:
  ssh-askpass:i386 libpam-ssh:i386 keychain:i386 monkeysphere:i386 rssh
  molly-guard monkeysphere
Recommended packages:
  ncurses-term ssh-import-id
The following packages will be REMOVED:
  openssh-client
The following NEW packages will be installed:
  openssh-client:i386 openssh-server openssh-sftp-server
0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
Need to get 928 kB of archives.
After this operation, 1 418 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

64비트 openssh-client를 제거하고 32비트를 설치하는 이유를 이해할 수 없습니다.

/etc/apt/sources.list

#deb cdrom:[Linux Mint 17.3 _Rosa_ - Release amd64 20151115]/ trusty contrib main non-free

/etc/apt/sources.list.d 폴더에는 많은 PPA가 포함되어 있습니다.

doublecmd.list
esmska.list
getdeb.list
google-chrome.list
graphics-drivers-ppa-trusty.list
inkscape_dev-stable-trusty.list
mono-xamarin.list
nijel-phpmyadmin-trusty.list
n-muench-programs-ppa2-trusty.list
official-package-repositories.list
official-source-repositories.list
ondrej-php-trusty.list
otto-kesselgulasch-gimp-trusty.list
playonlinux.list
spideroakone.list
spotify.list
steam.list
strukturag-libde265-trusty.list
ubuntu-sdk-team-ppa-trusty.list
ubuntu-touch-coreapps-drivers-daily-trusty.list
unit193-encryption-trusty.list
videolan-master-daily-trusty.list
virtualbox.list
wfg-0ad-trusty.list
wine.list

적절한 업데이트 받기

Reading package lists... Done  

나는 아무것도 잘못 볼 수 없습니다.

apt-get -o 디버그::pkgProblemResolver=true openssh-server 설치

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following extra packages will be installed:
  openssh-client:i386 openssh-sftp-server
Suggested packages:
  ssh-askpass:i386 libpam-ssh:i386 keychain:i386 monkeysphere:i386 rssh
  molly-guard monkeysphere
Recommended packages:
  ncurses-term ssh-import-id
The following packages will be REMOVED:
  openssh-client
The following NEW packages will be installed:
  openssh-client:i386 openssh-server openssh-sftp-server
0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
Need to get 928 kB of archives.
After this operation, 1,418 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort. 

apt-cache 정책 openssh-클라이언트 openssh-서버

openssh-client:
  Installed: 1:6.6p1-2ubuntu2.6
  Candidate: 1:6.6p1-2ubuntu2.6
  Version table:
 *** 1:6.6p1-2ubuntu2.6 0
        100 /var/lib/dpkg/status
     1:6.6p1-2ubuntu2.4 0
        500 http://archive.ubuntu.mirror.dkm.cz/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     1:6.6p1-2ubuntu1 0
        500 http://archive.ubuntu.mirror.dkm.cz/ trusty/main amd64 Packages
openssh-server:
  Installed: (none)
  Candidate: 1:6.6p1-2ubuntu2.4
  Version table:
     1:6.6p1-2ubuntu2.4 0
        500 http://archive.ubuntu.mirror.dkm.cz/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     1:6.6p1-2ubuntu1 0
        500 http://archive.ubuntu.mirror.dkm.cz/ trusty/main amd64 Packages

답변1

출력 에 따르면 설치 apt-cache policy가 있지만 openssh-client 1:6.6p1-2ubuntu2.6URL과 일치하지 않으며 버전 번호가 서버 버전 번호와 다릅니다.

Debian ssh 패키지에서는 클라이언트와 서버 버전이 정확히 일치해야 합니다.

apt따라서 설치한 버전을 삭제하려는 이유가 amd64분명합니다 . openssh-client덜 명확한 것은 i386설치를 시도하는 이유입니다 openssh-client.

따라서 다음을 수행하십시오.

apt-get purge openssh-client

그런 다음 openssh-clientopenssh-server.

apt-get install openssh-client openssh-server

추신: Julian Andres Klode의 설명 #debian-apt.

juliank> faheem: amd64 버전을 다운그레이드해야 합니다. 이는 금지되어 있습니다. 하지만 :i386은 분명히 다른 아키텍처(Multi-Arch: foreign)에 대한 종속성을 만족하므로 설치할 수 있습니다.

다른 아키텍처에 대한 종속성을 충족시키는 것이 조금 이상해 보이지만 i386클라이언트가 서버와 함께 작동할 수도 있다고 생각합니다 amd64.

관련 정보