package jockey-common 0.2-0ubuntu5 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #193251 reported by Miguel Ruiz
12
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I was updating python related stuff (Hardy Heron up to date) and I got the following error:

Setting up jockey-common (0.2-0ubuntu5) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1593, in <module>
    main()
  File "/usr/bin/pycentral", line 1587, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 982, in run
    self.pkg.byte_compile(bc_option, self.options.exclude)
  File "/usr/bin/pycentral", line 627, in byte_compile
    (self.default_runtime.version, len(self.private_files)))
TypeError: int argument required
dpkg: error processing jockey-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of jockey-gtk:
 jockey-gtk depends on jockey-common (= 0.2-0ubuntu5); however:
  Package jockey-common is not configured yet.
dpkg: error processing jockey-gtk (--configure):
 dependency problems - leaving unconfigured

ProblemType: Package
Architecture: i386
Date: Tue Feb 19 09:17:01 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: ipw2100
Package: jockey-common 0.2-0ubuntu5
PackageArchitecture: all
SourcePackage: jockey
Title: package jockey-common 0.2-0ubuntu5 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux numbat 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45 UTC 2008 i686 GNU/Linux

Revision history for this message
Miguel Ruiz (mruiz) wrote :
Changed in jockey:
status: New → Confirmed
Revision history for this message
Tiger Zhang (iamzhanghu) wrote :

Same to me.

Resolved by modifying the /usr/bin/pycentral, line 627:
tiger@tiger-desktop:~$ diff /usr/bin/pycentral pycentral
626c626
< logging.debug("bc private (%d files)" %
---
> logging.debug("bc private %s (%d files)" %

Revision history for this message
MysterBalfys (mrbalfy69) wrote :

Please, can explain more easy, like step to step? THX

Revision history for this message
Kaltsi (kaltsi) wrote :

Same to me.

But I thing ...
<logging.debug("bc private (%d files)" %
                          (self.default_runtime.version, len(self.private_files)))

>logging.debug("bc private (%s files)" %
                          (self.default_runtime.version, len(self.private_files)))

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.