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 appeared Saturdays in the Los Angeles Daily News through about October 2009, is available on the Daily News Technology page.

About this blog






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

Search this blog

Loading

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's Storage Bits
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
Aaron Toponce
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
OMG! Ubuntu!
I' Been to Ubuntu
Tanner Helland
Dustin Kirkland
Ubuntu UK Podcast
Ubuntu Linux Help
Popey
Linux Mint
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
Lucky 13's Linux blog (lots of Tiny Core)
Lucky 13's BSD blog
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Planet Fedora
Fedora Forums
Fedora Docs
Join 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
hubertf's NetBSD Blog
PC-BSD
Daemon Forums
FreeBSD Forums
Planet FreeBSD
Evilcoder.org
miwi's Privat Blog
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
BSD Magazine
Rhyous
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
The Tech Report
Engadget
Gizmodo
Phoronix
xkcd – A webcomic of romance, sarcasm, math and language
Nixie Pixel
Technology for Mortals
Thoughts on Technology
ZaReason
System 76
Tiger Direct
NewEgg
DealExtreme

Advertisement

Other blogs

Neuheisel/Johnson Pt. 3 in Inside UCLA with Jon Gold
Live: U.S.-Chile at Home Depot Center in 100 Percent Soccer
Girls' basketball: Bell-Jeff wins again in Daily News High School Spotlight
Decision Time in Inside USC with Scott Wolf
Countdown to Debian Squeeze in CLICK