Are you having a Debian key issue?

| | Comments (5) |

I've had issues with expired Debian keys periodically, and I've posted on it before but am even too lazy to look up my own entries on the matter.

I did find Debian's Web page on how to get the "current" key set up.

I basically followed the instructions:

$ gpg --keyserver subkeys.pgp.net --recv-keys 55BE302B

The output in the terminal should look something like this:

gpg: requesting key 55BE302B from hkp server subkeys.pgp.net
gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) " imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

Then I did the following (still using a regular, non-root terminal and using sudo for the rootly portion of the command)(:

$ gpg -a --export 55BE302B | sudo apt-key add -

Then I updated the package list:

$ sudo aptitude update

I stayed in the terminal and used sudo aptitude install to add my package.

This time I didn't get "WARNING: untrusted versions of the following packages will be installed," and that means problem solved regarding my Debian keys.

Note: Yep, I use Aptitude instead of apt. I've found that Aptitude adds more dependencies than apt does alone, and for me that works. I have yet to explore Aptitude in depth, but my respect and admiration for the Debian packaging tools continues.


5 Comments

gronk Author Profile Page said:

My understanding after discussing this on irc is that the default aptitude configuration installs the "Recommends" packages, while the defaults for apt don't install the "Recommends" packages. I suspect this is configurable for both tools, but have not investigated. I found that when first setting up a box, the use of aptitude got me to the finish faster, because of this difference. Apt and Aptitude are great, and along with the careful attention the debian devs pay to package building, one gets a really strong system, very resistant to breakage.

This difference is one reason the sidux team strictly recommends using apt over aptitude for installing packages.

@gronk

I think you are correct about the "recommends."

While I'm running this particular Debian installation a lot leaner than I usually do (it's more stock GNOME than anything), I still appreciate the extra packages and the functionality they bring when I add an application with Aptitude.

Abiword, for instance, doesn't include the spell-check function (or didn't the last time I installed it, which was over a year ago) when you use apt but does when you use Aptitude.

Plus Aptitude saves all of your "work" using it in a database, which could theoretically be useful if you have a problem.

I've never "needed" to consult the Aptitude database, so this might not be the kind of thing that's a deal-breaker.

@gronk: apt-get used to differ the way you describe, but for some time now, both apt-get and aptitude will install recommended packages by default.

You can alter the default (for both) by adding this line to /etc/apt/apt.conf. (Note that the file may not exist before you go to edit it.)

APT::Install-Recommends "false";

I was looking at the documentation for Sidux, which is based on Debian Sid (and which I've used before successfully, not so much lately), and it recommends apt-get for periodic dist-upgrades, and specifically NOT Aptitude or Synaptic. The Sidux developers say that only apt-get can handle the sometimes complicated upgrades that happen when following Sid.

roger said:

Well, I was getting the infamous "WARNING: untrusted versions of the following packages will be installed!" message. So I tried the recipe given here, using gpg and apt-key.

Didn't solve the problem.

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 January 4, 2010 3:20 PM.

Get a Lenovo computer cheap - and from Lenovo was the previous entry in this blog.

The $99 Cherrypal laptop - it runs Linux and you can buy it RIGHT NOW (but is it for real, and are these actually being shipped to those who order them?) 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

roger on Are you having a Debian key issue?: Well, I was getting the infamous "WARNING: untrusted versions of the f ...

Steven Rosenberg on Are you having a Debian key issue?: I was looking at the documentation for Sidux, which is based on Debian ...

telemachos.myopenid.com on Are you having a Debian key issue?: @gronk: apt-get used to differ the way you describe, but for some time ...

Steven Rosenberg on Are you having a Debian key issue?: @gronk I think you are correct about the "recommends." While I'm run ...

gronk on Are you having a Debian key issue?: My understanding after discussing this on irc is that the default apti ...

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

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
Chow officially to Utah in Inside UCLA with Jon Gold
Countdown to Debian Squeeze in CLICK