APT 固定内核

APT 固定内核

我的计划是,我的内核从 Debian 的测试存储库进行更新。这样,如果我执行 dist-upgrade,内核就会自动升级。

我的问题是,依赖项也没有下载。

我该如何解决这个问题?

resources.list 包含额外的反向移植存储库和测试存储库:

#Stable
deb http://ftp.us.debian.org/debian stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

#Testing
deb http://ftp.us.debian.org/debian testing main non-free contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free

#Unstable
deb http://ftp.us.debian.org/debian unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

我的/etc/apt/preferences.d/mypref

Package: *
Pin: release a=stable
Pin-Priority: 700

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

Package: *
Pin: release a=unstable
Pin-Priority: 600

我的/etc/apt/preferences.d/kernel

Package: linux-image-amd64
Pin: release a=testing
Pin-Priority: 950

Package: linux-headers-amd64
Pin: release a=testing
Pin-Priority: 950

相关内容