Requires installation of untrusted packages stop installing software and updates

Asked by john norton

'Requires installation of untrusted packages' error message prevents installing new software or updates for Ubuntu 12.04
I tried using Terminal sudo apt-get update but didn't get NO_PUBKEY numbers -message'unable to connect to nz.archive.ubuntu.com
Clicking Check button in Update manager allowed some updates to install but not new soft ware.
Unable to find GPG key.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Fabio Marconi (fabiomarconi) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We understand the difficulties you are facing, but it is better to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. You can also find help posting your problem in the support forum of your local Ubuntu's community http://loco.ubuntu.com/ or asking at http://askubuntu.com. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Can you give the output of:

sudo apt-get update; lsb_release -a; uname -a

Thanks

Revision history for this message
john norton (johnnnz) said :
#3

Thank you for your replys.
This is the message I get for Terminal.
I am new to using Ubuntu and not a computer expert.

john@john-Satellite-C640:~$ sudo apt-get update; lsb_release -a; uname -a
[sudo] password for john:
Sorry, try again.
[sudo] password for john:
Ign http://nz.archive.ubuntu.com precise InRelease
Ign http://nz.archive.ubuntu.com precise-updates InRelease
Ign http://nz.archive.ubuntu.com precise-backports InRelease
Ign http://nz.archive.ubuntu.com precise Release.gpg
Ign http://nz.archive.ubuntu.com precise-updates Release.gpg
Ign http://nz.archive.ubuntu.com precise-backports Release.gpg
Ign http://nz.archive.ubuntu.com precise Release
Ign http://nz.archive.ubuntu.com precise-updates Release
Ign http://nz.archive.ubuntu.com precise-backports Release
Ign http://nz.archive.ubuntu.com precise/main Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise/restricted Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise/universe Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise/multiverse Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise/main i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise/restricted i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise/universe i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise/multiverse i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise/main TranslationIndex
Ign http://nz.archive.ubuntu.com precise/multiverse TranslationIndex
Ign http://nz.archive.ubuntu.com precise/restricted TranslationIndex
Ign http://nz.archive.ubuntu.com precise/universe TranslationIndex
Ign http://nz.archive.ubuntu.com precise-updates/main Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise-updates/restricted Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise-updates/universe Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise-updates/multiverse Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise-updates/main i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise-updates/restricted i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise-updates/universe i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise-updates/multiverse i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise-updates/main TranslationIndex
Ign http://nz.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Ign http://nz.archive.ubuntu.com precise-updates/restricted TranslationIndex
Ign http://nz.archive.ubuntu.com precise-updates/universe TranslationIndex
Ign http://nz.archive.ubuntu.com precise-backports/main Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise-backports/restricted Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise-backports/universe Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise-backports/multiverse Sources/DiffIndex
Ign http://nz.archive.ubuntu.com precise-backports/main i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise-backports/restricted i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise-backports/universe i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise-backports/multiverse i386 Packages/DiffIndex
Ign http://nz.archive.ubuntu.com precise-backports/main TranslationIndex
Ign http://nz.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Ign http://nz.archive.ubuntu.com precise-backports/restricted TranslationIndex
Ign http://nz.archive.ubuntu.com precise-backports/universe TranslationIndex
Ign http://archive.canonical.com precise InRelease
Ign http://security.ubuntu.com precise-security InRelease
Ign http://extras.ubuntu.com precise InRelease
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Hit http://archive.canonical.com precise Release.gpg
Hit http://security.ubuntu.com precise-security Release
Hit http://archive.canonical.com precise Release
Hit http://extras.ubuntu.com precise Release
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://extras.ubuntu.com precise/main Sources
Err http://nz.archive.ubuntu.com precise/main Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise/restricted Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise/universe Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise/multiverse Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise/main i386 Packages
  403 Forbidden
Err http://nz.archive.ubuntu.com precise/restricted i386 Packages
  403 Forbidden
Err http://nz.archive.ubuntu.com precise/universe i386 Packages
  403 Forbidden
Err http://nz.archive.ubuntu.com precise/multiverse i386 Packages
  403 Forbidden
