在 Ubuntu 16.04 上,我添加了以下行/etc/apt/source.list
:
deb http://downloads.sourceforge.net/project/sonar-pkg/deb binary/
然后我运行sudo apt-get update
。出现以下警告:
W: The repository 'http://downloads.sourceforge.net/project/sonar-pkg/deb binary/ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
有没有办法通过身份验证sonar
包适合?
答案1
没有问题
运行时sudo apt install sonar
您将看到以下消息:
Install these packages without verification? [y/N]
只要按下y即可sonar
安装:)
答案2
刚刚遇到同样的问题:Ubuntu 17.10 Artful:
E: The repository 'http://downloads.sourceforge.net/project/sonar-pkg/deb binary/ Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
临时解决办法是下载 Debian 软件包并像这样安装:
dpkg -i sonar_6.7.1_all.deb