여기에 특정 패키지를 설치하거나 적절한 알림을 방지하려면 어떻게 해야 합니까?

여기에 특정 패키지를 설치하거나 적절한 알림을 방지하려면 어떻게 해야 합니까?

패키지를 업데이트했는데 apt다음 알림으로 인해 하나의 패키지가 업데이트될 수 있음을 발견했습니다.

1 package can be upgraded. Run 'apt list --upgradable' to see it.

옵션은 다음과 같습니다

  1. 버전으로 업데이트하세요 libreoffice-sdbc-firebird/stretch-backports 1:5.4.0-1~bpo9+1 amd64.
  2. 알림을 방지하려면

알림 코드 복사

masi@masi:~$ sudo apt update
...
Hit:15 http://cdn-fastly.deb.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.

패키지 목록을 확인하고, 업데이트할 패키지와 현재 상태를 선택하세요.

masi@masi:~$ apt list -a --upgradable
Listing... Done
libreoffice-sdbc-firebird/unstable 1:5.4.0-1 amd64 [upgradable from: 1:4.3.3-2+deb8u7]
libreoffice-sdbc-firebird/stretch-backports 1:5.4.0-1~bpo9+1 amd64
libreoffice-sdbc-firebird/now 1:4.3.3-2+deb8u7 amd64 [installed,upgradable to: 1:5.4.0-1]

1. 패키지를 불안정한 버전으로 업데이트해 보세요.

이 작업을 수행하지만 충돌이 있으므로 옵션 (2)가 더 좋아 보입니다.

masi@masi:~$ sudo apt install libreoffice-sdbc-firebird/stretch-backports
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '1:5.4.0-1~bpo9+1' (Debian Backports:stretch-backports [amd64]) for 'libreoffice-sdbc-firebird'
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:
 libreoffice-sdbc-firebird : Depends: libreoffice-core (= 1:5.4.0-1~bpo9+1) but 1:5.2.7-1 is to be installed
                             Depends: uno-libs3 (>= 5.3.0~alpha) but 5.2.7-1 is to be installed
E: Unable to correct problems, you have held broken packages.

2. 이 알림이 표시되지 않도록 방지

현재 패키지를 유지하되 알림은 당분간 유지하는 것이 더 낫다고 생각합니다. 아마도 equivs와 특히 equivs-control.

운영 체제: Debian 9.1
관련:apt update는 패키지를 업그레이드할 수 있다고 말하지만 업그레이드는 그 반대라고 말합니다.

답변1

설치하려면 libreoffice-sdbc-firebird(스트레치 백포트에서만 사용 가능) 백포트에서 업그레이드해야 libreoffice-core합니다 uno-libs3.

sudo apt install -t stretch-backports libreoffice-core uno-libs3
sudo apt install -t stretch-backports libreoffice-sdbc-firebird

관련 정보