E: The repository 'http//archive.canonical.com precise Release' is not signed












1















I used all the given answers from here: "GPG error: Release: The following signatures were invalid: BADSIG"



But still I get the same error every time:



Reading package lists... Done
W: GPG error: http://archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
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.


First try:



ahadji05@ahadji05-UX330UAR:~$ gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: key 16126D3A3E5C1192: 3 signatures not checked due to missing keys
gpg: key 16126D3A3E5C1192: public key "Ubuntu Extras Archive Automatic
Signing Key <ftpmaster@ubuntu.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1




ahadji05@ahadji05-UX330UAR:~$ gpg --export --armor 16126D3A3E5C1192 | sudo apt-key add -
OK




ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Hit:2 http//security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
W: GPG error: http://archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
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.


Then I tried this:



ahadji05@ahadji05-UX330UAR:~$ sudo -i
root@ahadji05-UX330UAR:~# apt-get clean
root@ahadji05-UX330UAR:~# cd /var/lib/apt
root@ahadji05-UX330UAR:/var/lib/apt# mv lists lists.old
root@ahadji05-UX330UAR:/var/lib/apt# mkdir -p lists/partial
root@ahadji05-UX330UAR:/var/lib/apt# apt-get clean
root@ahadji05-UX330UAR:/var/lib/apt# apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http//archive.canonical.com precise Release [8,180 B]
Get:4 http//archive.canonical.com precise Release.gpg [181 B]
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Ign:4 http//archive.canonical.com precise Release.gpg
........
Get:70 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe translation-en [1,604 B]
Get:71 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,352 B]
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]
Reading package lists... Done
W: GPG error: http//archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
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.


And finally this:



ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo mv /var/lib/apt/lists /tmp
ahadji05@ahadji05-UX330UAR:~$ sudo mkdir -p /var/lib/apt/lists/partial
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http//archive.canonical.com precise Release [8,180 B]
Get:4 http//archive.canonical.com precise Release.gpg [181 B]
Ign:4 http//archive.canonical.com precise Release.gpg
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:7 http//sd.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:8 http//sd.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]
Get:9 http//sd.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,019 kB]
Get:10 http//security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [269 kB]
Get:11 http//sd.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
.......
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]
Reading package lists... Done
W: GPG error: http//archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
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.


In all the cases I got the same error...










share|improve this question









New contributor




Andreas Hadjigeorgiou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What is the Ubuntu version? precise is 12.04 that is EoL.

    – Pilot6
    yesterday











  • ahdji05@ahdji05-UX330UAR:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic

    – Andreas Hadjigeorgiou
    yesterday








  • 1





    Edit /etc/apt/sources.list and remove lines containing precise. It can be done in Software & Updates GUI too.

    – Pilot6
    yesterday








  • 1





    You won't lose anything. This line is there by an error. You probably ran some obsolete command found in the net.

    – Pilot6
    yesterday






  • 1





    You can post output of cat /etc/apt/sources.list to your question to make it more clear.

    – Pilot6
    yesterday
















1















I used all the given answers from here: "GPG error: Release: The following signatures were invalid: BADSIG"



But still I get the same error every time:



Reading package lists... Done
W: GPG error: http://archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
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.


First try:



ahadji05@ahadji05-UX330UAR:~$ gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: key 16126D3A3E5C1192: 3 signatures not checked due to missing keys
gpg: key 16126D3A3E5C1192: public key "Ubuntu Extras Archive Automatic
Signing Key <ftpmaster@ubuntu.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1




ahadji05@ahadji05-UX330UAR:~$ gpg --export --armor 16126D3A3E5C1192 | sudo apt-key add -
OK




ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Hit:2 http//security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
W: GPG error: http://archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
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.


Then I tried this:



