Ubuntu 18.04 privacyidea-apache2_3.0.2-2-1bionic_all.deb 404 Not Found

Hi!

I followed the instructions at https://privacyidea.readthedocs.io/en/latest/installation/ubuntu.html#install-ubuntu to install privacyIDEA 3.0.

However, apt install privacyidea-apache2 fails with the error message:

Err:1 http://lancelot.netknights.it/community/bionic/stable bionic/main amd64 privacyidea-apache2 all 3.0.2-2-1bionic
404 Not Found [IP: 192.168.182.25 8080]

Shouldn’t this work, or am I missing something?

Hello lesnoh,

welcome to the privacyIDEA community.

I think we might have wrecked this very version in the repository.
You can try http://lancelot.netknights.it/community/bionic/devel.
I think this contains the very same version 3.0.2.

You can check with

apt-cache poolicy privacyidea-apache2 

before installing.

Kind regards
Cornelius

Hi Corenelius,

thank you for the fast reply.
Changing the repo url to devel worked and I could install the packages succesfully.

1 Like

Hi Cornelius,

the correct command is (poolicy → policy):

The stable repo is still broken, but devel works. But the web ui on the bottom left
says it is “3.0.1”.

Jochen

Hi Jochen,

The privacyIDEAVersionNumber is filled here:

It comes from here in the javascript

prepare_result here is a central part to add the base skeleton to JSON responses, like the version number which is read from get_version_number

…which actually reads the version number from the installed package (from setup.py) here

So if you are still seeing 3.0.1 either you are a missing a restart of the webserver or you have some caching issues. It should be 3.0.2.

Regards
Cornelius

Hi Cornelius,

you are right, there is still a 3.0.1 package installed:

jochen@athene:~$ dpkg -l "*privacyidea*"
||/ Name                               Version                
+++-=============================
ii  privacyidea                        3.0.1-1bionic      

That’s the only release in my sources:

jochen@athene:~$ apt policy privacyidea
privacyidea:
  Installiert:           3.0.1-1bionic
  Installationskandidat: 3.0.1-1bionic
  Versionstabelle:
 *** 3.0.1-1bionic 500
        500 http://lancelot.netknights.it/community/bionic/devel bionic/main amd64 Packages
        100 /var/lib/dpkg/status