Package: reportbug
Version: 3.34.1
Severity: important

Hello all,

Here are messages I got when I distugrade my install:
[snip]
Preparing to replace python-central 0.5.12 (using 
.../python-central_0.5.13_all.deb) ...
Unpacking replacement python-central ...
Preparing to replace reportbug 3.34.1 (using .../reportbug_3.34.2_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 943, in run
    runtimes = get_installed_runtimes(with_unsupported=True)
  File "/usr/bin/pycentral", line 196, in get_installed_runtimes
    supported = pyversions.supported_versions()
  File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
    value = read_default('supported-versions')
  File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
    value = config.get('DEFAULT', name)
UnboundLocalError: local variable 'config' referenced before assignment
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 943, in run
    runtimes = get_installed_runtimes(with_unsupported=True)
  File "/usr/bin/pycentral", line 196, in get_installed_runtimes
    supported = pyversions.supported_versions()
  File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
    value = read_default('supported-versions')
  File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
    value = config.get('DEFAULT', name)
UnboundLocalError: local variable 'config' referenced before assignment
dpkg: error processing 
/Debian-apt/Debian4Home-sid/archives/reportbug_3.34.2_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 865, in run
    runtimes = get_installed_runtimes()
  File "/usr/bin/pycentral", line 196, in get_installed_runtimes
    supported = pyversions.supported_versions()
  File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
    value = read_default('supported-versions')
  File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
    value = config.get('DEFAULT', name)
UnboundLocalError: local variable 'config' referenced before assignment
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
[snip]
Errors were encountered while processing:
 /Debian-apt/Debian4Home-sid/archives/reportbug_3.34.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I then tried to configure not yet configure stuff but still got same kind of
messages:
[EMAIL PROTECTED]:~# dpkg --configure -a
Setting up sudo (1.6.8p12-5) ...

Setting up whois (4.7.21) ...
Setting up libmagic1 (4.20-4) ...
[snip]
Setting up python-central (0.5.13) ...
dpkg: error processing reportbug (--configure):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting configuration.
Setting up dialog (1.1-20070325-1) ...
[snip]
Setting up python2.4-minimal (2.4.4-3) ...
Linking and byte-compiling packages for runtime python2.4...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1363, in main
    if action.check_args(global_options):
  File "/usr/bin/pycentral", line 971, in check_args
    for rt in get_installed_runtimes():
  File "/usr/bin/pycentral", line 196, in get_installed_runtimes
    supported = pyversions.supported_versions()
  File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
    value = read_default('supported-versions')
  File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
    value = config.get('DEFAULT', name)
UnboundLocalError: local variable 'config' referenced before assignment
dpkg: error processing python2.4-minimal (--configure):
 subprocess post-installation script returned error exit status 1
Setting up cdrecord (1.1.4-1) ...
[snip]
dpkg: dependency problems prevent configuration of python2.4:
 python2.4 depends on python2.4-minimal (= 2.4.4-3); however:
  Package python2.4-minimal is not configured yet.
dpkg: error processing python2.4 (--configure):
 dependency problems - leaving unconfigured
Setting up libedataserver1.2-7 (1.6.3-5) ...
Errors were encountered while processing:
 reportbug
 python2.4-minimal
 python2.4

According to this last message, I tried so to reinstall those:
[EMAIL PROTECTED]:~# apt-get install --reinstall reportbug python2.4-minimal 
python2.4
Reading package lists... Done
Building dependency tree... Done
Starting
Starting 2
Done
Suggested packages:
  dlocate python-urwid
The following packages will be upgraded:
  reportbug
1 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0B/144kB of archives.
After unpacking 8192B disk space will be freed.
Do you want to continue [Y/n]?
Reading changelogs... Done
Selecting previously deselected package reportbug.
(Reading database ... 91223 files and directories currently installed.)
Preparing to replace reportbug 3.34.1 (using .../reportbug_3.34.2_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 943, in run
    runtimes = get_installed_runtimes(with_unsupported=True)
  File "/usr/bin/pycentral", line 196, in get_installed_runtimes
    supported = pyversions.supported_versions()
  File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
    value = read_default('supported-versions')
  File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
    value = config.get('DEFAULT', name)
UnboundLocalError: local variable 'config' referenced before assignment
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 943, in run
    runtimes = get_installed_runtimes(with_unsupported=True)
  File "/usr/bin/pycentral", line 196, in get_installed_runtimes
    supported = pyversions.supported_versions()
  File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
    value = read_default('supported-versions')
  File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
    value = config.get('DEFAULT', name)
UnboundLocalError: local variable 'config' referenced before assignment
dpkg: error processing 
/Debian-apt/Debian4Home-sid/archives/reportbug_3.34.2_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 865, in run
    runtimes = get_installed_runtimes()
  File "/usr/bin/pycentral", line 196, in get_installed_runtimes
    supported = pyversions.supported_versions()
  File "/usr/share/pycentral-data/pyversions.py", line 98, in supported_versions
    value = read_default('supported-versions')
  File "/usr/share/pycentral-data/pyversions.py", line 22, in read_default
    value = config.get('DEFAULT', name)
UnboundLocalError: local variable 'config' referenced before assignment
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /Debian-apt/Debian4Home-sid/archives/reportbug_3.34.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I am a bit desparate, thought:
~# dpkg -r reportbug
dpkg: error processing reportbug (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 reportbug

I couldn't even remove it to reinstall.

Any idea?

Tia,
        Joel

-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /root/.reportbugrc:
reportbug_version "3.17"
mode standard
ui text
realname "Joel Soete"
email "[EMAIL PROTECTED]"
no-check-uid

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages reportbug depends on:
ii  apt                         0.6.46.4-0.1 Advanced front-end for dpkg
ii  python                      2.4.4-2      An interactive high-level object-o
pn  python-central              <none>       (no description available)

reportbug recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to