On Mon, Jul 24, 2006 at 09:05:01PM -0300, Gustavo Noronha Silva wrote: > Hello, > > I saw this problem in a local machine, but I thought it was a problem > with me messing up with the python installation while testing, so I > fixed it locally and forgot to take notes on what file was causing the > problem... > > I need some help to create a work-around in the preinst, then, since I > cannot reproduce it anymore by installing a previous version. It may be > a bug in an earlier version of python-support =/. > > Anyway, let's go on to how you can help me: > > > Edit /usr/sbin/update-python-modules and add the following line just > before the problem (in other words, add it to line 121, just before > the call to os.symlink): > > print fullpath, destpath > > I don't know if you're familiar with Python, you must have the > indentation be exactly the same as the os.symlink line. Then run the > update-python-modules script again: > > /usr/sbin/update-python-modules -i /usr/share/python-support/python-kiwi
smyslov:~/deb# /usr/sbin/update-python-modules -i /usr/share/python-support/python-kiwi /usr/share/python-support/python-kiwi/kiwi-1.9.8.egg-info/top_level.txt /var/lib/python-support/python2.4/kiwi-1.9.8.egg-info/top_level.txt /usr/share/python-support/python-kiwi/kiwi-1.9.8.egg-info/PKG-INFO /var/lib/python-support/python2.4/kiwi-1.9.8.egg-info/PKG-INFO /usr/share/python-support/python-kiwi/kiwi-1.9.8.egg-info/SOURCES.txt /var/lib/python-support/python2.4/kiwi-1.9.8.egg-info/SOURCES.txt Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 269, in ? process(basedir,install_modules(py_installed)) File "/usr/sbin/update-python-modules", line 151, in process func(basedir, dir, file) File "/usr/sbin/update-python-modules", line 123, in install_modules_func os.symlink(fullpath,destpath) OSError: [Errno 17] File exists > Simply running dpkg --configure -a may help, as well. Then send me the > output. Nope, doesn't help. Regards: David -- /) David Weinehall <[EMAIL PROTECTED]> /) Rime on my window (\ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Diamond-white roses of fire // \) http://www.acc.umu.se/~tao/ (/ Beautiful hoar-frost (/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]