[Reportbug-maint] Bug#578296: git-core: "ValueError: too many values to unpack"

Ilguiz Latypov ilatypov at infradead.org
Wed Apr 21 10:10:32 UTC 2010

Package: reportbug
Version: 4.12
Severity: normal

This appears to be a result of an extra word "obsolete" in addition to
filename and md5sum fields of a conffiles record.  Reproduced when
reporting on python2.5-minimal.

ilgiz at ei:~$ dpkg --status python2.5-minimal
Package: python2.5-minimal
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 4316
Maintainer: Matthias Klose <doko at debian.org>
Architecture: i386
Source: python2.5
Version: 2.5.5-5
Replaces: python2.5 (<< 2.5.2-1)
Depends: libc6 (>= 2.3.6-6~), zlib1g (>= 1:1.2.0)
Recommends: python2.5
Suggests: binfmt-support
Conflicts: binfmt-support (<< 1.1.2)
 /etc/python2.5/sitecustomize.py d6b276695157bde06a56ba1b2bc53670
 /etc/python2.5/site.py f10d07f5be789964fff663e2dfe560f9 obsolete
Description: A minimal subset of the Python language (version 2.5)
 This package contains the interpreter and some essential modules.  It can
 be used in the boot process for some basic tasks.
 See /usr/share/doc/python2.5-minimal/README.Debian for a list of the modules
 contained in this package.
Homepage: http://python.org/
Python-Runtime: python2.5
Python-Version: 2.5

I wonder if ignoring any extra information in conffiles records addresses the
root cause properly.  Here is the change I am suggesting.

--- /usr/share/pyshared/reportbug/utils.py.orig 2010-04-21 05:58:15.000000000 -0400
+++ /usr/share/pyshared/reportbug/utils.py  2010-04-21 05:56:05.000000000 -0400
@@ -641,7 +641,9 @@
 def get_changed_config_files(conffiles, nocompress=False):
     confinfo = {}
     changed = []
-    for (filename, md5sum) in conffiles:
+    for cf in conffiles:
+        filename = cf[ 0 ]
+        md5sum = cf[ 1 ]
             fp = file(filename)
         except IOError, msg:

-- Package-specific info:
** Environment settings:

** /home/ilgiz/.reportbugrc:
reportbug_version "3.21.2"
mode standard
ui text

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                    Advanced front-end for dpkg
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-reportbug              4.12       Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils        1.5.32              debconf utilities
pn  debsums              <none>              (no description available)
pn  dlocate              <none>              (no description available)
ii  emacs23-bin-common   23.1+1-6            The GNU Emacs editor's shared, arc
ii  exim4                4.71-4              metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-heavy [ 4.71-4              Exim MTA (v4) daemon with extended
ii  file                 5.04-2              Determines file type using "magic"
ii  gnupg                1.4.10-3            GNU privacy guard - a free PGP rep
ii  python-gtk2          2.17.0-2            Python bindings for the GTK+ widge
pn  python-gtkspell      <none>              (no description available)
pn  python-urwid         <none>              (no description available)
ii  python-vte           1:0.24.0-2          Python bindings for the VTE widget
ii  xdg-utils            1.0.2+cvs20100307-1 desktop integration utilities from

-- no debconf information

More information about the Reportbug-maint mailing list