onboard fails to upgrade hardy heron

Bug #196378 reported by tuxalot
92
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Invalid
Undecided
Unassigned
onboard (Ubuntu)
Fix Released
Undecided
Unassigned
python-central (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gnome-terminal

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  onboard
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/34.9kB of archives.
After this operation, 98.3kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 125303 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)

ProblemType: Bug
Architecture: i386
Date: Wed Feb 27 22:15:26 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gnome-terminal
NonfreeKernelModules: nvidia
Package: gnome-terminal 2.21.91.1-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
Uname: Linux 2.6.24-10-generic i686

Tags: apport-bug
Revision history for this message
tuxalot (darinredding1) wrote :
Revision history for this message
Gordon Hopper (gohopper) wrote :

I got the same error a few minutes ago.

Changed in gnome-terminal:
status: New → Invalid
Revision history for this message
Gordon Hopper (gohopper) wrote :

dpkg --debug -i output attached. The problem appears to be in the REMOVAL script for the previous version of onboard (0.87).

Also, here is a work-around:
dpkg -r onboard
dpkg -i /var/cache/apt/archives/onboard_0.91_all.deb

Not sure why, but removing it as a separate step makes the problem go away. (In this case, there are no dependencies so it is not difficult to remove.)

Revision history for this message
Hanske (hansvanderschaaf) wrote :

Got the same error......
The fix worked for me to.

Thanx

Revision history for this message
Eduardo Osorio Armenta (e-osorio) wrote :

Same error,

but the fix did not work for me. (here the message in spanish)

$ sudo dpkg -i /var/cache/apt/archives/onboard_0.91_all.deb
Seleccionando el paquete onboard previamente no seleccionado.
(Leyendo la base de datos ...
155629 ficheros y directorios instalados actualmente.)
Desempaquetando onboard (de .../archives/onboard_0.91_all.deb) ...
dpkg: problemas de dependencias impiden la configuración de onboard:
 onboard depende de python-central (>= 0.5.60); sin embargo:
 El paquete `python-central' no está configurado todavía.
 onboard depende de python-virtkey (>= 0.50); sin embargo:
 El paquete `python-virtkey' no está configurado todavía.
dpkg: error al procesar onboard (--install):
 problemas de dependencias - se deja sin configurar
Se encontraron errores al procesar:
 onboard

[translation]
...
onboard depends on python-central (>=0.5.60);...
but python-central still not configured..
onboard depends on python-virtkey (>= 0.50);...
but python-virtkey still not configured...
...

Revision history for this message
Leon (leonbo) wrote :

Yes, fix worked for me.

Revision history for this message
inaba12 (nzoukou) wrote :

yes the fix also worked fine for me

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-central - 0.5.60ubuntu5

---------------
python-central (0.5.60ubuntu5) hardy; urgency=low

  * Fix byte code removal in private modules. LP: #196378.

 -- Matthias Klose <email address hidden> Thu, 28 Feb 2008 10:13:15 +0100

Changed in python-central:
status: New → Fix Released
Revision history for this message
Randy LeJeune (lejeunerandy-fastmail) wrote :

Fix worked for me.

Revision history for this message
Cleber Santz (clebersantz) wrote :
Revision history for this message
Shirish Agarwal (shirishag75) wrote :

comment 3 fixes it for me, the python-central package update hasn't propogated yet to all the uk mirrors.

Revision history for this message
Bengt Lüers (bengtlueers) wrote :

I got the same error, the fix worked for me, too. Thanks.

Revision history for this message
Matthias Klose (doko) wrote :

fixed with th recent python-central upload

Changed in onboard:
status: New → Fix Released
Revision history for this message
alpha1 (volker666) wrote :

same error here

Changed in onboard (Ubuntu):
status: Fix Released → Incomplete
status: Incomplete → New
Revision history for this message
Francesco Fumanti (frafu) wrote :

Hi Vagner,

Could you please tell me why you marked this bug as new for onboard?

Changed in onboard (Ubuntu):
status: New → Fix Released
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

I susbscribed Vagner so they can leave a comment

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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