2

On Ubuntu 16.04 I added the following line to /etc/apt/source.list:

deb http://downloads.sourceforge.net/project/sonar-pkg/deb binary/

Then I run sudo apt-get update. The following warning shows up:

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.

Is there a way to pass a authentication for the sonar packages to apt?

1

There is no problem

When you run sudo apt install sonar you will see this message:

Install these packages without verification? [y/N]

Just press y and sonar will be installed :)

  • I did that already. Still I want to resolve the warning. – JJD Jun 12 '17 at 18:45
1

Have just faced the same problem: 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.

Temporary solution is to download the Debian package and install it like:

dpkg -i sonar_6.7.1_all.deb

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.