ahadji05@ahadji05-UX330UAR:~$ sudo -i
root@ahadji05-UX330UAR:~# apt-get clean
root@ahadji05-UX330UAR:~# cd /var/lib/apt
root@ahadji05-UX330UAR:/var/lib/apt# mv lists lists.old
root@ahadji05-UX330UAR:/var/lib/apt# mkdir -p lists/partial
root@ahadji05-UX330UAR:/var/lib/apt# apt-get clean
root@ahadji05-UX330UAR:/var/lib/apt# apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http//archive.canonical.com precise Release [8,180 B]
Get:4 http//archive.canonical.com precise Release.gpg [181 B]
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Ign:4 http//archive.canonical.com precise Release.gpg
........
Get:70 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe translation-en [1,604 B]
Get:71 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,352 B]
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]
Reading package lists... Done
W: GPG error: http//archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
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.


And finally this:



ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo mv /var/lib/apt/lists /tmp
ahadji05@ahadji05-UX330UAR:~$ sudo mkdir -p /var/lib/apt/lists/partial
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http//archive.canonical.com precise Release [8,180 B]
Get:4 http//archive.canonical.com precise Release.gpg [181 B]
Ign:4 http//archive.canonical.com precise Release.gpg
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:7 http//sd.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:8 http//sd.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]
Get:9 http//sd.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,019 kB]
Get:10 http//security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [269 kB]
Get:11 http//sd.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
.......
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]
Reading package lists... Done
W: GPG error: http//archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
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.


In all the cases I got the same error...










share|improve this question









New contributor




Andreas Hadjigeorgiou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What is the Ubuntu version? precise is 12.04 that is EoL.

    – Pilot6
    yesterday











  • ahdji05@ahdji05-UX330UAR:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic

    – Andreas Hadjigeorgiou
    yesterday








  • 1





    Edit /etc/apt/sources.list and remove lines containing precise. It can be done in Software & Updates GUI too.

    – Pilot6
    yesterday








  • 1





    You won't lose anything. This line is there by an error. You probably ran some obsolete command found in the net.

    – Pilot6
    yesterday






  • 1





    You can post output of cat /etc/apt/sources.list to your question to make it more clear.

    – Pilot6
    yesterday














1












1








1








I used all the given answers from here: "GPG error: Release: The following signatures were invalid: BADSIG"



But still I get the same error every time:



Reading package lists... Done
W: GPG error: http://archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
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.


First try:



ahadji05@ahadji05-UX330UAR:~$ gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: key 16126D3A3E5C1192: 3 signatures not checked due to missing keys
gpg: key 16126D3A3E5C1192: public key "Ubuntu Extras Archive Automatic
Signing Key <ftpmaster@ubuntu.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1




ahadji05@ahadji05-UX330UAR:~$ gpg --export --armor 16126D3A3E5C1192 | sudo apt-key add -
OK




ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Hit:2 http//security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
W: GPG error: http://archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
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.


Then I tried this:



ahadji05@ahadji05-UX330UAR:~$ sudo -i
root@ahadji05-UX330UAR:~# apt-get clean
root@ahadji05-UX330UAR:~# cd /var/lib/apt
root@ahadji05-UX330UAR:/var/lib/apt# mv lists lists.old
root@ahadji05-UX330UAR:/var/lib/apt# mkdir -p lists/partial
root@ahadji05-UX330UAR:/var/lib/apt# apt-get clean
root@ahadji05-UX330UAR:/var/lib/apt# apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http//archive.canonical.com precise Release [8,180 B]
Get:4 http//archive.canonical.com precise Release.gpg [181 B]
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Ign:4 http//archive.canonical.com precise Release.gpg
........
Get:70 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe translation-en [1,604 B]
Get:71 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,352 B]
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]
Reading package lists... Done
W: GPG error: http//archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
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.


And finally this:



ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo mv /var/lib/apt/lists /tmp
ahadji05@ahadji05-UX330UAR:~$ sudo mkdir -p /var/lib/apt/lists/partial
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http//archive.canonical.com precise Release [8,180 B]
Get:4 http//archive.canonical.com precise Release.gpg [181 B]
Ign:4 http//archive.canonical.com precise Release.gpg
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:7 http//sd.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:8 http//sd.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]
Get:9 http//sd.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,019 kB]
Get:10 http//security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [269 kB]
Get:11 http//sd.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
.......
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]
Reading package lists... Done
W: GPG error: http//archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
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.


