Affected by this issue after a Hardy to Lucid upgrade. I found the workaround in comment #2 aren't quite sufficient since it contains several broken sym-links after the upgrade:
ls -l /usr/lib/python2.6/dist-packages/setuptools.egg-info total 4 lrwxrwxrwx 1 root root 60 2010-06-20 12:35 dependency_links.txt -> /usr/share/pyshared/setuptools.egg-info/dependency_links.txt lrwxrwxrwx 1 root root 56 2010-06-20 12:35 entry_points.txt -> /usr/share/pyshared/setuptools.egg-info/entry_points.txt lrwxrwxrwx 1 root root 52 2010-06-20 12:35 not-zip-safe -> /usr/share/pyshared/setuptools.egg-info/not-zip-safe lrwxrwxrwx 1 root root 48 2010-06-20 12:35 PKG-INFO -> /usr/share/pyshared/setuptools.egg-info/PKG-INFO lrwxrwxrwx 1 root root 51 2010-06-20 12:35 SOURCES.txt -> /usr/share/pyshared/setuptools.egg-info/SOURCES.txt lrwxrwxrwx 1 root root 53 2010-06-20 12:35 top_level.txt -> /usr/share/pyshared/setuptools.egg-info/top_level.txt lrwxrwxrwx 1 root root 48 2010-06-20 12:35 zip-safe -> /usr/share/pyshared/setuptools.egg-info/zip-safe Instead I did: sudo rm -rf /usr/lib/python2.6/dist-packages/setuptools.egg-info sudo apt-get install --reinstall python-setuptools After which the system has: ls -l /usr/lib/python2.6/dist-packages/setuptools.egg-info lrwxrwxrwx 1 root root 43 2010-06-20 18:27 /usr/lib/python2.6/dist-packages/setuptools.egg-info -> ../../../share/pyshared/setuptools.egg-info -- UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages) https://bugs.launchpad.net/bugs/576434 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs