Debian
找不到這些 deb:linux-image-4.9.0-3-amd64
我時不時地將 debian 引導到本地目錄中。直到 3 小時前它工作正常,但是,現在我收到此錯誤消息:
命令
debootstrap --include linux-image-4.9.0-3-amd64,sudo,openssh-server,hdparm,net-tools,udhcpc stretch /tmp/generate-image/mount
輸出
I: Retrieving InRelease I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature I: Valid Release signature (key id 067E3C456BAE240ACEE88F6FEF0F382A1A7B6500) I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Found additional required dependencies: libaudit-common libaudit1 libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 liblz4-1 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1 I: Found additional base dependencies: busybox dmsetup gnupg-agent libapparmor1 libassuan0 libbsd0 libcap2 libcryptsetup4 libdevmapper1.02.1 libdns-export162 libedit2 libelf1 libfastjson4 libffi6 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed4 libidn11 libidn2-0 libip4tc0 libip6tc0 libiptc0 libisc-export160 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libksba8 liblocale-gettext-perl liblognorm5 libmnl0 libncurses5 libnetfilter-conntrack3 libnettle6 libnfnetlink0 libnpth0 libp11-kit0 libpsl5 libseccomp2 libsqlite3-0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libunistring0 libwrap0 libxtables12 openssh-client openssh-sftp-server pinentry-curses ucf xxd I: Checking component main on http://deb.debian.org/debian... E: Couldn't find these debs: linux-image-4.9.0-3-amd64
直到幾個小時前,輸出是這樣的:
I: Retrieving InRelease I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature I: Valid Release signature (key id 067E3C456BAE240ACEE88F6FEF0F382A1A7B6500) I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Found additional required dependencies: libaudit-common libaudit1 libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 liblz4-1 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1 I: Found additional base dependencies: busybox dmsetup gnupg-agent initramfs-tools initramfs-tools-core klibc-utils libapparmor1 libassuan0 libbsd0 libcap2 libcryptsetup4 libdevmapper1.02.1 libdns-export162 libedit2 libelf1 libfastjson4 libffi6 libgmp10 libgnutls30 libgssapi-krb5-2 libhogweed4 libidn11 libidn2-0 libip4tc0 libip6tc0 libiptc0 libisc-export160 libk5crypto3 libkeyutils1 libklibc libkrb5-3 libkrb5support0 libksba8 liblocale-gettext-perl liblognorm5 libmnl0 libncurses5 libnetfilter-conntrack3 libnettle6 libnfnetlink0 libnpth0 libp11-kit0 libpsl5 libseccomp2 libsqlite3-0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libunistring0 libwrap0 libxtables12 linux-base openssh-client openssh-sftp-server pinentry-curses ucf xxd I: Checking component main on http://deb.debian.org/debian... I: Retrieving libacl1 2.2.52-3+b1 I: Validating libacl1 2.2.52-3+b1 I: Retrieving adduser 3.115 ... and so on
起初我認為這個包可能已經停產了。但是,在執行之後
apt-get update
,apt-cache search linux-image-4.9.0-3-amd64
仍然會找到這個包,所以它應該仍然可用。在debian 網站上
[security]
,它會在軟體包名稱旁邊列印一個紅色通知。這是什麼意思?這可能是原因嗎?我怎樣才能繼續 debootstrap Debian?
穩定的核心現在是
linux-image-4.9.0-4-amd64
,您需要指定它。更好的是,告訴
debootstrap
包含linux-image-amd64
而不是特定版本,這樣您將始終獲得目前穩定的核心,並且您不會遇到此類問題。(舊包的突然消失與今天Debian 9.2 的發布有關。)