In all the cases I got the same error...










share|improve this question









New contributor




Andreas Hadjigeorgiou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I used all the given answers from here: "GPG error: Release: The following signatures were invalid: BADSIG"



But still I get the same error every time:



Reading package lists... Done
W: GPG error: http://archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
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.


First try:



ahadji05@ahadji05-UX330UAR:~$ gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: key 16126D3A3E5C1192: 3 signatures not checked due to missing keys
gpg: key 16126D3A3E5C1192: public key "Ubuntu Extras Archive Automatic
Signing Key <ftpmaster@ubuntu.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1




ahadji05@ahadji05-UX330UAR:~$ gpg --export --armor 16126D3A3E5C1192 | sudo apt-key add -
OK




ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Hit:2 http//security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
W: GPG error: http://archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http://archive.canonical.com precise Release' is not signed.
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.


Then I tried this:



ahadji05@ahadji05-UX330UAR:~$ sudo -i
root@ahadji05-UX330UAR:~# apt-get clean
root@ahadji05-UX330UAR:~# cd /var/lib/apt
root@ahadji05-UX330UAR:/var/lib/apt# mv lists lists.old
root@ahadji05-UX330UAR:/var/lib/apt# mkdir -p lists/partial
root@ahadji05-UX330UAR:/var/lib/apt# apt-get clean
root@ahadji05-UX330UAR:/var/lib/apt# apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http//archive.canonical.com precise Release [8,180 B]
Get:4 http//archive.canonical.com precise Release.gpg [181 B]
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Ign:4 http//archive.canonical.com precise Release.gpg
........
Get:70 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe translation-en [1,604 B]
Get:71 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,352 B]
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]
Reading package lists... Done
W: GPG error: http//archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
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.


And finally this:



ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo mv /var/lib/apt/lists /tmp
ahadji05@ahadji05-UX330UAR:~$ sudo mkdir -p /var/lib/apt/lists/partial
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get clean
ahadji05@ahadji05-UX330UAR:~$ sudo apt-get update
Ign:1 http//archive.canonical.com precise InRelease
Get:2 http//sd.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http//archive.canonical.com precise Release [8,180 B]
Get:4 http//archive.canonical.com precise Release.gpg [181 B]
Ign:4 http//archive.canonical.com precise Release.gpg
Get:5 http//security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http//sd.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:7 http//sd.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:8 http//sd.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB]
Get:9 http//sd.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,019 kB]
Get:10 http//security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [269 kB]
Get:11 http//sd.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
.......
Get:72 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]
Get:73 http//sd.archive.ubuntu.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [29 B]
Reading package lists... Done
W: GPG error: http//archive.canonical.com precise Release:
The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
E: The repository 'http//archive.canonical.com precise Release' is not signed.
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.


In all the cases I got the same error...







apt package-management gnupg






share|improve this question









New contributor




Andreas Hadjigeorgiou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Andreas Hadjigeorgiou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 8 hours ago









Zanna

50.8k13136241




50.8k13136241






New contributor




Andreas Hadjigeorgiou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Andreas HadjigeorgiouAndreas Hadjigeorgiou

83




83




New contributor




Andreas Hadjigeorgiou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Andreas Hadjigeorgiou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Andreas Hadjigeorgiou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • What is the Ubuntu version? precise is 12.04 that is EoL.

    – Pilot6
    yesterday











  • ahdji05@ahdji05-UX330UAR:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic

    – Andreas Hadjigeorgiou
    yesterday








  • 1





    Edit /etc/apt/sources.list and remove lines containing precise. It can be done in Software & Updates GUI too.

    – Pilot6
    yesterday








  • 1





    You won't lose anything. This line is there by an error. You probably ran some obsolete command found in the net.

    – Pilot6
    yesterday






  • 1





    You can post output of cat /etc/apt/sources.list to your question to make it more clear.

    – Pilot6
    yesterday



















  • What is the Ubuntu version? precise is 12.04 that is EoL.

    – Pilot6
    yesterday











  • ahdji05@ahdji05-UX330UAR:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic

    – Andreas Hadjigeorgiou
    yesterday








  • 1





    Edit /etc/apt/sources.list and remove lines containing precise. It can be done in Software & Updates GUI too.

    – Pilot6
    yesterday








  • 1





    You won't lose anything. This line is there by an error. You probably ran some obsolete command found in the net.

    – Pilot6
    yesterday






  • 1





    You can post output of cat /etc/apt/sources.list to your question to make it more clear.

    – Pilot6
    yesterday

















