a blog by Marius Gedminas

Posts tagged Ubuntu

Easy easy_install on Ubuntu Gutsy

I want to be able to install small and simple Python packages from Cheeseshop by typing 'easy_install packagename'. This does not work out of the box on Ubuntu Gutsy (even after installing python-setuptools): easy_install tries to install stuff into /usr, which (a) requires root permissions and (b) is just Not Done on Linux, where /usr belongs to the distribution's package manager1. 1 /usr/local is for extra stuff. I consider it a bug in setuptools that it prefers /usr over /usr/local.

Upgrade to Feisty Fawn

Last Saturday I upgraded my laptop from Ubuntu Edgy (6.10) to Feisty (7.04). The upgrade broke down a bit (like every other Ubuntu upgrade before it, but in a different way): I left the update manager running, and when I came back several hours later, it was gone. Apt in a terminal complained about the upgrade being interrupted and prompted me to run dpkg --configure -a. I did that, answered a bunch of questions about which config files I wanted to override, rebooted, and that was it.