Andrew Que Sites list Photos
Projects Contact

May 25, 2010

Photoblog back in biz!



   It has been since January, but our photoblog is back in business.  Finished getting all the software pieces for my new camera to work, and we are in operation again.


   At long last, I got the stupid camera download software to work.  I could have used the Linux software--but it  was doing stupid things with the directory names.  I already have scripts setup to deal with the names the Canon software does.  So I ended up using VirtualBox to install the Canon download software.

1 comment has been made.

From Steve

JanesHell, WI

May 26, 2010 at 6:43 PM

Yeah, I suppose the Canon software, like most other software that comes with electronic gadgets, is geared to run on Winblows, which is likely why you wound up having to use virtualization.

May 23, 2010

Public key issues

W: GPG error: karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 42F5C2B05223CA92

(This is one I still have--I can't find this public key)  I had about 50 of these errors.  You can add each key manually, but I didn't have a few hours to spend doing this.  Time for some shell magic...

sudo apt-get update 2> temp

This piped all my errors into a file called "temp".

cat temp | sed 's/.*NO_PUBKEY \(.*\)/\1/' > temp2

This copied all the unknown key IDs into a file called "temp2"

cat temp2 | xargs gpg --keyserver --recv
cat temp2 | xargs -t -I{}  gpg --export --armor {} | sudo apt-key add -

And these two lines downloaded the keys and imported them.  After that, I was only missing one public key--and I'll live with that.

2 comments have been made.

From pascal

france (europe)

June 13, 2010 at 4:48 PM

For first excuse me for my bad english (froggy is froggy). Your issue seem very good . I've use it for debian and E17 like this: # apt-get update 2> temp #cat temp | sed 's/.*NO_PUBKEY \(.*\)/\1/' >temp2 #cat temp2 | xargs gpg --keyserver --recv It's ok now but : #cat temp2 | xargs -t -I{} gpg --export --armor {} | sudo apt-key add - get Invalid option "armorXXXXXXXXXXXXXX" Can you give me ideas ? Thanks.

From Andrew Que (

Wisconsin, USA

June 13, 2010 at 11:29 PM

Humm... I didn't actually expect anyone would find this useful! Perhaps we could correspond via e-mail and work out a solution--see my "contact" link. I'll try and look at my solution again as maybe I didn't post the command correctly. And don't feel bad--your English is far better then my French!

May 22, 2010

Server upgrades



   Updated the server to Ubuntu 10.04 today.  Despite the recommendation to do server updates via the network, I decided to try using the alternate CD.  It mostly worked, and I don't know if the problems I had were related to using the alt. CD, or if there was something else going on.  I ended up with a bad list of mirror servers, and no public key list, both of which I had to fix manually.
   After the update, I had to rebuild PHP as the update killed the web server.  Each time I do this, I ended up having to download and install four or five libraries--and always the same ones.  Makes me wonder why they are removed during the update process.  Not to worry though--10.04 is a long term stable.  So I don't plan on doing an update again until the next LTS--and I have a couple years for that.
   Notes as Noah and I help Erica study for a physics finial.

2 comments have been made.

From Ericasaurus Rex


June 11, 2010 at 1:30 PM

I got a 45/50 (A-!) on that test. I am sooooooo glad I sought help.

From Andrew Que (

Wisconsin, USA

June 13, 2010 at 11:30 PM

Well done!