[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#418182: Failure of python-uno to install on Sid system during upgrade



Package: python-uno
Version: 2.0.4.dfsg.2-6

On 4/7/07 upgrade to 2.0.4.dfsg.2-7, the following errors occur
(reproduced using dpkg--same seen under apt):
========
Script started on Sat 07 Apr 2007 10:49:28 AM PDT
[1]   Done                    HISTIGNORE=
hpotter:/home/daddy# dpkg
-i /var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7_i 386.deb
(Reading database ... 167626 files and directories currently installed.)
Preparing to replace python-uno 2.0.4.dfsg.2-6
(using .../python-uno_2.0.4.dfsg.2-7_i386.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 /var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7_i386.deb
(--install):
 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:
 /var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7_i386.deb
hpotter:/home/daddy# exit
exit

Script done on Sat 07 Apr 2007 10:49:35 AM PDT
========

This is similar to errors encountered with the reportbug package (bug
#418166).

Running a home grown 2.6.18 kernel, normal spread of packages, apt
version 0.6.46.4-0.1 and libc6 ver. 2.3.6.ds1-13.


Kenward Vaughan
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have.     - Lee Iacocca




Reply to: