Eu atualizo apt
packages e vejo que há um pacote que pode ser atualizado devido ao seguinte aviso.
1 package can be upgraded. Run 'apt list --upgradable' to see it.
As opções são
- para atualizar para a versão
%código%.
- para evitar o aviso
Código para reproduzir o aviso
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.
Vendo a lista de pacotes onde escolher o pacote a ser atualizado e o status atual
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. Tentando atualizar um pacote para instável
Fazendo, mas conflitos, então a opção (2) parece ser melhor
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. Para evitar este aviso
Eu acho que pode ser melhor manter o pacote atual, mas manter o aviso por um tempo.
Talvez com libreoffice-sdbc-firebird/stretch-backports 1:5.4.0-1~bpo9+1 amd64
e particularmente equivs
.
OS: Debian 9.1
Relacionado: Atualização do apt diz que um pacote pode ser atualizado, mas a atualização diz o contrário