What is the Ubuntu version? precise is 12.04 that is EoL.

– Pilot6
yesterday





What is the Ubuntu version? precise is 12.04 that is EoL.

– Pilot6
yesterday













ahdji05@ahdji05-UX330UAR:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic

– Andreas Hadjigeorgiou
yesterday







ahdji05@ahdji05-UX330UAR:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic

– Andreas Hadjigeorgiou
yesterday






1




1





Edit /etc/apt/sources.list and remove lines containing precise. It can be done in Software & Updates GUI too.

– Pilot6
yesterday







Edit /etc/apt/sources.list and remove lines containing precise. It can be done in Software & Updates GUI too.

– Pilot6
yesterday






1




1





You won't lose anything. This line is there by an error. You probably ran some obsolete command found in the net.

– Pilot6
yesterday





You won't lose anything. This line is there by an error. You probably ran some obsolete command found in the net.

– Pilot6
yesterday




1




1





You can post output of cat /etc/apt/sources.list to your question to make it more clear.

– Pilot6
yesterday





You can post output of cat /etc/apt/sources.list to your question to make it more clear.

– Pilot6
yesterday










1 Answer
1






active

oldest

votes


















2














Remove obsolete repositories form sources.list



This question relates to Ubuntu 18.04, Bionic The OP added, by mistake, an obsolete repository for Ubuntu 12.04, Precise, which has reached the end of its life. This obsolete repository does not exist any more and results in the error:



E: The repository 'http//archive.canonical.com precise Release' is not signed. 


The solution is to remove the offending line from sources.list.



GUI method:



Open the program "Software and Updates"



enter image description here



Then go to the Other Software tab:



enter image description here



Find each line that has precise on it. Highlight one line at a time. Press the Remove button at the bottom of the window.



Repeat for all lines with precise on it. These lines refer to obsolete repositories for Ubuntu 12.04. You are using Ubuntu 18.04, one of the currently supported versions.



Command line method:



Open a terminal by pressing Ctrl+Alt+T and type:



sudo nano /etc/apt/sources.list


Now you will be able to edit the sources.list file. Look for the line:



deb http://archive.ubuntu.com/ubuntu precise Release


Delete this and any other line with precise in it.



Exit nano editor by pressing Ctrl+X. The editor will prompt you to save the changes. Press Y and then press Enter to select the default file name.



Hope this helps






share|improve this answer


























  • This is not related. OP has a problem not in "Other Software", but in the main sources.list.

    – Pilot6
    yesterday











  • They may show here, or not. I am not sure. Sources from /etc/apt/sources.list.d are shown here.

    – Pilot6
    yesterday








  • 1





    @Pilot6 I temporarily added a Precise repository deb http://archive.ubuntu.com/ubuntu precise Release in my sources.list and uploaded the new Software and Update screenshot in my answer.

    – user68186
    yesterday








  • 1





    Well done +1...

    – Pilot6
    yesterday











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Andreas Hadjigeorgiou is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120194%2fe-the-repository-http-archive-canonical-com-precise-release-is-not-signed%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














Remove obsolete repositories form sources.list



This question relates to Ubuntu 18.04, Bionic The OP added, by mistake, an obsolete repository for Ubuntu 12.04, Precise, which has reached the end of its life. This obsolete repository does not exist any more and results in the error:



E: The repository 'http//archive.canonical.com precise Release' is not signed. 


