我正在使用Debian wheezy,我想安装该软件包apt-transport-https
,该软件包允许通过https
协议访问apt仓库。
真正令我困惑的是,它apt-get
给了我以下信息:
$ sudo apt-get install apt-transport-https
...
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 109 kB of archives.
After this operation, 166 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
apt-transport-https
Install these packages without verification [y/N]?
我紧迫,N
因为我想在安装软件包之前澄清这一点。为什么没有提供此程序包的身份验证信息?我希望这是默认设置,尤其是对于提供安全传输协议的软件包而言。
apt update
,然后尝试安装apt-transport-https
。那给了我警告。我禁用了该存储库(注释掉,apt update
),并且警告不再出现。