DAB appliance apt-get fix

apmuthu

Renowned Member
Feb 26, 2009
808
8
83
Chennai - India & Singapore
github.com
Yesterday, I re-built the joomla template and tried to create a new Virtual Machine with it.
I found that there was no MySQL or Apache running or installed when I ran ps aux.

The culprit was the recent expiry of a Debian key.

The simple fix should have been
Code:
apt-key update
or an uninstall and re-install of the debian-archive-keyring package.

Inside the Virtual Machine, an apt-get update hung at:
Code:
gpg: requesting key 9AA38DCD55BE302B from hkp server subkeys.pgp.net
NO_PUBKEY 9AA38DCD55BE302B

The last 4 bytes of the key above, viz., 55BE302B is what we need.

The following commands on the host console with a re-build of the template solved the issue:
Code:
# gpg --keyserver subkeys.pgp.net --recv-keys 55BE302B
gpg: requesting key 55BE302B from hkp server subkeys.pgp.net
gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) <[EMAIL="ftpmaster@debian.org"]ftpmaster@debian.org[/EMAIL]>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
 
# gpg -a --export 55BE302B | apt-key add -
OK

Even if we get the following on the second command above, it is alright:
Code:
# gpg -a --export 55BE302B | apt-key add -
gpg: no ultimately trusted keys found
OK
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!