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
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 links.txt -> /usr/share/ pyshared/ setuptools. egg-info/ dependency_ links.txt pyshared/ setuptools. egg-info/ entry_points. txt pyshared/ setuptools. egg-info/ not-zip- safe pyshared/ setuptools. egg-info/ PKG-INFO pyshared/ setuptools. egg-info/ SOURCES. txt pyshared/ setuptools. egg-info/ top_level. txt pyshared/ setuptools. egg-info/ zip-safe
total 4
lrwxrwxrwx 1 root root 60 2010-06-20 12:35 dependency_
lrwxrwxrwx 1 root root 56 2010-06-20 12:35 entry_points.txt -> /usr/share/
lrwxrwxrwx 1 root root 52 2010-06-20 12:35 not-zip-safe -> /usr/share/
lrwxrwxrwx 1 root root 48 2010-06-20 12:35 PKG-INFO -> /usr/share/
lrwxrwxrwx 1 root root 51 2010-06-20 12:35 SOURCES.txt -> /usr/share/
lrwxrwxrwx 1 root root 53 2010-06-20 12:35 top_level.txt -> /usr/share/
lrwxrwxrwx 1 root root 48 2010-06-20 12:35 zip-safe -> /usr/share/
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 python2. 6/dist- packages/ setuptools. egg-info -> ../../. ./share/ pyshared/ setuptools. egg-info
lrwxrwxrwx 1 root root 43 2010-06-20 18:27 /usr/lib/