Archive for November, 2007

Ubuntu and Windows Shares: PyNeighborhood FTW

Thursday, November 1st, 2007

After a few years of using dated distributions, I am continually impressed by Ubuntu. I wanted to mount a Windows share on my Linux box. Googling led me to pyNeighborhood. Before I installed it, I ran a locate and noticed I had at least one file (on a default Ubuntu install) with the name pyNeighborhood, so I tried running it.

Ubuntu told me that it wasn’t installed, and I should run apt-get to install it. I did, and it installed pyNeighborhood for me. Sweet. So far, I am liking apt-get way more than rpm. Of course, I’m just a developer/Linux hobbyist, not an admin who with a local repository that updates many machines.

I found some instructions, and created a mount point in my home directory I had write access to. Then I changed the mount point in the pyNeighborhood preferences. Voila! Now I can copy that huge file straight to my Linux box. Awesome.

Upgrade Ubuntu 7.4 to 7.10

Thursday, November 1st, 2007

I recently upgraded my Linux box from Ubuntu 7.4 to 7.10, and it went pretty smoothly. There was only one hiccup: when I ran update-manager -c to check for a new distribution, I got a Python error that was along the lines of global name 'dbus' is not defined.

I found this bug that helped. Just go to /usr/lib/python2.5/site-packages/UpdateManager and edit DistUpgradeFetcher.py. After the line that reads import urllib2, add the following:

import os
import dbus

Run update-manager again and you should be good to go.