Debian拉伸无法从拉伸向后移植获得软件包

Debian拉伸无法从拉伸向后移植获得软件包

这一页显示stretch-backports 上的 freetds-dev 版本为 at,1.00.104-1~bpo9+1但当我尝试安装它时,我得到了 version 0.91-6.1+b4

root@c0884c37efdc:/# apt update
Hit:1 https://deb.nodesource.com/node_6.x stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease                                                                                                                       
Ign:3 http://deb.debian.org/debian stretch InRelease                
Get:4 http://ftp.de.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:5 http://deb.debian.org/debian stretch-updates InRelease                         
Hit:6 http://deb.debian.org/debian stretch Release             
Get:8 http://ftp.de.debian.org/debian stretch-backports/main amd64 Packages [593 kB]
Fetched 685 kB in 6s (112 kB/s)                                                                                                                                                                                                       
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.


root@c0884c37efdc:/# apt install freetds-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
freetds-dev is already the newest version (0.91-6.1+b4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

为什么 apt 无法获取 1.0.0 版本的 freetds-dev?

答案1

你正在得到稳定版。你需要跑apt -t stretch-backports install freetds-dev

有关的:
在 /etc/apt/sources.list 中保留向后移植条目是个好主意吗?用于更新,尤其是升级?无副作用?

相关内容