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?

JJD
  • 862
  • 1
    The repo maintainer should add the Release file. See: https://wiki.debian.org/DebianRepository/Format#A.22Release.22_files – sgargel Oct 03 '17 at 10:28

2 Answers2

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 :)

Arun
  • 2,001
  • 11
  • 24
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