如何从 Debian 测试中提取单个(或几个)软件包到 Debian oldstable?

如何从 Debian 测试中提取单个(或几个)软件包到 Debian oldstable?

这可能吗?我正在寻找将 Debian 测试 (buster) 中的特定软件包安装到 Debian oldstable (jessie) 中。

答案1

首先,将测试分支添加到您的/etc/apt/sources.list

deb http://security.debian.org/ testing/updates main
deb http://ftp.us.debian.org/debian testing-updates main
deb http://ftp.us.debian.org/debian testing main

然后,进行引脚测试,/etc/apt/preferences以便包不会被自动拉入。

Package: *
Pin: release a=testing
Pin-Priority: -2

现在,当您需要测试包时,请手动指定目标版本。小心不要让一半的系统升级。

# apt-get install -t testing ...

相关内容