severity 607988 grave retitle 607988 python: "OSError: [Errno 2]" byte-compiling packages on upgrade (dangling symlinks) quit
dave b wrote: > Setting up python (2.6.6-3+squeeze4) ... > Linking and byte-compiling packages for runtime python2.6... > Traceback (most recent call last): > File "/usr/bin/pycompile", line 314, in <module> > main() > File "/usr/bin/pycompile", line 300, in main > options.force, options.optimize, e_patterns) > File "/usr/bin/pycompile", line 196, in compile > ftime = os.stat(fn).st_mtime > OSError: [Errno 2] No such file or directory: > '/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/merge.py' Could you send the relevant portion of /var/log/dpkg.log*? More specifically, I am interested to know what version of python-central is installed when python's postinst runs. See also http://bugs.debian.org/552595 (python-central: please remove dangling symlinks at upgrade). Matthias, maybe something like Conflicts: python-central (<< 0.6.15) is needed in the python2.[567]-minimal and python packages to ensure a smooth upgrade? Hope that helps, Jonathan -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org