Debian Linux 패키지 CUPS의 특정 버전을 설치하는 방법은 무엇입니까?

Debian Linux 패키지 CUPS의 특정 버전을 설치하는 방법은 무엇입니까?

특정 버전을 설치하려고 합니다.(2.2.1-8+deb9u2)~의컴퓨터 지원 시스템캡슐화됨데비안:스트레치 슬림 리눅스. 하지만 다음과 같은 오류가 발생합니다.

$apt install -y cups=2.2.1-8+deb9u2
Reading package lists...
Building dependency tree...
Reading state information...
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:
 cups : Depends: libcups2 (= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
        Depends: libstdc++6 (>= 5) but 4.9.2-10+deb8u1 is to be installed
        Depends: cups-core-drivers (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
        Depends: cups-daemon (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
        Depends: cups-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
        Depends: cups-server-common (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
        Depends: cups-client (>= 2.2.1-8+deb9u2) but 1.7.5-11+deb8u4 is to be installed
        Recommends: avahi-daemon but it is not going to be installed
        Recommends: colord but it is not going to be installed
        Recommends: printer-driver-gutenprint but it is not going to be installed
Unable to correct problems, you have held broken packages.
The command 'apt install -y cups=2.2.1-8+deb9u2' returned a non-zero code: 100
Build step 'Execute shell' marked build as failure
Finished: FAILURE

내가 어디서 잘못됐나요?

설치 이유1.7.5-11+deb8u4설치하시겠습니까?

여기서 뭔가 빠졌나요?

$ apt-cache policy cups
cups:
  Installed: 1.7.5-11+deb8u4
  Candidate: 1.7.5-11+deb8u4
  Version table:
     2.2.1-8+deb9u2 0
        -10 http://deb.debian.org/debian/ stretch/main amd64 Packages
     2.2.1-8+deb9u1~bpo8+1 0
        100 http://deb.debian.org/debian/ jessie-backports/main amd64 Packages
*** 1.7.5-11+deb8u4 0
        500 http://security.debian.org/debian-security/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.7.5-11+deb8u2 0
        500 http://deb.debian.org/debian/ jessie/main amd64 Packages

왜 설치할 수 없나요?2.2.1-8deb9u2버전더반 8?

답변1

고치기가 쉽기 때문이죠. 노력하다:

apt install -t stable cups

답변2

마지막으로 필요한 패키지 버전이 설치됩니다. 요즘 Debian 8은 1.7.5만 지원하기 때문에 Debian 8에 2.2.1을 설치하려고 합니다.

저는 지금 데비안 9를 사용하고 있는데 아주 잘 돌아갑니다.

관련 정보