View Single Post
Posts: 18 | Thanked: 20 times | Joined on Jul 2008
#68
Originally Posted by marmistrz View Post
Aapo: a critical bug detected.

If the directory /usr/lib/python2.7 exists (and it exists somehow even without python2.7 installed), /opt/python27 points to /usr/lib/python2.7/python2.7. The postinst should expect that the directory might exist.
I tested, /usr/lib/python2.7/python2.7 pointed to /opt/python27/lib/python2.7, installation was broken.

Anyway, IMHO we can't manage the case.
/usr/lib/python2.7 _must_ be a link to /opt/python2.7/lib.
If it exists before installation of python2.7, we have no way to go ahead.
Every package writing in /usr/lib/python2.7 should depend on python2.7 (symlinking is in python2.7-minimal postinst), so he should find symlink to /opt ready.

What package was creating /usr/lib/python2.7 in your system ?
 

The Following User Says Thank You to wazrus For This Useful Post: