Fixing pbuilder dependency 404 errors

If you're building packages with pbuilder sometimes you might hit something like the following errors which cause the build to fail because the dependencies can't be found. Err http://archive.ubuntu.com/ubuntu/ precise-updates/main devscripts i386 2.11.6ubuntu1.2 404 Not Found [IP: 91.…

Linux: Spotify Screensaver D-Bus Script update

Following on from my previous post [https://muffinresearch.co.uk/archives/2010/11/03/spotify-screensaver-toggle-with-dbus/] about a script to Pause and Play tracks on spotify based on the status of the screensaver as reported by D-Bus on a Linux Desktop, here's an update: With the latest versions of…

Linux: Spotify Track Notifier with added D-Bus love

I've recently updated the spotify notifier example I'd previously posted as an example along with my spotify screensaver script [https://muffinresearch.co.uk/archives/2010/11/03/spotify-screensaver-toggle-with-dbus/]. First, I made an update to have it listen to the PropertiesChanged signal. Annoyingly for some unknown reason…

Ubuntu: java.net.SocketException in ec2-api-tools

Having installed ec2-api-tools under my lucid dev environment I was trying to shut ec2 instances down with ec2stop [instance_id] and I was getting the following exception: $ ec2stop i-XXXXXXXX Unexpected error: java.net.SocketException: Invalid argument or cannot assign requested address at java.net.PlainSocketImpl.socketConnect(Native Method) at java.…