package python-apt 0.7.4ubuntu5 failed to install/upgrade: subprocess pre-installation script returned error exit status 1
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/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
self.
File "/usr/bin/
rt.
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
NonfreeKernelMo
Package: python-apt 0.7.4ubuntu5
PackageArchitec
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
Confirming on amd64 as well :
Paramétrage de python-apt (0.7.4ubuntu5) ... pycentral" , line 1593, in <module> pycentral" , line 1587, in main run(global_ options) pycentral" , line 982, in run pkg.byte_ compile( bc_option, self.options. exclude) pycentral" , line 624, in byte_compile byte_compile( files, bc_option, exclude_regex)
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
self.
File "/usr/bin/
rt.
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