[Bug 809560] [NEW] package software-center 4.0.3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Steven Almeroth launchpad at warriorself.com
Tue Jul 12 21:03:29 UTC 2011


Public bug reported:

GUI update stalled after clicked "Install Updates", so I had to kill it.
I think the important thing is that earlier in the week I symlinked
/usr/bin/python to Python2.6 instead of the installed Python2.7:
"ValueError: /usr/bin/python does not match the python default version.
It must be reset to point to python2.7"

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
stav at bluqt:~$ lsb_release -rd
Description:	Ubuntu 11.04
Release:	11.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
stav at bluqt:~$ apt-cache policy software-center
software-center:
  Installed: 4.0.3
  Candidate: 4.0.4
  Version table:
     4.0.4 0
        500 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
 *** 4.0.3 0
        100 /var/lib/dpkg/status
     4.0 0
        500 http://mx.archive.ubuntu.com/ubuntu/ natty/main i386 Pack

3) What you expected to happen
I expected apt-get to upgrade all my packages and exit mornally.

4) What happened instead
What happened was that a Python stacktrace was displayed and the program exited with an error status (1)
stav at bluqt:~$ sudo kill 4626 [update-manager]
stav at bluqt:~$ sudo apt-get update
stav at bluqt:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  apt apt-transport-https apt-utils banshee banshee-extension-soundmenu banshee-extension-ubuntuonemusicstore
  bind9-host chromium-browser chromium-browser-inspector chromium-browser-l10n chromium-codecs-ffmpeg compiz
  compiz-core compiz-gnome compiz-plugins cups cups-bsd cups-client cups-common cups-ppdc dnsutils initramfs-tools
  initramfs-tools-bin libbind9-60 libcups2 libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1
  libdecoration0 libdns69 libgpod-common libgpod4 libisc62 libisccc60 libisccfg62 liblwres60 nautilus-sendto ntpdate
  software-center xserver-xorg-video-ati xserver-xorg-video-radeon
