Update Manager Reported the following errors
E: python-apt: subprocess post-installation script returned error exit status 1
E: update-manager-core: dependency problems - leaving unconfigured
E: update-manager: dependency problems - leaving unconfigured
E: gnome-app-install: dependency problems - leaving unconfigured
E: jockey-common: subprocess post-installation script returned error exit status 1
E: jockey-gtk: dependency problems - leaving unconfigured
I have tried
sudo apt-get install python 2.4
to which I get the output
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
openoffice.org-hyphenation-en-us
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
python2.4-minimal
Suggested packages:
python-profiler python2.4-doc
The following NEW packages will be installed:
python2.4 python2.4-minimal
0 upgraded, 2 newly installed, 0 to remove and 23 not upgraded.
6 not fully installed or removed.
Need to get 3785kB of archives.
After this operation, 12.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com hardy/main python2.4-minimal 2.4.4-7ubuntu1 [974kB]
Get:2 http://ca.archive.ubuntu.com hardy/main python2.4 2.4.4-7ubuntu1 [2811kB]
Fetched 3785kB in 1min1s (61.4kB/s)
Selecting previously deselected package python2.4-minimal.
(Reading database ... 130522 files and directories currently installed.)
Unpacking python2.4-minimal (from .../python2.4-minimal_2.4.4-7ubuntu1_i386.deb) ...
Selecting previously deselected package python2.4.
Unpacking python2.4 (from .../python2.4_2.4.4-7ubuntu1_i386.deb) ...
Setting up python-apt (0.7.4ubuntu5) ...
'import site' failed; use -v for traceback
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
Setting up update-manager-core (1:0.87.8) ...
'import site' failed; use -v for traceback
Setting up update-manager (1:0.87.8) ...
'import site' failed; use -v for traceback
Setting up python2.4-minimal (2.4.4-7ubuntu1) ...
Linking and byte-compiling packages for runtime python2.4...
Setting up python2.4 (2.4.4-7ubuntu1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
jockey-common
jockey-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)
I also get a notification saying:
The problem cannot be reported:
You have some obsolete package versions installed. Please upgrade the following packages and check if the problem still occurs:
Confirmed issue using update-manager on Hardy x86
Update Manager Reported the following errors manager- core: dependency problems - leaving unconfigured
E: python-apt: subprocess post-installation script returned error exit status 1
E: update-
E: update-manager: dependency problems - leaving unconfigured
E: gnome-app-install: dependency problems - leaving unconfigured
E: jockey-common: subprocess post-installation script returned error exit status 1
E: jockey-gtk: dependency problems - leaving unconfigured
I have tried
sudo apt-get install python 2.4
to which I get the output
Reading package lists... Done org-hyphenation -en-us ca.archive. ubuntu. com hardy/main python2.4-minimal 2.4.4-7ubuntu1 [974kB] ca.archive. ubuntu. com hardy/main python2.4 2.4.4-7ubuntu1 [2811kB] 4-minimal_ 2.4.4-7ubuntu1_ i386.deb) ... 4_2.4.4- 7ubuntu1_ i386.deb) ...
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
openoffice.
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
python2.4-minimal
Suggested packages:
python-profiler python2.4-doc
The following NEW packages will be installed:
python2.4 python2.4-minimal
0 upgraded, 2 newly installed, 0 to remove and 23 not upgraded.
6 not fully installed or removed.
Need to get 3785kB of archives.
After this operation, 12.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Fetched 3785kB in 1min1s (61.4kB/s)
Selecting previously deselected package python2.4-minimal.
(Reading database ... 130522 files and directories currently installed.)
Unpacking python2.4-minimal (from .../python2.
Selecting previously deselected package python2.4.
Unpacking python2.4 (from .../python2.
Setting up python-apt (0.7.4ubuntu5) ...
'import site' failed; use -v for traceback
Setting up gnome-app-install (0.5.2.3-0ubuntu1) ...
Caching application data...
Generating mime/codec maps...
Setting up jockey-common (0.2-0ubuntu5) ... 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 627, in byte_compile default_ runtime. version, len(self. private_ files)) )
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
self.
File "/usr/bin/
(self.
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
Setting up update-manager-core (1:0.87.8) ...
'import site' failed; use -v for traceback
Setting up update-manager (1:0.87.8) ...
'import site' failed; use -v for traceback
Setting up python2.4-minimal (2.4.4-7ubuntu1) ...
Linking and byte-compiling packages for runtime python2.4...
Setting up python2.4 (2.4.4-7ubuntu1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
jockey-common
jockey-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)
I also get a notification saying:
The problem cannot be reported:
You have some obsolete package versions installed. Please upgrade the following packages and check if the problem still occurs:
python-central