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.189.92.188 80]…

Linux: Spotify Screensaver D-Bus Script update

Following on from my previous post 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 Spotify on Linux (e.g: 0.6.1.309.gb871a7d0, 0.…

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. First, I made an update to have it listen to the PropertiesChanged signal. Annoyingly for some unknown reason this signal isn't visible in D-feet which had led to the erroneous assumption…

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.…

Linux: Fix for apt-get update - Waiting for Headers

If you're a Google chrome user on Ubuntu you may have noticed apt-get update seems to wait around for two minutes sitting at 99%. The culprit is the google apt repo having issues with http/1.1 pipelining. Fortunately there's a bug for it on Launchpad with a workaround that…