43 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.0 MB of archives.
After this operation, 516 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main ntpdate i386 1:4.2.6.p2+dfsg-1ubuntu5.1 [60.0 kB]
Get:2 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/universe chromium-browser-l10n all 12.0.742.112~r90304-0ubuntu0.11.04.1 [1,881 kB]
Get:3 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/universe chromium-codecs-ffmpeg i386 12.0.742.112~r90304-0ubuntu0.11.04.1 [268 kB]
Get:4 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcups2 i386 1.4.6-5ubuntu1.3 [158 kB]                  
Get:5 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/universe chromium-browser i386 12.0.742.112~r90304-0ubuntu0.11.04.1 [16.5 MB]
Get:6 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/universe chromium-browser-inspector all 12.0.742.112~r90304-0ubuntu0.11.04.1 [118 kB]
Get:7 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main apt i386 0.8.13.2ubuntu4 [2,102 kB]                      
Get:8 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main apt-utils i386 0.8.13.2ubuntu4 [223 kB]                  
Get:9 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main initramfs-tools all 0.98.8ubuntu3.1 [52.8 kB]            
Get:10 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main initramfs-tools-bin i386 0.98.8ubuntu3.1 [11.0 kB]      
Get:11 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main apt-transport-https i386 0.8.13.2ubuntu4 [19.1 kB]      
Get:12 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main bind9-host i386 1:9.7.3.dfsg-1ubuntu2.2 [52.9 kB]       
Get:13 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main dnsutils i386 1:9.7.3.dfsg-1ubuntu2.2 [137 kB]          
Get:14 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libisc62 i386 1:9.7.3.dfsg-1ubuntu2.2 [143 kB]          
Get:15 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libdns69 i386 1:9.7.3.dfsg-1ubuntu2.2 [634 kB]          
Get:16 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libisccc60 i386 1:9.7.3.dfsg-1ubuntu2.2 [17.4 kB]       
Get:17 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libisccfg62 i386 1:9.7.3.dfsg-1ubuntu2.2 [36.4 kB]      
Get:18 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main liblwres60 i386 1:9.7.3.dfsg-1ubuntu2.2 [35.6 kB]       
Get:19 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libbind9-60 i386 1:9.7.3.dfsg-1ubuntu2.2 [24.8 kB]      
Get:20 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libgpod4 i386 0.8.0-2ubuntu0.1 [217 kB]                 
Get:21 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main banshee i386 2.0.0-2ubuntu2 [1,842 kB]                  
Get:22 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main banshee-extension-soundmenu i386 2.0.0-2ubuntu2 [23.8 kB]
Get:23 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main banshee-extension-ubuntuonemusicstore i386 2.0.0-2ubuntu2 [20.5 kB]
Get:24 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main compiz-gnome i386 1:0.9.4+bzr20110606-0ubuntu1~natty2 [121 kB]
Get:25 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main compiz-plugins i386 1:0.9.4+bzr20110606-0ubuntu1~natty2 [1,364 kB]
Get:26 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libdecoration0 i386 1:0.9.4+bzr20110606-0ubuntu1~natty2 [26.3 kB]
Get:27 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main compiz-core i386 1:0.9.4+bzr20110606-0ubuntu1~natty2 [268 kB]
Get:28 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main compiz all 1:0.9.4+bzr20110606-0ubuntu1~natty2 [5,492 B]
Get:29 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupscgi1 i386 1.4.6-5ubuntu1.3 [35.6 kB]             
Get:30 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupsdriver1 i386 1.4.6-5ubuntu1.3 [24.7 kB]          
Get:31 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupsimage2 i386 1.4.6-5ubuntu1.3 [54.7 kB]           
Get:32 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupsmime1 i386 1.4.6-5ubuntu1.3 [18.6 kB]            
Get:33 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupsppdc1 i386 1.4.6-5ubuntu1.3 [60.8 kB]            
Get:34 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups-common all 1.4.6-5ubuntu1.3 [1,275 kB]             
Get:35 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups-bsd i386 1.4.6-5ubuntu1.3 [44.5 kB]                
Get:36 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups-client i386 1.4.6-5ubuntu1.3 [126 kB]              
Get:37 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups-ppdc i386 1.4.6-5ubuntu1.3 [34.4 kB]               
Get:38 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups i386 1.4.6-5ubuntu1.3 [1,963 kB]                   
Get:39 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libgpod-common i386 0.8.0-2ubuntu0.1 [27.4 kB]          
Get:40 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main nautilus-sendto i386 2.32.0-0ubuntu1.1 [58.3 kB]        
Get:41 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main software-center all 4.0.4 [461 kB]                      
Get:42 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main xserver-xorg-video-radeon i386 1:6.14.0-0ubuntu4.1 [430 kB]
Get:43 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main xserver-xorg-video-ati i386 1:6.14.0-0ubuntu4.1 [8,748 B]
Fetched 31.0 MB in 4min 25s (117 kB/s)                                                                                 
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 141591 files and directories currently installed.)
Preparing to replace ntpdate 1:4.2.6.p2+dfsg-1ubuntu5 (using .../ntpdate_1%3a4.2.6.p2+dfsg-1ubuntu5.1_i386.deb) ...
Unpacking replacement ntpdate ...
Preparing to replace chromium-browser-l10n 12.0.742.91~r87961-0ubuntu0.11.04.1 (using .../chromium-browser-l10n_12.0.742.112~r90304-0ubuntu0.11.04.1_all.deb) ...
Unpacking replacement chromium-browser-l10n ...
Preparing to replace chromium-codecs-ffmpeg 12.0.742.91~r87961-0ubuntu0.11.04.1 (using .../chromium-codecs-ffmpeg_12.0.742.112~r90304-0ubuntu0.11.04.1_i386.deb) ...
Unpacking replacement chromium-codecs-ffmpeg ...
Preparing to replace libcups2 1.4.6-5ubuntu1.2 (using .../libcups2_1.4.6-5ubuntu1.3_i386.deb) ...
Unpacking replacement libcups2 ...
Preparing to replace chromium-browser 12.0.742.91~r87961-0ubuntu0.11.04.1 (using .../chromium-browser_12.0.742.112~r90304-0ubuntu0.11.04.1_i386.deb) ...
Unpacking replacement chromium-browser ...
Preparing to replace chromium-browser-inspector 12.0.742.91~r87961-0ubuntu0.11.04.1 (using .../chromium-browser-inspector_12.0.742.112~r90304-0ubuntu0.11.04.1_all.deb) ...
Unpacking replacement chromium-browser-inspector ...
Preparing to replace apt 0.8.13.2ubuntu3 (using .../apt_0.8.13.2ubuntu4_i386.deb) ...
Unpacking replacement apt ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for hicolor-icon-theme ...
Processing triggers for python-support ...
Setting up apt (0.8.13.2ubuntu4) ...
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster at ubuntu.com>" not changed
gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage at ubuntu.com>" not changed
gpg: Total number processed: 2
gpg:              unchanged: 2
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 141593 files and directories currently installed.)
Preparing to replace apt-utils 0.8.13.2ubuntu3 (using .../apt-utils_0.8.13.2ubuntu4_i386.deb) ...
Unpacking replacement apt-utils ...
Preparing to replace initramfs-tools 0.98.8ubuntu3 (using .../initramfs-tools_0.98.8ubuntu3.1_all.deb) ...
Unpacking replacement initramfs-tools ...
Preparing to replace initramfs-tools-bin 0.98.8ubuntu3 (using .../initramfs-tools-bin_0.98.8ubuntu3.1_i386.deb) ...
Unpacking replacement initramfs-tools-bin ...
Preparing to replace apt-transport-https 0.8.13.2ubuntu3 (using .../apt-transport-https_0.8.13.2ubuntu4_i386.deb) ...
Unpacking replacement apt-transport-https ...
Preparing to replace bind9-host 1:9.7.3.dfsg-1ubuntu2.1 (using .../bind9-host_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
Unpacking replacement bind9-host ...
Preparing to replace dnsutils 1:9.7.3.dfsg-1ubuntu2.1 (using .../dnsutils_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
Unpacking replacement dnsutils ...
Preparing to replace libisc62 1:9.7.3.dfsg-1ubuntu2.1 (using .../libisc62_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
Unpacking replacement libisc62 ...
Preparing to replace libdns69 1:9.7.3.dfsg-1ubuntu2.1 (using .../libdns69_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
Unpacking replacement libdns69 ...
Preparing to replace libisccc60 1:9.7.3.dfsg-1ubuntu2.1 (using .../libisccc60_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
Unpacking replacement libisccc60 ...
Preparing to replace libisccfg62 1:9.7.3.dfsg-1ubuntu2.1 (using .../libisccfg62_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
Unpacking replacement libisccfg62 ...
Preparing to replace liblwres60 1:9.7.3.dfsg-1ubuntu2.1 (using .../liblwres60_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
Unpacking replacement liblwres60 ...
Preparing to replace libbind9-60 1:9.7.3.dfsg-1ubuntu2.1 (using .../libbind9-60_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
Unpacking replacement libbind9-60 ...
Preparing to replace libgpod4 0.8.0-2 (using .../libgpod4_0.8.0-2ubuntu0.1_i386.deb) ...
Unpacking replacement libgpod4 ...
Preparing to replace banshee 2.0.0-2ubuntu1 (using .../banshee_2.0.0-2ubuntu2_i386.deb) ...
Unpacking replacement banshee ...
Preparing to replace banshee-extension-soundmenu 2.0.0-2ubuntu1 (using .../banshee-extension-soundmenu_2.0.0-2ubuntu2_i386.deb) ...
Unpacking replacement banshee-extension-soundmenu ...
Preparing to replace banshee-extension-ubuntuonemusicstore 2.0.0-2ubuntu1 (using .../banshee-extension-ubuntuonemusicstore_2.0.0-2ubuntu2_i386.deb) ...
Unpacking replacement banshee-extension-ubuntuonemusicstore ...
Preparing to replace compiz-gnome 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../compiz-gnome_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_i386.deb) ...
Unpacking replacement compiz-gnome ...
Preparing to replace compiz-plugins 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../compiz-plugins_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_i386.deb) ...
Unpacking replacement compiz-plugins ...
Preparing to replace libdecoration0 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../libdecoration0_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_i386.deb) ...
Unpacking replacement libdecoration0 ...
Preparing to replace compiz-core 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../compiz-core_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_i386.deb) ...
Unpacking replacement compiz-core ...
Preparing to replace compiz 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../compiz_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_all.deb) ...
Unpacking replacement compiz ...
Preparing to replace libcupscgi1 1.4.6-5ubuntu1.2 (using .../libcupscgi1_1.4.6-5ubuntu1.3_i386.deb) ...
Unpacking replacement libcupscgi1 ...
Preparing to replace libcupsdriver1 1.4.6-5ubuntu1.2 (using .../libcupsdriver1_1.4.6-5ubuntu1.3_i386.deb) ...
Unpacking replacement libcupsdriver1 ...
Preparing to replace libcupsimage2 1.4.6-5ubuntu1.2 (using .../libcupsimage2_1.4.6-5ubuntu1.3_i386.deb) ...
Unpacking replacement libcupsimage2 ...
Preparing to replace libcupsmime1 1.4.6-5ubuntu1.2 (using .../libcupsmime1_1.4.6-5ubuntu1.3_i386.deb) ...
Unpacking replacement libcupsmime1 ...
Preparing to replace libcupsppdc1 1.4.6-5ubuntu1.2 (using .../libcupsppdc1_1.4.6-5ubuntu1.3_i386.deb) ...
Unpacking replacement libcupsppdc1 ...
Preparing to replace cups-common 1.4.6-5ubuntu1.2 (using .../cups-common_1.4.6-5ubuntu1.3_all.deb) ...
Unpacking replacement cups-common ...
Preparing to replace cups-bsd 1.4.6-5ubuntu1.2 (using .../cups-bsd_1.4.6-5ubuntu1.3_i386.deb) ...
Unpacking replacement cups-bsd ...
Preparing to replace cups-client 1.4.6-5ubuntu1.2 (using .../cups-client_1.4.6-5ubuntu1.3_i386.deb) ...
Unpacking replacement cups-client ...
Preparing to replace cups-ppdc 1.4.6-5ubuntu1.2 (using .../cups-ppdc_1.4.6-5ubuntu1.3_i386.deb) ...
Unpacking replacement cups-ppdc ...
Preparing to replace cups 1.4.6-5ubuntu1.2 (using .../cups_1.4.6-5ubuntu1.3_i386.deb) ...
cups stop/waiting
Unpacking replacement cups ...
Preparing to replace libgpod-common 0.8.0-2 (using .../libgpod-common_0.8.0-2ubuntu0.1_i386.deb) ...
Unpacking replacement libgpod-common ...
Preparing to replace nautilus-sendto 2.32.0-0ubuntu1 (using .../nautilus-sendto_2.32.0-0ubuntu1.1_i386.deb) ...
Unpacking replacement nautilus-sendto ...
Preparing to replace software-center 4.0.3 (using .../software-center_4.0.4_all.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 2327, in <module>
    main()
  File "/usr/bin/pycentral", line 2321, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1673, in run
    runtimes = get_installed_runtimes(with_unsupported=True)
  File "/usr/bin/pycentral", line 278, in get_installed_runtimes
    default_version = pyversions.default_version(version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
    raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.7
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 2327, in <module>
    main()
  File "/usr/bin/pycentral", line 2321, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1673, in run
    runtimes = get_installed_runtimes(with_unsupported=True)
  File "/usr/bin/pycentral", line 278, in get_installed_runtimes
    default_version = pyversions.default_version(version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
    raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.7
dpkg: error processing /var/cache/apt/archives/software-center_4.0.4_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 2327, in <module>
    main()
  File "/usr/bin/pycentral", line 2321, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1493, in run
    runtimes = get_installed_runtimes()
  File "/usr/bin/pycentral", line 278, in get_installed_runtimes
    default_version = pyversions.default_version(version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
    raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.7
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Preparing to replace xserver-xorg-video-radeon 1:6.14.0-0ubuntu4 (using .../xserver-xorg-video-radeon_1%3a6.14.0-0ubuntu4.1_i386.deb) ...
Unpacking replacement xserver-xorg-video-radeon ...
Preparing to replace xserver-xorg-video-ati 1:6.14.0-0ubuntu4 (using .../xserver-xorg-video-ati_1%3a6.14.0-0ubuntu4.1_i386.deb) ...
Unpacking replacement xserver-xorg-video-ati ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 2 changed doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for hicolor-icon-theme ...
Processing triggers for shared-mime-info ...
Processing triggers for menu ...
Processing triggers for gconf2 ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw ...
Processing triggers for libglib2.0-0 ...
Processing triggers for python-support ...
Errors were encountered while processing:
 /var/cache/apt/archives/software-center_4.0.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: software-center 4.0.3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Tue Jul 12 15:39:51 2011
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
SourcePackage: software-center
Title: package software-center 4.0.3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: software-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386 natty python

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/809560

Title:
  package software-center 4.0.3 failed to install/upgrade: subprocess
  new pre-removal script returned error exit status 1

Status in “software-center” package in Ubuntu:
  New

Bug description:
  GUI update stalled after clicked "Install Updates", so I had to kill
  it.  I think the important thing is that earlier in the week I
  symlinked /usr/bin/python to Python2.6 instead of the installed
  Python2.7: "ValueError: /usr/bin/python does not match the python
  default version. It must be reset to point to python2.7"

  1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
  stav at bluqt:~$ lsb_release -rd
  Description:	Ubuntu 11.04
  Release:	11.04

  2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
  stav at bluqt:~$ apt-cache policy software-center
  software-center:
    Installed: 4.0.3
    Candidate: 4.0.4
    Version table:
       4.0.4 0
          500 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
   *** 4.0.3 0
          100 /var/lib/dpkg/status
       4.0 0
          500 http://mx.archive.ubuntu.com/ubuntu/ natty/main i386 Pack

  3) What you expected to happen
  I expected apt-get to upgrade all my packages and exit mornally.

  4) What happened instead
  What happened was that a Python stacktrace was displayed and the program exited with an error status (1)
  stav at bluqt:~$ sudo kill 4626 [update-manager]
  stav at bluqt:~$ sudo apt-get update
  stav at bluqt:~$ sudo apt-get upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be upgraded:
    apt apt-transport-https apt-utils banshee banshee-extension-soundmenu banshee-extension-ubuntuonemusicstore
    bind9-host chromium-browser chromium-browser-inspector chromium-browser-l10n chromium-codecs-ffmpeg compiz
    compiz-core compiz-gnome compiz-plugins cups cups-bsd cups-client cups-common cups-ppdc dnsutils initramfs-tools
    initramfs-tools-bin libbind9-60 libcups2 libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1
    libdecoration0 libdns69 libgpod-common libgpod4 libisc62 libisccc60 libisccfg62 liblwres60 nautilus-sendto ntpdate
    software-center xserver-xorg-video-ati xserver-xorg-video-radeon
  43 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 31.0 MB of archives.
  After this operation, 516 kB of additional disk space will be used.
  Do you want to continue [Y/n]? 
  Get:1 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main ntpdate i386 1:4.2.6.p2+dfsg-1ubuntu5.1 [60.0 kB]
  Get:2 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/universe chromium-browser-l10n all 12.0.742.112~r90304-0ubuntu0.11.04.1 [1,881 kB]
  Get:3 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/universe chromium-codecs-ffmpeg i386 12.0.742.112~r90304-0ubuntu0.11.04.1 [268 kB]
  Get:4 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcups2 i386 1.4.6-5ubuntu1.3 [158 kB]                  
  Get:5 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/universe chromium-browser i386 12.0.742.112~r90304-0ubuntu0.11.04.1 [16.5 MB]
  Get:6 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/universe chromium-browser-inspector all 12.0.742.112~r90304-0ubuntu0.11.04.1 [118 kB]
  Get:7 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main apt i386 0.8.13.2ubuntu4 [2,102 kB]                      
  Get:8 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main apt-utils i386 0.8.13.2ubuntu4 [223 kB]                  
  Get:9 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main initramfs-tools all 0.98.8ubuntu3.1 [52.8 kB]            
  Get:10 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main initramfs-tools-bin i386 0.98.8ubuntu3.1 [11.0 kB]      
  Get:11 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main apt-transport-https i386 0.8.13.2ubuntu4 [19.1 kB]      
  Get:12 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main bind9-host i386 1:9.7.3.dfsg-1ubuntu2.2 [52.9 kB]       
  Get:13 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main dnsutils i386 1:9.7.3.dfsg-1ubuntu2.2 [137 kB]          
  Get:14 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libisc62 i386 1:9.7.3.dfsg-1ubuntu2.2 [143 kB]          
  Get:15 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libdns69 i386 1:9.7.3.dfsg-1ubuntu2.2 [634 kB]          
  Get:16 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libisccc60 i386 1:9.7.3.dfsg-1ubuntu2.2 [17.4 kB]       
  Get:17 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libisccfg62 i386 1:9.7.3.dfsg-1ubuntu2.2 [36.4 kB]      
  Get:18 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main liblwres60 i386 1:9.7.3.dfsg-1ubuntu2.2 [35.6 kB]       
  Get:19 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libbind9-60 i386 1:9.7.3.dfsg-1ubuntu2.2 [24.8 kB]      
  Get:20 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libgpod4 i386 0.8.0-2ubuntu0.1 [217 kB]                 
  Get:21 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main banshee i386 2.0.0-2ubuntu2 [1,842 kB]                  
  Get:22 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main banshee-extension-soundmenu i386 2.0.0-2ubuntu2 [23.8 kB]
  Get:23 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main banshee-extension-ubuntuonemusicstore i386 2.0.0-2ubuntu2 [20.5 kB]
  Get:24 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main compiz-gnome i386 1:0.9.4+bzr20110606-0ubuntu1~natty2 [121 kB]
  Get:25 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main compiz-plugins i386 1:0.9.4+bzr20110606-0ubuntu1~natty2 [1,364 kB]
  Get:26 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libdecoration0 i386 1:0.9.4+bzr20110606-0ubuntu1~natty2 [26.3 kB]
  Get:27 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main compiz-core i386 1:0.9.4+bzr20110606-0ubuntu1~natty2 [268 kB]
  Get:28 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main compiz all 1:0.9.4+bzr20110606-0ubuntu1~natty2 [5,492 B]
  Get:29 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupscgi1 i386 1.4.6-5ubuntu1.3 [35.6 kB]             
  Get:30 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupsdriver1 i386 1.4.6-5ubuntu1.3 [24.7 kB]          
  Get:31 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupsimage2 i386 1.4.6-5ubuntu1.3 [54.7 kB]           
  Get:32 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupsmime1 i386 1.4.6-5ubuntu1.3 [18.6 kB]            
  Get:33 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libcupsppdc1 i386 1.4.6-5ubuntu1.3 [60.8 kB]            
  Get:34 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups-common all 1.4.6-5ubuntu1.3 [1,275 kB]             
  Get:35 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups-bsd i386 1.4.6-5ubuntu1.3 [44.5 kB]                
  Get:36 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups-client i386 1.4.6-5ubuntu1.3 [126 kB]              
  Get:37 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups-ppdc i386 1.4.6-5ubuntu1.3 [34.4 kB]               
  Get:38 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main cups i386 1.4.6-5ubuntu1.3 [1,963 kB]                   
  Get:39 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main libgpod-common i386 0.8.0-2ubuntu0.1 [27.4 kB]          
  Get:40 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main nautilus-sendto i386 2.32.0-0ubuntu1.1 [58.3 kB]        
  Get:41 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main software-center all 4.0.4 [461 kB]                      
  Get:42 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main xserver-xorg-video-radeon i386 1:6.14.0-0ubuntu4.1 [430 kB]
  Get:43 http://mx.archive.ubuntu.com/ubuntu/ natty-updates/main xserver-xorg-video-ati i386 1:6.14.0-0ubuntu4.1 [8,748 B]
  Fetched 31.0 MB in 4min 25s (117 kB/s)                                                                                 
  Extracting templates from packages: 100%
  Preconfiguring packages ...
  (Reading database ... 141591 files and directories currently installed.)
  Preparing to replace ntpdate 1:4.2.6.p2+dfsg-1ubuntu5 (using .../ntpdate_1%3a4.2.6.p2+dfsg-1ubuntu5.1_i386.deb) ...
  Unpacking replacement ntpdate ...
  Preparing to replace chromium-browser-l10n 12.0.742.91~r87961-0ubuntu0.11.04.1 (using .../chromium-browser-l10n_12.0.742.112~r90304-0ubuntu0.11.04.1_all.deb) ...
  Unpacking replacement chromium-browser-l10n ...
  Preparing to replace chromium-codecs-ffmpeg 12.0.742.91~r87961-0ubuntu0.11.04.1 (using .../chromium-codecs-ffmpeg_12.0.742.112~r90304-0ubuntu0.11.04.1_i386.deb) ...
  Unpacking replacement chromium-codecs-ffmpeg ...
  Preparing to replace libcups2 1.4.6-5ubuntu1.2 (using .../libcups2_1.4.6-5ubuntu1.3_i386.deb) ...
  Unpacking replacement libcups2 ...
  Preparing to replace chromium-browser 12.0.742.91~r87961-0ubuntu0.11.04.1 (using .../chromium-browser_12.0.742.112~r90304-0ubuntu0.11.04.1_i386.deb) ...
  Unpacking replacement chromium-browser ...
  Preparing to replace chromium-browser-inspector 12.0.742.91~r87961-0ubuntu0.11.04.1 (using .../chromium-browser-inspector_12.0.742.112~r90304-0ubuntu0.11.04.1_all.deb) ...
  Unpacking replacement chromium-browser-inspector ...
  Preparing to replace apt 0.8.13.2ubuntu3 (using .../apt_0.8.13.2ubuntu4_i386.deb) ...
  Unpacking replacement apt ...
  Processing triggers for man-db ...
  Processing triggers for bamfdaemon ...
  Rebuilding /usr/share/applications/bamf.index...
  Processing triggers for desktop-file-utils ...
  Processing triggers for python-gmenu ...
  Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
  Processing triggers for hicolor-icon-theme ...
  Processing triggers for python-support ...
  Setting up apt (0.8.13.2ubuntu4) ...
  gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster at ubuntu.com>" not changed
  gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key <cdimage at ubuntu.com>" not changed
  gpg: Total number processed: 2
  gpg:              unchanged: 2
  Processing triggers for libc-bin ...
  ldconfig deferred processing now taking place
  (Reading database ... 141593 files and directories currently installed.)
  Preparing to replace apt-utils 0.8.13.2ubuntu3 (using .../apt-utils_0.8.13.2ubuntu4_i386.deb) ...
  Unpacking replacement apt-utils ...
  Preparing to replace initramfs-tools 0.98.8ubuntu3 (using .../initramfs-tools_0.98.8ubuntu3.1_all.deb) ...
  Unpacking replacement initramfs-tools ...
  Preparing to replace initramfs-tools-bin 0.98.8ubuntu3 (using .../initramfs-tools-bin_0.98.8ubuntu3.1_i386.deb) ...
  Unpacking replacement initramfs-tools-bin ...
  Preparing to replace apt-transport-https 0.8.13.2ubuntu3 (using .../apt-transport-https_0.8.13.2ubuntu4_i386.deb) ...
  Unpacking replacement apt-transport-https ...
  Preparing to replace bind9-host 1:9.7.3.dfsg-1ubuntu2.1 (using .../bind9-host_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
  Unpacking replacement bind9-host ...
  Preparing to replace dnsutils 1:9.7.3.dfsg-1ubuntu2.1 (using .../dnsutils_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
  Unpacking replacement dnsutils ...
  Preparing to replace libisc62 1:9.7.3.dfsg-1ubuntu2.1 (using .../libisc62_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
  Unpacking replacement libisc62 ...
  Preparing to replace libdns69 1:9.7.3.dfsg-1ubuntu2.1 (using .../libdns69_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
  Unpacking replacement libdns69 ...
  Preparing to replace libisccc60 1:9.7.3.dfsg-1ubuntu2.1 (using .../libisccc60_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
  Unpacking replacement libisccc60 ...
  Preparing to replace libisccfg62 1:9.7.3.dfsg-1ubuntu2.1 (using .../libisccfg62_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
  Unpacking replacement libisccfg62 ...
  Preparing to replace liblwres60 1:9.7.3.dfsg-1ubuntu2.1 (using .../liblwres60_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
  Unpacking replacement liblwres60 ...
  Preparing to replace libbind9-60 1:9.7.3.dfsg-1ubuntu2.1 (using .../libbind9-60_1%3a9.7.3.dfsg-1ubuntu2.2_i386.deb) ...
  Unpacking replacement libbind9-60 ...
  Preparing to replace libgpod4 0.8.0-2 (using .../libgpod4_0.8.0-2ubuntu0.1_i386.deb) ...
  Unpacking replacement libgpod4 ...
  Preparing to replace banshee 2.0.0-2ubuntu1 (using .../banshee_2.0.0-2ubuntu2_i386.deb) ...
  Unpacking replacement banshee ...
  Preparing to replace banshee-extension-soundmenu 2.0.0-2ubuntu1 (using .../banshee-extension-soundmenu_2.0.0-2ubuntu2_i386.deb) ...
  Unpacking replacement banshee-extension-soundmenu ...
  Preparing to replace banshee-extension-ubuntuonemusicstore 2.0.0-2ubuntu1 (using .../banshee-extension-ubuntuonemusicstore_2.0.0-2ubuntu2_i386.deb) ...
  Unpacking replacement banshee-extension-ubuntuonemusicstore ...
  Preparing to replace compiz-gnome 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../compiz-gnome_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_i386.deb) ...
  Unpacking replacement compiz-gnome ...
  Preparing to replace compiz-plugins 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../compiz-plugins_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_i386.deb) ...
  Unpacking replacement compiz-plugins ...
  Preparing to replace libdecoration0 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../libdecoration0_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_i386.deb) ...
  Unpacking replacement libdecoration0 ...
  Preparing to replace compiz-core 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../compiz-core_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_i386.deb) ...
  Unpacking replacement compiz-core ...
  Preparing to replace compiz 1:0.9.4+bzr20110606-0ubuntu1~natty1 (using .../compiz_1%3a0.9.4+bzr20110606-0ubuntu1~natty2_all.deb) ...
  Unpacking replacement compiz ...
  Preparing to replace libcupscgi1 1.4.6-5ubuntu1.2 (using .../libcupscgi1_1.4.6-5ubuntu1.3_i386.deb) ...
  Unpacking replacement libcupscgi1 ...
  Preparing to replace libcupsdriver1 1.4.6-5ubuntu1.2 (using .../libcupsdriver1_1.4.6-5ubuntu1.3_i386.deb) ...
  Unpacking replacement libcupsdriver1 ...
  Preparing to replace libcupsimage2 1.4.6-5ubuntu1.2 (using .../libcupsimage2_1.4.6-5ubuntu1.3_i386.deb) ...
  Unpacking replacement libcupsimage2 ...
  Preparing to replace libcupsmime1 1.4.6-5ubuntu1.2 (using .../libcupsmime1_1.4.6-5ubuntu1.3_i386.deb) ...
  Unpacking replacement libcupsmime1 ...
  Preparing to replace libcupsppdc1 1.4.6-5ubuntu1.2 (using .../libcupsppdc1_1.4.6-5ubuntu1.3_i386.deb) ...
  Unpacking replacement libcupsppdc1 ...
  Preparing to replace cups-common 1.4.6-5ubuntu1.2 (using .../cups-common_1.4.6-5ubuntu1.3_all.deb) ...
  Unpacking replacement cups-common ...
  Preparing to replace cups-bsd 1.4.6-5ubuntu1.2 (using .../cups-bsd_1.4.6-5ubuntu1.3_i386.deb) ...
  Unpacking replacement cups-bsd ...
  Preparing to replace cups-client 1.4.6-5ubuntu1.2 (using .../cups-client_1.4.6-5ubuntu1.3_i386.deb) ...
  Unpacking replacement cups-client ...
  Preparing to replace cups-ppdc 1.4.6-5ubuntu1.2 (using .../cups-ppdc_1.4.6-5ubuntu1.3_i386.deb) ...
  Unpacking replacement cups-ppdc ...
  Preparing to replace cups 1.4.6-5ubuntu1.2 (using .../cups_1.4.6-5ubuntu1.3_i386.deb) ...
  cups stop/waiting
  Unpacking replacement cups ...
  Preparing to replace libgpod-common 0.8.0-2 (using .../libgpod-common_0.8.0-2ubuntu0.1_i386.deb) ...
  Unpacking replacement libgpod-common ...
  Preparing to replace nautilus-sendto 2.32.0-0ubuntu1 (using .../nautilus-sendto_2.32.0-0ubuntu1.1_i386.deb) ...
  Unpacking replacement nautilus-sendto ...
  Preparing to replace software-center 4.0.3 (using .../software-center_4.0.4_all.deb) ...
  Traceback (most recent call last):
    File "/usr/bin/pycentral", line 2327, in <module>
      main()
    File "/usr/bin/pycentral", line 2321, in main
      rv = action.run(global_options)
    File "/usr/bin/pycentral", line 1673, in run
      runtimes = get_installed_runtimes(with_unsupported=True)
    File "/usr/bin/pycentral", line 278, in get_installed_runtimes
      default_version = pyversions.default_version(version_only=True)
    File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
      raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
  ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.7
  dpkg: warning: subprocess old pre-removal script returned error exit status 1
  dpkg - trying script from the new package instead ...
  Traceback (most recent call last):
    File "/usr/bin/pycentral", line 2327, in <module>
      main()
    File "/usr/bin/pycentral", line 2321, in main
      rv = action.run(global_options)
    File "/usr/bin/pycentral", line 1673, in run
      runtimes = get_installed_runtimes(with_unsupported=True)
    File "/usr/bin/pycentral", line 278, in get_installed_runtimes
      default_version = pyversions.default_version(version_only=True)
    File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
      raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
  ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.7
  dpkg: error processing /var/cache/apt/archives/software-center_4.0.4_all.deb (--unpack):
   subprocess new pre-removal script returned error exit status 1
  Traceback (most recent call last):
    File "/usr/bin/pycentral", line 2327, in <module>
      main()
    File "/usr/bin/pycentral", line 2321, in main
      rv = action.run(global_options)
    File "/usr/bin/pycentral", line 1493, in run
      runtimes = get_installed_runtimes()
    File "/usr/bin/pycentral", line 278, in get_installed_runtimes
      default_version = pyversions.default_version(version_only=True)
    File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
      raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
  ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.7
  dpkg: error while cleaning up:
   subprocess installed post-installation script returned error exit status 1
  Preparing to replace xserver-xorg-video-radeon 1:6.14.0-0ubuntu4 (using .../xserver-xorg-video-radeon_1%3a6.14.0-0ubuntu4.1_i386.deb) ...
  Unpacking replacement xserver-xorg-video-radeon ...
  Preparing to replace xserver-xorg-video-ati 1:6.14.0-0ubuntu4 (using .../xserver-xorg-video-ati_1%3a6.14.0-0ubuntu4.1_i386.deb) ...
  Unpacking replacement xserver-xorg-video-ati ...
  Processing triggers for man-db ...
  Processing triggers for doc-base ...
  Processing 2 changed doc-base file(s)...
  Registering documents with scrollkeeper...
  Processing triggers for bamfdaemon ...
  Rebuilding /usr/share/applications/bamf.index...
  Processing triggers for desktop-file-utils ...
  Processing triggers for python-gmenu ...
  Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
  Processing triggers for hicolor-icon-theme ...
  Processing triggers for shared-mime-info ...
  Processing triggers for menu ...
  Processing triggers for gconf2 ...
  Processing triggers for ureadahead ...
  ureadahead will be reprofiled on next reboot
  Processing triggers for ufw ...
  Processing triggers for libglib2.0-0 ...
  Processing triggers for python-support ...
  Errors were encountered while processing:
   /var/cache/apt/archives/software-center_4.0.4_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: software-center 4.0.3
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Tue Jul 12 15:39:51 2011
  ErrorMessage: subprocess new pre-removal script returned error exit status 1
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  PackageArchitecture: all
  SourcePackage: software-center
  Title: package software-center 4.0.3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/809560/+subscriptions




More information about the foundations-bugs mailing list