Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
On Tue, Jan 4, 2011 at 03:06, Jonathan Nieder jrnie...@gmail.com wrote: ii python-central 0.6.16+nmu1 There goes that theory. Alternatively this could be a bug in packages that moved from dh_pycentral to dh_python2 as Sandro suggested. If so, does anyone have a pointer to a page describing what these packages should do to avoid the problem? Yes, there is a page[1] on the wiki (it talks about pycentral-pysupport, but it can be applied also to -dh_python2); here[2]'s and example of a package using it. [1] http://wiki.debian.org/Python/central2support [2] http://svn.debian.org/viewsvn/python-modules/packages/numpy/trunk/debian/python-numpy.preinst Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
That specific grep has no results -- (for the 2nd). However, for the 3rd the results are listed below: /var/log/dpkg.log.1:2010-12-03 23:55:11 status triggers-pending python-central 0.6.16+nmu1 /var/log/dpkg.log.1:2010-12-03 23:55:11 trigproc python-central 0.6.16+nmu1 0.6.16+nmu1 /var/log/dpkg.log.1:2010-12-03 23:55:11 status half-configured python-central 0.6.16+nmu1 /var/log/dpkg.log.1:2010-12-03 23:55:32 status installed python-central 0.6.16+nmu1 /var/log/dpkg.log.1:2010-12-03 23:55:33 status triggers-pending python-central 0.6.16+nmu1 /var/log/dpkg.log.1:2010-12-03 23:55:36 trigproc python-central 0.6.16+nmu1 0.6.16+nmu1 /var/log/dpkg.log.1:2010-12-03 23:55:36 status half-configured python-central 0.6.16+nmu1 /var/log/dpkg.log.1:2010-12-03 23:55:36 status installed python-central 0.6.16+nmu1 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
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-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
well it was 1. reportlab and 2. bzr (gtk). I am not sure on the exact packages - isn't there an easier way to simply check for every python package (available). ii python-central 0.6.16+nmu1 register and build utility for Python packages -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
dave b wrote: well it was 1. reportlab and 2. bzr (gtk). Just to confirm, old python-central was not installed when you sent the report, right? What does zgrep 2010-12-2.*python-central /var/log/dpkg.log* say? ii python-central 0.6.16+nmu1 There goes that theory. Alternatively this could be a bug in packages that moved from dh_pycentral to dh_python2 as Sandro suggested. If so, does anyone have a pointer to a page describing what these packages should do to avoid the problem? Sorry for the noise. Jonathan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
@Dave: is /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/merge.py on your system also a dangling symlink? /usr/lib/python2.6/dist-packages/reportlab contains all the dangling symlinks on my system- I may removed the package a while ago. You can scan for them using the symlinks program in the same Debian package or with checking the output of the patch. @all: I created a little patch which identifies the symlinks and skips them in pycompile but beware.. it's a hack. -- Who is 'responsible' for removing these symlinks? pycompile.diff Description: Binary data
Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
same problem here(?): 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/reportlab/lib/tocindex.py' -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
Package: python2.6 Version: 2.6.6-6 Severity: critical The latest update is totally broken and can't byte compile *modules* (squeeze). -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.36.2 (SMP w/4 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python2.6 depends on: ii libbz2-1.01.0.5-6high-quality block-sorting file co ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libdb4.8 4.8.30-2 Berkeley v4.8 Database Libraries [ ii libexpat1 2.0.1-7XML parsing C library - runtime li ii libncursesw5 5.7+20100313-4 shared libraries for terminal hand ii libreadline6 6.1-3 GNU readline and history libraries ii libsqlite3-0 3.7.3-1SQLite 3 shared library ii mime-support 3.48-1 MIME files 'mime.types' 'mailcap ii python2.6-minimal 2.6.6-6A minimal subset of the Python lan python2.6 recommends no packages. Versions of packages python2.6 suggests: ii binutils 2.20.1-15 The GNU assembler, linker and bina pn python2.6-doc none (no description available) pn python2.6-profilernone (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
On Sun, Dec 26, 2010 at 05:19:39 +1100, david b wrote: Package: python2.6 Version: 2.6.6-6 Severity: critical The latest update is totally broken and can't byte compile *modules* (squeeze). It works for everyone else. Please provide some details... Cheers, Julien signature.asc Description: Digital signature
Bug#607988: python2.6: the latest update is totally broken and can't byte compile *modules*
Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded. 8 not fully installed or removed. After this operation, 0 B of additional disk space will be used. 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' dpkg: error processing python (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python-all: python-all depends on python (= 2.6.6-3+squeeze4); however: Package python is not configured yet. dpkg: error processing python-all (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-dev: python-dev depends on python (= 2.6.6-3+squeeze4); however: Package python is not configured yet. dpkg: error processing python-dev (--configure): dependency problems - leaving unconfigured configured to not write apport reports configured to not write apport reports configured to not write apport reports configured to not write apport reports configured to not write apport reports dpkg: dependency problems prevent configuration of python-all-dev: python-all-dev depends on python (= 2.6.6-3+squeeze4); however: Package python is not configured yet. python-all-dev depends on python-all (= 2.6.6-3+squeeze4); however: Package python-all is not configured yet. python-all-dev depends on python-dev (= 2.6.6-3+squeeze4); however: Package python-dev is not configured yet. dpkg: error processing python-all-dev (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-examples: python-examples depends on python (= 2.6.6-3+squeeze4); however: Package python is not configured yet. dpkg: error processing python-examples (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-peak.util: python-peak.util depends on python; however: Package python is not configured yet. dpkg: error processing python-peak.util (--configure): dependency problems - leavinconfigured to not write apport reports configured to not write apport reports configured to not write apport reports g unconfigured dpkg: dependency problems prevent configuration of python-dbg: python-dbg depends on python (= 2.6.6-3+squeeze4); however: Package python is not configured yet. dpkg: error processing python-dbg (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of python-all-dbg: python-all-dbg depends on python (= 2.6.6-3+squeeze4); however: Package python is not configured yet. python-all-dbg depends on python-all (= 2.6.6-3+squeeze4); however: Package python-all is not configured yet. python-all-dbg depends on python-dbg (= 2.6.6-3+squeeze4); however: Package python-dbg is not configured yet. dpkg: error processing python-all-dbg (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python python-all python-dev python-all-dev python-examples python-peak.util python-dbg python-all-dbg E: Sub-process /usr/bin/dpkg returned an error code (1) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org