PDA

View Full Version : [ubuntu] GPG error on sudo apt-get update



bopmatic
September 2nd, 2008, 03:37 AM
Hi all,

I am getting the following error message everytime I do "sudo apt-get update"

W: GPG error: http://wine.budgetdedicated.com hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 58403026387EE263

How can I get rid of this?

Thanks.

Pumalite
September 2nd, 2008, 03:48 AM
Post:
cat /etc/apt/sources.list

iaculallad
September 2nd, 2008, 03:52 AM
On your terminal, try adding the GPG key:


wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

and


sudo apt-get update && sudo apt-get upgrade

bopmatic
September 2nd, 2008, 03:56 AM
Post:
cat /etc/apt/sources.list

This is what I got:

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://hk.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://hk.archive.ubuntu.com/ubuntu/ hardy restricted main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://hk.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://hk.archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://hk.archive.ubuntu.com/ubuntu/ hardy universe
deb http://hk.archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://hk.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://hk.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://hk.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://hk.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse

bopmatic
September 2nd, 2008, 04:13 AM
On your terminal, try adding the GPG key:


wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

and


sudo apt-get update && sudo apt-get upgrade

WOW, that works....thanks!! :guitar: