Blacklisting firefox 3.0 in Hardy (and installing 2.0)

I used the following resources to accomplish this:

  • http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html
  • http://ubuntuforums.org/showthread.php?t=208426

First add an additional deb source for feisty packages. I did it like this:

touch /etc/apt/sources.list.d/feisty.list
echo "deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse" >>  /etc/apt/sources.list.d/feisty.list

Then you have to tell apt that feisty has preference for the firefox packages:

nano -w /etc/apt/preferences

And add this to the file:

Package: firefox
Pin: version 2.0*
Pin-Priority: 1001

Package: firefox-gnome-support
Pin: version 2.0*
Pin-Priority: 1001

And the last thing to do:

aptitude install firefox

Make sure all of this is executed as sudo!

[edit]
They fixed this “problem”. You can now install firefox-2 instead of using this overlay stuff.

sudo aptitude install firefox-2 firefox-2-gnome-support

Rhythmbox

I fired up rhythmbox today to play my music. I pointed rhythmbox to my ~/Music directory and it index 10% of my songs. Huh? WTF!?

Apparently not all required codecs are installed eh? I didn’t want to search through documentation and what not, to find out what it was exactyle missing. So I did a:

sudo apt-get install gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly-multiverse

and all was peace again…

How to install acroread on ubuntu Hardy Herron

echo "deb http://packages.medibuntu.org/ hardy free non-free" | sudo tee -a /etc/apt/sources.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
sudo aptitude install acroread

Worked like a charm!

Rdoc and Rails

With my fabulous new project: mpd_radio I’m trying to everything right: tests, documentation, the whole shebang. So I was surfing tonight for some tutorials on rdoc. But I couldn’t find a lot. Some useful links:

When I learn some more about it I’ll post it here!

What’s all this git stuff anyway?

I’m reading a lot about git lately. Supposedly it’s the next greatest revision control software. It’s faster, better and doesn’t take the enormous amount of space subversion does. Maybe I’ll try it anytime soon but I don’t see any obvious advantages for using git over subversion.

I think using git’s a lot more trouble. Does capistrano work? Where am I going to host my project? Does netbeans support git? Is there enough git documentation for dumb people like me?

New blog!

I removed my old blog and created this brand new one! Hopefully I’m going to post a little more here. Maybe some more on Rails. And I’m planning to pick up bass guitar playing again! So maybe some new bass tabs in the near future!