apt-get update error in Proxmox fresh install 2.2 debian-6.0

Summary: I have given to work on proxmox and create virtual machine on the proxmox.I have tried to upload the ISO from front-end but i was facing an issue of permission, I have set permission to the user through which i was Log-in but wasn’t successful. I have Log-in to the server through ssh and check the server for different things. As i am using vim as an editor normally and it wasn’t installed on the server.

I have tried to install vim on the server through command

apt-get install vim

and find the error of GPG-key.

************************************************
Hit http://ftp.us.debian.org squeeze/contrib amd64 Packages
Hit http://download.proxmox.com squeeze/pve amd64 Packages
Fetched 1,672 B in 0s (2,041 B/s)

W: GPG error: http://ftp.us.debian.org squeeze Release: The following signatures
were invalid: BADSIG AED4B06F473041FA Debian Archive Automatic Signing Key (6.0
/squeeze) <ftpmaster@debian.org>
**************************************

I have resolved this issue through following tweak.

I have deleted the stale ftp.us.debian.org file from /var/lib/apt/lists.

rm -f /var/lib/apt/lists/ftp.us.debian.org

Then i run the command apt-get update and its completed without any issue. Issue fixed.

aptitude update
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Hit http://security.debian.org squeeze/updates Release
Get:1 http://ftp.us.debian.org squeeze Release.gpg [1,672 B]
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en_US
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Get:2 http://ftp.us.debian.org squeeze Release [99.8 kB]
Hit http://security.debian.org squeeze/updates/contrib amd64 Packages
Hit http://download.proxmox.com squeeze Release.gpg
Ign http://download.proxmox.com/debian/ squeeze/pve Translation-en
Ign http://download.proxmox.com/debian/ squeeze/pve Translation-en_US
Hit http://ftp.ro.debian.org squeeze Release.gpg
Ign http://ftp.ro.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.ro.debian.org/debian/ squeeze/contrib Translation-en_US
Ign http://ftp.ro.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.ro.debian.org/debian/ squeeze/main Translation-en_US
Ign http://ftp.ro.debian.org/debian/ squeeze/non-free Translation-en
Get:3 http://ftp.us.debian.org squeeze/main amd64 Packages [6,540 kB]
Hit http://download.proxmox.com squeeze Release
Ign http://ftp.ro.debian.org/debian/ squeeze/non-free Translation-en_US
Hit http://ftp.ro.debian.org squeeze Release
Ign http://download.proxmox.com squeeze/pve amd64 Packages
Hit http://ftp.ro.debian.org squeeze/main amd64 Packages
Hit http://download.proxmox.com squeeze/pve amd64 Packages
Hit http://ftp.ro.debian.org squeeze/contrib amd64 Packages
Hit http://ftp.ro.debian.org squeeze/non-free amd64 Packages
Get:4 http://ftp.us.debian.org squeeze/contrib amd64 Packages [53.0 kB]
Fetched 6,694 kB in 2s (2,911 kB/s)

Then i have installed the vim editor.

Hope this will help some one.

Leave a Reply

Your email address will not be published. Required fields are marked *