Update Error on Ubuntu 16.04 LTS

I used top right icon Configuration and click in Install Updates.

I get this error:

W:Target Sources (main/source/Sources) is configured multiple times in
/etc/apt/sources.list.d/privacyidea-ubuntu-privacyidea-xenial.list:2 and
/etc/apt/sources.list.d/privacyidea-ubuntu-privacyidea-xenial.list:3, W:The
repository ‘http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial
Release’ does not have a Release file., W:Data from such a repository can’t
be authenticated and is therefore potentially dangerous to use., W:See
apt-secure(8) manpage for repository creation and user configuration
details., E:Failed to fetch
http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu/dists/xenial/main/source/Sources
404 Not Found, E:Some index files failed to download. They have been
ignored, or old ones used instead.

It´s a new instalation in VM in Virtual Box.

Any ideas?

Thanks in advance,

Alexsander Antunes

I used instructions on this link and work!

It´s a correct way?Em sábado, 1 de outubro de 2016 19:08:54 UTC-3, Alexsander Antunes escreveu:

I used top right icon Configuration and click in Install Updates.

I get this error:

W:Target Sources (main/source/Sources) is configured multiple times in
/etc/apt/sources.list.d/privacyidea-ubuntu-privacyidea-xenial.list:2 and
/etc/apt/sources.list.d/privacyidea-ubuntu-privacyidea-xenial.list:3, W:The
repository ‘http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu
xenial Release’ does not have a Release file., W:Data from such a
repository can’t be authenticated and is therefore potentially dangerous to
use., W:See apt-secure(8) manpage for repository creation and user
configuration details., E:Failed to fetch
http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu/dists/xenial/main/source/Sources
404 Not Found, E:Some index files failed to download. They have been
ignored, or old ones used instead.

It´s a new instalation in VM in Virtual Box.

Any ideas?

Thanks in advance,

Alexsander Antunes

Sorry,

I create 2 repositories.
But I still errors, see below:

root@privacyidea-ubuntu:/home/alexsander# apt-get update
Get:1 http://sft.if.usp.br/ubuntu xenial InRelease [247 kB]
Get:2 http://sft.if.usp.br/ubuntu xenial-updates InRelease [95,7 kB]

Hit:3 http://archive.canonical.com/ubuntu xenial InRelease

Ign:4 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial
InRelease
Hit:5 http://sft.if.usp.br/ubuntu xenial-backports InRelease

Ign:1 http://sft.if.usp.br/ubuntu xenial InRelease
Get:6 http://sft.if.usp.br/ubuntu xenial-security InRelease [94,5 kB]
Ign:7 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial
Release
Get:8 http://sft.if.usp.br/ubuntu xenial-updates/main amd64 Packages [394
kB]
Ign:9 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 Packages
Ign:10 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
i386 Packages
Get:11 http://sft.if.usp.br/ubuntu xenial-updates/main i386 Packages [389
kB]
Ign:12 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
all Packages
Get:13 http://sft.if.usp.br/ubuntu xenial-updates/universe amd64 Packages
[332 kB]
Ign:14 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en_US
Get:15 http://sft.if.usp.br/ubuntu xenial-updates/universe i386 Packages
[328 kB]
Ign:16 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en
Ign:17 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
DEP-11 64x64 Icons
Ign:9 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 Packages
Ign:10 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
i386 Packages
Ign:12 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
all Packages
Ign:14 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en_US
Ign:16 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en
Ign:17 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
DEP-11 64x64 Icons
Ign:9 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 Packages
Ign:10 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
i386 Packages
Ign:12 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
all Packages
Ign:14 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en_US
Ign:16 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en
Ign:17 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
DEP-11 64x64 Icons
Ign:9 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 Packages
Ign:10 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
i386 Packages
Ign:12 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
all Packages
Ign:14 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en_US
Ign:16 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en
Ign:17 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
DEP-11 64x64 Icons
Ign:9 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 Packages
Ign:10 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
i386 Packages
Ign:12 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
all Packages
Ign:14 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en_US
Ign:16 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en
Ign:17 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
DEP-11 64x64 Icons
Err:9 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 Packages
404 Not Found
Ign:10 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
i386 Packages
Ign:12 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
all Packages
Ign:14 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en_US
Ign:16 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
Translation-en
Ign:17 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu xenial/main
DEP-11 64x64 Icons
Fetched 1.881 kB in 12s (150 kB/s)
Reading package lists… Done
W: GPG error: http://sft.if.usp.br/ubuntu xenial InRelease: The following
signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic
Signing Key ftpmaster@ubuntu.com
W: The repository ‘http://sft.if.usp.br/ubuntu xenial InRelease’ is not
signed.
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.
W: The repository ‘http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu
xenial 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.
E: Failed to fetch
http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu/dists/xenial/main/binary-amd64/Packages
404 Not Found
E: Some index files failed to download. They have been ignored, or old ones
used instead.Em sábado, 1 de outubro de 2016 19:08:54 UTC-3, Alexsander Antunes escreveu:

I used top right icon Configuration and click in Install Updates.

I get this error:

W:Target Sources (main/source/Sources) is configured multiple times in
/etc/apt/sources.list.d/privacyidea-ubuntu-privacyidea-xenial.list:2 and
/etc/apt/sources.list.d/privacyidea-ubuntu-privacyidea-xenial.list:3, W:The
repository ‘http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu
xenial Release’ does not have a Release file., W:Data from such a
repository can’t be authenticated and is therefore potentially dangerous to
use., W:See apt-secure(8) manpage for repository creation and user
configuration details., E:Failed to fetch
http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu/dists/xenial/main/source/Sources
404 Not Found, E:Some index files failed to download. They have been
ignored, or old ones used instead.

It´s a new instalation in VM in Virtual Box.

Any ideas?

Thanks in advance,

Alexsander Antunes

The instruction on techrepublic is not quite accurate.
Please remove manually added positories and use add-apt-repository as
described here:

http://privacyidea.readthedocs.io/en/latest/installation/ubuntu.html

Kind regards
CorneliusAm Sonntag, 2. Oktober 2016 04:22:43 UTC+2 schrieb Alexsander Antunes:

I used instructions on this link and work!

http://www.techrepublic.com/article/how-to-install-the-privacyidea-authentication-system-on-ubuntu/

It´s a correct way?

Em sábado, 1 de outubro de 2016 19:08:54 UTC-3, Alexsander Antunes escreveu:

I used top right icon Configuration and click in Install Updates.

I get this error:

W:Target Sources (main/source/Sources) is configured multiple times in
/etc/apt/sources.list.d/privacyidea-ubuntu-privacyidea-xenial.list:2 and
/etc/apt/sources.list.d/privacyidea-ubuntu-privacyidea-xenial.list:3, W:The
repository ‘http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu
xenial Release’ does not have a Release file., W:Data from such a
repository can’t be authenticated and is therefore potentially dangerous to
use., W:See apt-secure(8) manpage for repository creation and user
configuration details., E:Failed to fetch
http://ppa.launchpad.net/privacyidea/privacyidea/ubuntu/dists/xenial/main/source/Sources
404 Not Found, E:Some index files failed to download. They have been
ignored, or old ones used instead.

It´s a new instalation in VM in Virtual Box.

Any ideas?

Thanks in advance,

Alexsander Antunes