Monthly Archive for October, 2009

Re-installing with yum

I recently had a problem where a yum update broke things because of my umask setting, I needed to reinstall the packages.

Yum doesn’t have a reinstall feature, and I didn’t want to do a remove first, the packages were currently in use. So how to do a reinstall?

Remove the package from the RPM database without actually removing it:
# rpm -e --justdb --nodeps "package name"

The package is still installed but when yum queries the RPM DB it will find it missing and allow you to install it:
# yum install "package name"

Ubuntu 9.04/Epiphany/Webkit

As mentioned previously my posts will feature Debian and Ubuntu more prominantly now.

Epiphany is still the Gnome web browser, though I think Debian is the only major distro to make it the default. I like Epiphany, it’s smart bookmarks are tremendous, but the gecko backend is pretty crumby and the cause of a few major unresolved bugs. With Gnome 2.28 webkit has become the standard backend for epiphany making it a very cool option.

If you want some webkit goodness your current Ubuntu 9.04 (Jaunty) release, it is pretty simple.

Edit the file “/etc/apt/sources.list” (use sudo to gain priveleges)

Add following lines:

deb http://ppa.launchpad.net/webkit-team/epiphany/ubuntu jaunty main
deb http://ppa.launchpad.net/webkit-team/ppa/ubuntu jaunty main

Import the correct GPG key:
$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2D9A3C5B

Update the source list and install epiphany
$ sudo apt-get update
$ sudo apt-get install epiphany-webkit