apt list --upgradable
显示有一个可升级包。
libreoffice-sdbc-firebird/stretch-backports 1:5.4.4-1~bpo9+1 amd64 [upgradable from: 1:4.3.3-2+deb8u7]
然而,跑步apt upgrade
并不能解决问题。
更新:
apt-cache policy libreoffice-sdbc-firebird
:
libreoffice-sdbc-firebird:
Installed: 1:4.3.3-2+deb8u7
Candidate: 1:4.3.3-2+deb8u7
Version table:
*** 1:4.3.3-2+deb8u7 100
100 /var/lib/dpkg/status
来源.列表:
#
# deb cdrom:[Debian GNU/Linux 8.3.0 _Stretch_ - Official amd64 DVD Binary-1 20160123-19:03]/ stretch contrib main
# deb cdrom:[Debian GNU/Linux 8.3.0 _Stretch_ - Official amd64 DVD Binary-1 20160123-19:03]/ stretch contrib main
deb http://ftp.uk.debian.org/debian/ stretch main
deb-src http://ftp.uk.debian.org/debian/ stretch main
deb http://security.debian.org/ stretch/updates main contrib
deb-src http://security.debian.org/ stretch/updates main contrib
# stretch-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ stretch-updates main contrib
deb-src http://ftp.uk.debian.org/debian/ stretch-updates main contrib
# Debian 8 "Stretch"
deb http://httpredir.debian.org/debian/ stretch main contrib
#
deb [arch=amd64] http://rodeo-deb.yhat.com/ rodeo main
# source for virtualbox backport, not avaialble in stretch
#deb http://ftp.debian.org/debian stretch-backports main contrib
#non free Opera
deb http://deb.opera.com/opera-stable/ stable non-free
答案1
1:4.3.3-2+deb8u7
表示您安装的当前版本是来自主 Debian 8 存储库的版本,而1:5.4.4-1~bpo9+1
是来自向后移植的版本(如 所示/stretch-backports
)。来自反向移植的软件包永远不是从主存储库升级的有效安装候选者,仅适用于从反向移植软件包的先前版本升级;因此,虽然apt list --upgradable
将其列为可升级包,apt upgrade
但不会考虑将其升级。您可以在 的输出中看到这一点apt-cache policy libreoffice-sdbc-firebird
。
如果您确实想升级,请运行apt install -t stretch-backports libreoffice-sdbc-firebird
;但是,只有当您确实需要更新版本时才应该这样做。