Ign http://nz.archive.ubuntu.com precise/main Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise/main Translation-en
Ign http://nz.archive.ubuntu.com precise/multiverse Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise/multiverse Translation-en
Ign http://nz.archive.ubuntu.com precise/restricted Translation-en_NZ
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted Sources
Ign http://nz.archive.ubuntu.com precise/restricted Translation-en
Ign http://nz.archive.ubuntu.com precise/universe Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise/universe Translation-en
Err http://nz.archive.ubuntu.com precise-updates/main Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-updates/restricted Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-updates/universe Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-updates/multiverse Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-updates/main i386 Packages
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-updates/restricted i386 Packages
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-updates/universe i386 Packages
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-updates/multiverse i386 Packages
  403 Forbidden
Ign http://nz.archive.ubuntu.com precise-updates/main Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise-updates/main Translation-en
Ign http://nz.archive.ubuntu.com precise-updates/multiverse Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise-updates/multiverse Translation-en
Ign http://nz.archive.ubuntu.com precise-updates/restricted Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise-updates/restricted Translation-en
Ign http://nz.archive.ubuntu.com precise-updates/universe Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise-updates/universe Translation-en
Err http://nz.archive.ubuntu.com precise-backports/main Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-backports/restricted Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-backports/universe Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-backports/multiverse Sources
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-backports/main i386 Packages
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-backports/restricted i386 Packages
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-backports/universe i386 Packages
  403 Forbidden
Err http://nz.archive.ubuntu.com precise-backports/multiverse i386 Packages
  403 Forbidden
Ign http://nz.archive.ubuntu.com precise-backports/main Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise-backports/main Translation-en
Ign http://nz.archive.ubuntu.com precise-backports/multiverse Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise-backports/multiverse Translation-en
Ign http://nz.archive.ubuntu.com precise-backports/restricted Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise-backports/restricted Translation-en
Ign http://nz.archive.ubuntu.com precise-backports/universe Translation-en_NZ
Ign http://nz.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Ign http://archive.canonical.com precise/partner Translation-en_NZ
Ign http://archive.canonical.com precise/partner Translation-en
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Ign http://extras.ubuntu.com precise/main Translation-en_NZ
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/main/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/restricted/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/multiverse/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/main/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/main/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/source/Sources 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-i386/Packages 403 Forbidden

W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages 403 Forbidden

E: Some index files failed to download. They have been ignored, or old ones used instead.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux john-Satellite-C640 3.2.0-35-generic-pae #55-Ubuntu SMP Wed Dec 5 18:04:39 UTC 2012 i686 i686 i386 GNU/Linux
john@john-Satellite-C640:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Run:

gksudo gedit /etc/apt/sources.list

Change:
nz.archive

to:
archive

on each lines, save the new file and close gedit. Then run:

sudo apt-get update

Revision history for this message
john norton (johnnnz) said :
#5

