我正在尝试在我的 Chromebook 上安装 gnome-keyring(作为安装 vscode 的更大努力的一部分)。我怀疑我搞砸了我的
/etc/apt/sources.list
文件。当我运行sudo apt-get install -y gnome-keyring
时,我得到:
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package gnome-keyring
网上搜索表明我的 sources.list 配置不正确。我
sources.list
的内容是:
deb https://deb.debian.org/debian bullseye-updates main
deb https://deb.debian.org/debian-security/ bullseye-security main
deb https://download.docker.com/linux/debian bullseye stable
# deb [arch=amd86] https://download.docker.com/linux/debian bullseye stable
# deb-src [arch=amd86] https://download.docker.com/linux/debian bullseye stable
# deb [arch=amd64] https://download.docker.com/linux/ubuntu bullseye stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu kinetic stable
(是的,那里有一堆注释掉的行;这是我尝试配置它的神器!)
有人对如何正确配置 sources.list 有建议吗?或者,也许错误完全是由于其他问题造成的?
替换我的 sources.list 可能有效。
$ cat /etc/apt/sources.list
# Generated by distrobuilder
deb https://deb.debian.org/debian bullseye main
deb https://deb.debian.org/debian bullseye-updates main
deb https://deb.debian.org/debian-security/ bullseye-security main
$
$ apt list gnome-keyring
Listing... Done
gnome-keyring/stable,now 3.36.0-1 amd64 [installed]