Debian 终结者:'E: Unable to locate package'
Debian Buster: 'E: Unable to locate package'
我新安装了 Debian Buster,我下载了 ProtonVPN CLI 软件包并开始安装,但出现了错误:
E: Unable to locate package protonvpn-stable-release_1.0.0-1_all.deb
E: Couldn't find any package by glob 'protonvpn-stable-release_1.0.0-1_all.deb'
E: Couldn't find any package by regex 'protonvpn-stable-release_1.0.0-1_all.deb'
我的 /etc/apt/sources.list
文件如下所示:
#deb cdrom:[Debian GNU/Linux 10.10.0 _Buster_ - Official amd64 NETINST 20210619-16:11]/ buster main
#deb cdrom:[Debian GNU/Linux 10.10.0 _Buster_ - Official amd64 NETINST 20210619-16:11]/ buster main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org.debian-security buster/updates main
deb-src http://security.debian.org.debian-security buster/updates main
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster main
我能够 apt-get install wget
以及 update
和 upgrdade
。我什至尝试取消注释顶部的 cdrom
行。我重新运行 apt-get update
和 apt-get upgrade
.
不过,当我尝试安装 ProtonVPN 软件包时,出现了上述错误。
注意 我知道这与严格的编程无关。如果有更合适的堆栈,请在评论中告诉我,我将关闭并 post 那里。
要安装手动下载的 Debian 软件包,请使用 dpkg
:
dpkg -i protonvpn-stable-release_1.0.0-1_all.deb
如果 dpkg
抱怨缺少依赖项,则在 运行 dpkg
之后使用 apt-get -f install
我新安装了 Debian Buster,我下载了 ProtonVPN CLI 软件包并开始安装,但出现了错误:
E: Unable to locate package protonvpn-stable-release_1.0.0-1_all.deb
E: Couldn't find any package by glob 'protonvpn-stable-release_1.0.0-1_all.deb'
E: Couldn't find any package by regex 'protonvpn-stable-release_1.0.0-1_all.deb'
我的 /etc/apt/sources.list
文件如下所示:
#deb cdrom:[Debian GNU/Linux 10.10.0 _Buster_ - Official amd64 NETINST 20210619-16:11]/ buster main
#deb cdrom:[Debian GNU/Linux 10.10.0 _Buster_ - Official amd64 NETINST 20210619-16:11]/ buster main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org.debian-security buster/updates main
deb-src http://security.debian.org.debian-security buster/updates main
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster main
我能够 apt-get install wget
以及 update
和 upgrdade
。我什至尝试取消注释顶部的 cdrom
行。我重新运行 apt-get update
和 apt-get upgrade
.
不过,当我尝试安装 ProtonVPN 软件包时,出现了上述错误。
注意 我知道这与严格的编程无关。如果有更合适的堆栈,请在评论中告诉我,我将关闭并 post 那里。
要安装手动下载的 Debian 软件包,请使用 dpkg
:
dpkg -i protonvpn-stable-release_1.0.0-1_all.deb
如果 dpkg
抱怨缺少依赖项,则在 运行 dpkg
apt-get -f install