Changed nz.archive to archive but still no NO_PUBKEY number
This is the message I got.
john@john-Satellite-C640:~$ gksudo gedit /etc/apt/sources.list
john@john-Satellite-C640:~$ sudo apt-get update
Ign http://archive.ubuntu.com precise InRelease
Ign http://archive.canonical.com precise InRelease
Ign http://security.ubuntu.com precise-security InRelease
Ign http://extras.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise-updates InRelease
Hit http://security.ubuntu.com precise-security Release.gpg
Get:1 http://extras.ubuntu.com precise Release.gpg [72 B]
Hit http://archive.canonical.com precise Release.gpg
Ign http://archive.ubuntu.com precise-backports InRelease
Hit http://security.ubuntu.com precise-security Release
Hit http://extras.ubuntu.com precise Release
Get:2 http://archive.ubuntu.com precise Release.gpg [198 B]
Hit http://archive.canonical.com precise Release
Hit http://security.ubuntu.com precise-security/main Sources
Get:3 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://extras.ubuntu.com precise/main Sources
Get:4 http://archive.ubuntu.com precise-backports Release.gpg [198 B]
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://archive.canonical.com precise/partner i386 Packages
Get:5 http://archive.ubuntu.com precise Release [49.6 kB]
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse Sources
Get:6 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Ign http://extras.ubuntu.com precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security/main i386 Packages
Get:7 http://archive.ubuntu.com precise-backports Release [49.6 kB]
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Get:8 http://archive.ubuntu.com precise/main Sources [934 kB]
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en_NZ
Ign http://archive.canonical.com precise/partner Translation-en
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Ign http://extras.ubuntu.com precise/main Translation-en_NZ
Ign http://extras.ubuntu.com precise/main Translation-en
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:9 http://archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:10 http://archive.ubuntu.com precise/universe Sources [5,019 kB]
Get:11 http://archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:12 http://archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:13 http://archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:14 http://archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:15 http://archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:16 http://archive.ubuntu.com precise/main TranslationIndex [3,706 B]
Get:17 http://archive.ubuntu.com precise/multiverse TranslationIndex [2,676 B]
Get:18 http://archive.ubuntu.com precise/restricted TranslationIndex [2,596 B]
Get:19 http://archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:20 http://archive.ubuntu.com precise-updates/main Sources [197 kB]
Get:21 http://archive.ubuntu.com precise-updates/restricted Sources [4,419 B]
Get:22 http://archive.ubuntu.com precise-updates/universe Sources [67.5 kB]
Get:23 http://archive.ubuntu.com precise-updates/multiverse Sources [4,244 B]
Get:24 http://archive.ubuntu.com precise-updates/main i386 Packages [457 kB]
Get:25 http://archive.ubuntu.com precise-updates/restricted i386 Packages [8,374 B]
Get:26 http://archive.ubuntu.com precise-updates/universe i386 Packages [165 kB]
Get:27 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [9,675 B]
Get:28 http://archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:29 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:30 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:31 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:32 http://archive.ubuntu.com precise-backports/main Sources [2,422 B]
Get:33 http://archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:34 http://archive.ubuntu.com precise-backports/universe Sources [20.3 kB]
Get:35 http://archive.ubuntu.com precise-backports/multiverse Sources [2,669 B]
Get:36 http://archive.ubuntu.com precise-backports/main i386 Packages [1,941 B]
Get:37 http://archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:38 http://archive.ubuntu.com precise-backports/universe i386 Packages [20.3 kB]
Get:39 http://archive.ubuntu.com precise-backports/multiverse i386 Packages [2,504 B]
Get:40 http://archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Get:41 http://archive.ubuntu.com precise-backports/multiverse TranslationIndex [72 B]
Get:42 http://archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Get:43 http://archive.ubuntu.com precise-backports/universe TranslationIndex [73 B]
Get:44 http://archive.ubuntu.com precise/main Translation-en [726 kB]
Get:45 http://archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:46 http://archive.ubuntu.com precise/restricted Translation-en [2,395 B]
Get:47 http://archive.ubuntu.com precise/universe Translation-en [3,341 kB]
Get:48 http://archive.ubuntu.com precise-updates/main Translation-en [219 kB]
Get:49 http://archive.ubuntu.com precise-updates/multiverse Translation-en [5,414 B]
Get:50 http://archive.ubuntu.com precise-updates/restricted Translation-en [2,082 B]
Get:51 http://archive.ubuntu.com precise-updates/universe Translation-en [97.8 kB]
Get:52 http://archive.ubuntu.com precise-backports/main Translation-en [1,244 B]
Get:53 http://archive.ubuntu.com precise-backports/multiverse Translation-en [1,476 B]
Get:54 http://archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Get:55 http://archive.ubuntu.com precise-backports/universe Translation-en [14.1 kB]
Fetched 18.0 MB in 42s (425 kB/s)
Reading package lists... Done
john@john-Satellite-C640:~$

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#6

Looks fine to me

Revision history for this message
john norton (johnnnz) said :
#7

Thank you Andrew I think this has solved the problem. The latest updates installed ok. I may still be having some problems installing plugin for Movie Player but I will close this question and see if it get sorted out.
Kind regards, John.