[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [User Question] python2.7 uninstallable while upgrade to Wheezy



* tech mailinglists <mailinglists.tech@gmail.com>, 2013-05-12, 01:16:
/usr/lib/python2.7/site-packages is a directory which is expected a symlink to /usr/local/lib/python2.7/dist-packages. please find the package shipping files in /usr/lib/python2.7/site-packages and file a bug report to ship these in /usr/lib/python2.7/dist-packages instead aborting installation of python2.7-minimal

Admittedly, that's not a very helpful error message, for many reasons:
- On a correctly configured system, /usr/lib/python2.7/site-packages is not a symlink. It doesn't exist at all. - Finding packages shipping files in /usr/lib/python2.7/site-packages is very easy (just use dpkg -S), so the preinst script could have done this for you. - It's not necessarily a package shipping files in site-packages that is the culprit. The directory might have been put there by something else.

One could also wonder why is this check necessary in the first place. It's not like existence of the directory in question negatively affects python2.7 in any way.

--
Jakub Wilk


Reply to: