是否有一些 shell 脚本可以帮我更新文件?
# apt update
Notice: Missing Signed-By in the sources.list(5) entry for 'https://storage.googleapis.com/cros-packages/133'
Notice: Missing Signed-By in the sources.list(5) entry for 'http://opensource.nchc.org.tw/debian'
Notice: Consider migrating all sources.list(5) entries to the deb822 .sources format
Notice: The deb822 .sources format supports both embedded as well as external OpenPGP keys
Notice: See apt-secure(7) for best practices in configuring repository signing.
我花了几个小时试图弄清楚这一点,但最终还是放弃了。
我的文件中只有“deb ...”行。
以下是
$ cd /usr/share/keyrings && ls
cros.gpg debian-archive-bullseye-stable.gpg
debian-archive-bookworm-automatic.gpg debian-archive-buster-automatic.gpg
debian-archive-bookworm-security-automatic.gpg debian-archive-buster-security-automatic.gpg
debian-archive-bookworm-stable.gpg debian-archive-buster-stable.gpg
debian-archive-bullseye-automatic.gpg debian-archive-keyring.gpg
debian-archive-bullseye-security-automatic.gpg debian-archive-removed-keys.gpg
另外,我提交了https://issues.chromium.org/issues/392237686,因为 /etc/apt/sources.list.d/cros.list 难道不应该是 chrome 团队的责任来更新,而不是我的责任?
我终于做到了!这是我的脚本。在 sources.list 文件上运行它:
输出如下:
为什么你只需要自己写脚本就可以了呢?
不要害怕。
他们刚刚添加了它。