Bad gpg keys when updating a Debian Etch box (preparing it for Lenny) and then replacing a corrupted libc6 ... but end result is a broken system

| | Comments (0) |

I just tried to update a Debian Etch box that hasn't seen any action in about a year, and I got this message when using the Update Manager:

W: GPG error: ... The following signatures couldn't be verified because the public key is not available: NO_PUBKEY xxxxxxxxxxxxxxxxxxxxxxxxxx
W: You may want to run apt-get update to correct these problems

(Note: I don't have the exact error message because I'm not using the box in question to write this post ... but it looks just like this, except with a bit more information and the full

I do have a few Debian Etch boxes hanging around, and today I wanted to update one — the Self-Reliant Thin Client (Maxspeed Maxterm thin client with 8 GB CF card as the hard drive) — and I ran into some PGP key issues.

I already dealt with how to fix the Opera key (if you're using the Opera repository for the free but not-open source browser, and I am), but I'll repeat what you should run, in this case specifically for Debian and using a root terminal (instead of sudo).

Open a root terminal (or su to root) and do the following:

# gpg --keyserver subkeys.pgp.net --recv-key F9A2F76A9D1A0061
# gpg --fingerprint F9A2F76A9D1A0061
# gpg --armor --export F9A2F76A9D1A0061 | apt-key add -

That takes care of the Opera key.

On this Etch box, my Debian key was bad as well. I can see that happening. I probably haven't booted this box in over a year, and since then the whole SSL problem with Debian happened, caused hair-rending, and then was resolved, so that might have caused the problem ... or maybe not.

At any rate, I did get errors when trying to update the box with Synaptic (I eventually used Aptitude in the console, my preferred method at least some of the time), so I needed to get a new Debian key. Here's how I did that one (thanks to Stackoverflow.com for the recipe):

# apt-get install debian-keyring
# gpg --keyserver pgp.mit.edu --recv-keys 1F41B907
# gpg --armor --export 1F41B907 | apt-key add -

Then I still had a problem with libc6. when trying to upgrade/update with:

# aptitude update
# aptitude upgrade

... I kept getting a message about libc6 being a corrupted package.

I got around this problem by first clearing the cache and then installing libc6 (and its dependency, libc6-i686) individually:

# aptitude clean
# aptitude install libc6

That worked. My "corrupted" package was gone, replaced by the presumably uncorrupted libc6, and I was able to then proceed with the update/upgrade:

# aptitude update
# aptitude upgrade

Update: I'm getting checksum errors in the downloaded packages. Could this be the CF card going bad? I cleaned out the packages and am trying another upgrade.

Further update: The box is dead. That half-upgrade made it so I can't even log in ... Guess I'll have to do a reinstall after all.

Even further update: I pulled the CF card and ran fsck on it from another box. It checks out. Why did I keep getting packages with bad checksums?

I'll have to hook up the CD drive and do a reinstall. I can't remember whether or not this particular box will boot Lenny. I could always reinstall Etch and upgrade from there. Since the CF card checks out with fsck, I can hopefully keep the same partitions when doing the reinstall.

Final word on 2.16.18 nostalgia: Before I close this out, the 2.6.18 kernel used in Etch and Red Hat Enterprise Linux (and CentOS) 5, PCLinuxOS 2007 and probably a few other distros I've forgotten, has been a very good kernel to me, for my hardware (especially the $0 Laptop, a Gateway Solo 1450). I'll miss it. I welcome all the new hardware drivers, especially wireless networking drivers, in the newer kernels. I don't welcome the regressions in Xorg, but since the Self-Reliant Thin Client uses an S3 video chip rather than Intel, maybe I can blissfully move to Lenny without trouble ...

Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

About this blog

New ways to sign in to comment: I just added the ability for prospective commenters on this blog to sign in using their AOL, Yahoo! and Wordpress.com accounts (for the past 200 posts anyway ... more than that will take an extensive, middle-of-the-night rebuild). That's in addition to the other sign-in choices, which include starting a Movable Type account on this blog, Typekey, OpenID, Live Journal and Vox. If you have trouble getting your Movable Type account verified, or any of the other sign-in options are not working properly, please e-mail me. With these added ways of signing in, there's more reason than ever for you to make a comment (or several!).




Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on October 6, 2009 2:00 PM.

The Ubuntu obsession of Tanner Helland was the previous entry in this blog.

New (to me) update notifications in Ubuntu 9.04, plus fixing a 'Distribution Updates' issue in the Update Manager is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Powered by Movable Type 4.25

LXer

Links

Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet U.K.
iTWire
CNet News
Webware
Beyond Binary
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Gobuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
Tanner Helland
Dustin Kirkland
Ubuntu UK Podcast
Popey
gNewSense
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
PC-BSD
DesktopBSD
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
Engadget
Gizmodo

Advertisement

Other blogs

Neuheisel ON: in Inside UCLA with Jon Gold
BCS Foes in Inside USC with Scott Wolf
Injury updates in Inside the Lakers
HS FOOT: San Fernando forced to forfeit two victories in Daily News High School Spotlight
Hillary is Still the Best President That Wasn't in Friendly Fire