pycentral crashes during onboard update

Bug #196393 reported by Sebastian Bergmann
This bug report is a duplicate of:  Bug #196378: onboard fails to upgrade hardy heron. Edit Remove
4
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-central

python-central:
  Installed: 0.5.60ubuntu4
  Candidate: 0.5.60ubuntu4
  Version table:
 *** 0.5.60ubuntu4 0
        500 http://us.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status
onboard:
  Installed: 0.87
  Candidate: 0.91
  Version table:
     0.91 0
        500 http://us.archive.ubuntu.com hardy/main Packages
 *** 0.87 0
        100 /var/lib/dpkg/status

--

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages are unused and will be REMOVED:
  python-xml
The following NEW packages will be automatically installed:
  libdb4.2
The following NEW packages will be installed:
  libdb4.2
The following packages will be upgraded:
  onboard python2.5 python2.5-minimal
3 packages upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/4502kB of archives. After unpacking 1249kB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 136609 files and directories currently installed.)
Preparing to replace onboard 0.87 (using .../archives/onboard_0.91_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1674, in <module>
    main()
  File "/usr/bin/pycentral", line 1668, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1169, in run
    pkg.prepare(used_runtimes, old_used_runtimes, old_pkg)
  File "/usr/bin/pycentral", line 793, in prepare
    self.default_runtime.remove_byte_code(removed_fs)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/apt/archives/onboard_0.91_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/onboard_0.91_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done

Revision history for this message
Leon (leonbo) wrote :

I'm having this same problem too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.