Your message dated Sat, 20 Jul 2013 10:14:40 +0000
with message-id <[email protected]>
and subject line Bug#717091: Removed package(s) from unstable
has caused the Debian Bug report #580070,
regarding python-central: cleanup-pkgprepare-updates dies with "IndexError: 
list index out of range"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
580070: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580070
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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-----



--- End Message ---
--- Begin Message ---
Version: 0.6.17+rm

Dear submitter,

as the package python-central has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/717091

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to