404 on uBuntu Repository

#1

Following the documentation here for installation on uBuntu Server 18.04 and when I get to apt install privacyidea-apache2, it tells me no package found. When I perform apt-get update I get (obfuscated proxy settings in below output)

Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Ign:5 http://lancelot.netknights.it/community/bionic/stable bionic InRelease
Err:6 http://lancelot.netknights.it/community/bionic/stable bionic Release
  404  Not Found [IP: PROXYIP PROXYPORT]
Reading package lists... Done
E: The repository 'http://lancelot.netknights.it/community/bionic/stable bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Adding [trusted=yes] to /etc/apt/sources.list.d/privacyidea-community.list and then running apt-get update yields the following error:

Reading package lists... Done
E: Failed to fetch http://lancelot.netknights.it/community/bionic/stable/dists/bionic/main/binary-amd64/Packages  404  Not Found [IP: PROXYIP PROXYPORT]
E: Some index files failed to download. They have been ignored, or old ones used instead.

I’ve got this server in the bypass for our proxy so no endpoints are being blocked and I see the traffic passing through the proxy and it being allowed out. Is there something wrong with the repository?

0 Likes

#2

I am sorry for inconvenience.
The documentation is a bit ahead of time. Version 3.0 has not been released, yet. There is no gold where you are digging.
…yet.

Either you wait a few days, install 2.23.5, or got for the devel repository, that holds a release candidate.

deb  http://lancelot.netknights.it/community/bionic/devel bionic main
0 Likes

#3

Does this also mean I have to downgrade the version of uBuntu I am running from 18.04?

0 Likes

#4

No, simply change your apt source to

  deb  http://lancelot.netknights.it/community/bionic/devel bionic main

and install 3.0dev10 (or something like this) .-)

0 Likes

#5

I’m sorry, I meant if I want to install 2.23.5 on uBuntu 18.04. This is going into a production environment.

0 Likes

#6

I ask this because after deleting the sources.list from the 3.0 instructions and rebooting the box, I issue add-apt-repository ppa:privacyidea/privacyidea command and it errors out:

root@ssspid:/home/administrator# add-apt-repository ppa:privacyidea/privacyidea
Cannot add PPA: 'ppa:~privacyidea/ubuntu/privacyidea'.
ERROR: '~privacyidea' user or team does not exist.
root@ssspid:/home/administrator#
0 Likes

#7

There is no ppa for bionic!

0 Likes