package python-apt 0.7.4ubuntu5 failed to install/upgrade: subprocess pre-installation script returned error exit status 1

Bug #193249 reported by Miguel Ruiz
4
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: python-apt

I was updating python related stuff and I got the following error:

Setting up python-apt (0.7.4ubuntu5) ...
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 624, in byte_compile
    rt.byte_compile(files, bc_option, exclude_regex)
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg: error processing python-apt (--configure):
 subprocess post-installation script returned error exit status 1

ProblemType: Package
Architecture: i386
Date: Mon Feb 18 23:00:16 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess pre-installation script returned error exit status 1
NonfreeKernelModules: ipw2100
Package: python-apt 0.7.4ubuntu5
PackageArchitecture: i386
SourcePackage: python-apt
Title: package python-apt 0.7.4ubuntu5 failed to install/upgrade: subprocess pre-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 python-apt:
status: New → Confirmed
Revision history for this message
Mathieu Marquer (slasher-fun) wrote :

Confirming on amd64 as well :

Paramétrage de python-apt (0.7.4ubuntu5) ...
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 624, in byte_compile
    rt.byte_compile(files, bc_option, exclude_regex)
AttributeError: 'NoneType' object has no attribute 'byte_compile'
dpkg : erreur de traitement de python-apt (--configure) :
 le sous-processus post-installation script a retourné une erreur de sortie d'état 1

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.