The solution is to remove the offending line from sources.list.



GUI method:



Open the program "Software and Updates"



enter image description here



Then go to the Other Software tab:



enter image description here



Find each line that has precise on it. Highlight one line at a time. Press the Remove button at the bottom of the window.



Repeat for all lines with precise on it. These lines refer to obsolete repositories for Ubuntu 12.04. You are using Ubuntu 18.04, one of the currently supported versions.



Command line method:



Open a terminal by pressing Ctrl+Alt+T and type:



sudo nano /etc/apt/sources.list


Now you will be able to edit the sources.list file. Look for the line:



deb http://archive.ubuntu.com/ubuntu precise Release


Delete this and any other line with precise in it.



Exit nano editor by pressing Ctrl+X. The editor will prompt you to save the changes. Press Y and then press Enter to select the default file name.



Hope this helps






share|improve this answer


























  • This is not related. OP has a problem not in "Other Software", but in the main sources.list.

    – Pilot6
    yesterday











  • They may show here, or not. I am not sure. Sources from /etc/apt/sources.list.d are shown here.

    – Pilot6
    yesterday








  • 1





    @Pilot6 I temporarily added a Precise repository deb http://archive.ubuntu.com/ubuntu precise Release in my sources.list and uploaded the new Software and Update screenshot in my answer.

    – user68186
    yesterday








  • 1





    Well done +1...

    – Pilot6
    yesterday
















2














Remove obsolete repositories form sources.list



This question relates to Ubuntu 18.04, Bionic The OP added, by mistake, an obsolete repository for Ubuntu 12.04, Precise, which has reached the end of its life. This obsolete repository does not exist any more and results in the error:



E: The repository 'http//archive.canonical.com precise Release' is not signed. 


The solution is to remove the offending line from sources.list.



GUI method:



Open the program "Software and Updates"



enter image description here



Then go to the Other Software tab:



enter image description here



Find each line that has precise on it. Highlight one line at a time. Press the Remove button at the bottom of the window.



Repeat for all lines with precise on it. These lines refer to obsolete repositories for Ubuntu 12.04. You are using Ubuntu 18.04, one of the currently supported versions.



Command line method:



Open a terminal by pressing Ctrl+Alt+T and type:



sudo nano /etc/apt/sources.list


Now you will be able to edit the sources.list file. Look for the line:



deb http://archive.ubuntu.com/ubuntu precise Release


Delete this and any other line with precise in it.



Exit nano editor by pressing Ctrl+X. The editor will prompt you to save the changes. Press Y and then press Enter to select the default file name.



Hope this helps






share|improve this answer


























  • This is not related. OP has a problem not in "Other Software", but in the main sources.list.

    – Pilot6
    yesterday











  • They may show here, or not. I am not sure. Sources from /etc/apt/sources.list.d are shown here.

    – Pilot6
    yesterday








  • 1





    @Pilot6 I temporarily added a Precise repository deb http://archive.ubuntu.com/ubuntu precise Release in my sources.list and uploaded the new Software and Update screenshot in my answer.

    – user68186
    yesterday








  • 1





    Well done +1...

    – Pilot6
    yesterday














2












2








2







Remove obsolete repositories form sources.list



This question relates to Ubuntu 18.04, Bionic The OP added, by mistake, an obsolete repository for Ubuntu 12.04, Precise, which has reached the end of its life. This obsolete repository does not exist any more and results in the error:



E: The repository 'http//archive.canonical.com precise Release' is not signed. 


The solution is to remove the offending line from sources.list.



GUI method:



Open the program "Software and Updates"



enter image description here



Then go to the Other Software tab:



enter image description here



Find each line that has precise on it. Highlight one line at a time. Press the Remove button at the bottom of the window.



Repeat for all lines with precise on it. These lines refer to obsolete repositories for Ubuntu 12.04. You are using Ubuntu 18.04, one of the currently supported versions.



Command line method:



Open a terminal by pressing Ctrl+Alt+T and type:



sudo nano /etc/apt/sources.list


Now you will be able to edit the sources.list file. Look for the line:



