Package: python-central Version: 0.6.16 Severity: important -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hello, During a recent upgrade, python-central began failing with the following information: > pycentral: pycentral cleanup-pkgprepare-updates: found 52 dangling symlinks > pycentral: pycentral cleanup-pkgprepare-updates: checking for links owned by > packages (this may take some time) > Traceback (most recent call last): > File "/usr/bin/pycentral", line 2349, in <module> > main() > File "/usr/bin/pycentral", line 2343, in main > rv = action.run(global_options) > File "/usr/bin/pycentral", line 1905, in run > packaged = self.links_in_packages(dangling) > File "/usr/bin/pycentral", line 2016, in links_in_packages > self.locate(arg_list, cmd_list) > File "/usr/bin/pycentral", line 1981, in locate > fn = line.split(':', 1)[1][1:-11] > IndexError: list index out of range > dpkg: error processing python-central (--configure): > subprocess installed post-installation script returned error exit status 1 I followed the traceback and added a few debugging statements in and have found the cause to be in the links_in_packages function. At the start of the function, os.sysconf('SC_ARG_MAX') returns (for some reason) -1. After the reduce function has done it's thing, chunk_max becomes -1185. As a result of this, the first element of all_chunks is empty. When this is passed to "dpkg -S", the result is: > dpkg-query: --search needs at least one file name pattern argument > > Use --help for help about querying packages. which fails to parse with the traceback above. As a work-around, I've added "if chunk_max = -1: chunk_max = 16384" before the call to reduce. Please let me know if I can provide you with any more information. - -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30 (SMP w/2 CPU cores) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages python-central depends on: ii python 2.5.4-9 An interactive high-level object-o python-central recommends no packages. python-central suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJL3sa1AAoJEBIA1yCB7VsREpgP/2JIIRgiNLubzn6P3wpJsVOP 4nu/IYxK/F678YXd43vusoMCzIg3gezKMlfpWaGGApsy2uSais/S9PemSfKrvg2r urbBTV3mEQBG24TeJIQ32q98eK0LqLpCM94m66WWCtzyucSOnoHF1IqqaFa45Gmi feRcod4tfaPrmprPwfpgTa+YztOD4+eoV7HgC5ZnMOepPn4dAw9ScZbF8xCWr0v7 da7aOzbVw+q4odprrFtjYsmyf5ETGLgDSIu+bTYMR3frQ761LEV9ZdlJTjBr0eb0 8Wz/p8DneCStUk13ux0ertPptiVLncX1iC0/Coomx6nyeYd9v06zgH8S4IVhpKA6 sNoRkYSPwhe987d/ftWZv3Bg0nXyPz3A7N1I+Rb8c+quvrLHiKZcSPg2paj36fuN 4sglqP3PY4WUjV+tSTzwZDsPu+3iXfFY1z8Vp/DSEC66+sYvC1NHA/RlLPfRMs4f cyqTTIamCGZRMC8Rc+EnsNwdG5irgMVsWXLvQ3lYlKpx28cUPrP5WxMfeeLWgks+ FPyXQVg8EIaBc04Kmj4rigDDlWZq79Aw0xVQwTcUWlmzRLXBu4FNu2f96EbeqbcK nT8LCG4ZiNOKeCI3vkoocnMa87Xyc180hDxrfAg1CReVpATTC3p6sXMRa6WhmS8W 9Bfq4CQkwE/3tIFAeRlI =GpEo -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org