deb http://archive.ubuntu.com/ubuntu precise Release


Delete this and any other line with precise in it.



Exit nano editor by pressing Ctrl+X. The editor will prompt you to save the changes. Press Y and then press Enter to select the default file name.



Hope this helps






share|improve this answer















Remove obsolete repositories form sources.list



This question relates to Ubuntu 18.04, Bionic The OP added, by mistake, an obsolete repository for Ubuntu 12.04, Precise, which has reached the end of its life. This obsolete repository does not exist any more and results in the error:



E: The repository 'http//archive.canonical.com precise Release' is not signed. 


The solution is to remove the offending line from sources.list.



GUI method:



Open the program "Software and Updates"



enter image description here



Then go to the Other Software tab:



enter image description here



Find each line that has precise on it. Highlight one line at a time. Press the Remove button at the bottom of the window.



Repeat for all lines with precise on it. These lines refer to obsolete repositories for Ubuntu 12.04. You are using Ubuntu 18.04, one of the currently supported versions.



Command line method:



Open a terminal by pressing Ctrl+Alt+T and type:



sudo nano /etc/apt/sources.list


Now you will be able to edit the sources.list file. Look for the line:



deb http://archive.ubuntu.com/ubuntu precise Release


Delete this and any other line with precise in it.



Exit nano editor by pressing Ctrl+X. The editor will prompt you to save the changes. Press Y and then press Enter to select the default file name.



Hope this helps







share|improve this answer














share|improve this answer



share|improve this answer








edited yesterday

























answered yesterday









user68186user68186

16.2k84969




16.2k84969













  • This is not related. OP has a problem not in "Other Software", but in the main sources.list.

    – Pilot6
    yesterday











  • They may show here, or not. I am not sure. Sources from /etc/apt/sources.list.d are shown here.

    – Pilot6
    yesterday








  • 1





    @Pilot6 I temporarily added a Precise repository deb http://archive.ubuntu.com/ubuntu precise Release in my sources.list and uploaded the new Software and Update screenshot in my answer.

    – user68186
    yesterday








  • 1





    Well done +1...

    – Pilot6
    yesterday



















  • This is not related. OP has a problem not in "Other Software", but in the main sources.list.

    – Pilot6
    yesterday











  • They may show here, or not. I am not sure. Sources from /etc/apt/sources.list.d are shown here.

    – Pilot6
    yesterday








  • 1





    @Pilot6 I temporarily added a Precise repository deb http://archive.ubuntu.com/ubuntu precise Release in my sources.list and uploaded the new Software and Update screenshot in my answer.

    – user68186
    yesterday








  • 1





    Well done +1...

    – Pilot6
    yesterday

















This is not related. OP has a problem not in "Other Software", but in the main sources.list.

– Pilot6
yesterday





This is not related. OP has a problem not in "Other Software", but in the main sources.list.

– Pilot6
yesterday













They may show here, or not. I am not sure. Sources from /etc/apt/sources.list.d are shown here.

– Pilot6
yesterday







They may show here, or not. I am not sure. Sources from /etc/apt/sources.list.d are shown here.

– Pilot6
yesterday






1




1





@Pilot6 I temporarily added a Precise repository deb http://archive.ubuntu.com/ubuntu precise Release in my sources.list and uploaded the new Software and Update screenshot in my answer.

– user68186
yesterday







@Pilot6 I temporarily added a Precise repository deb http://archive.ubuntu.com/ubuntu precise Release in my sources.list and uploaded the new Software and Update screenshot in my answer.

– user68186
yesterday






1




1





Well done +1...

– Pilot6
yesterday





Well done +1...

– Pilot6
yesterday










Andreas Hadjigeorgiou is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Andreas Hadjigeorgiou is a new contributor. Be nice, and check out our Code of Conduct.













Andreas Hadjigeorgiou is a new contributor. Be nice, and check out our Code of Conduct.












Andreas Hadjigeorgiou is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120194%2fe-the-repository-http-archive-canonical-com-precise-release-is-not-signed%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局