package python-wxgtk2.8 2.8.9.1-0ubuntu6 failed to install/upgrade: underproces post-installation script returnerede afslutningsstatus 1

Bug #355748 reported by stroemer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wxwidgets2.8 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

failet to install on upgrade.

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: underproces post-installation script returnerede afslutningsstatus 1
NonfreeKernelModules: nvidia
Package: python-wxgtk2.8 2.8.9.1-0ubuntu6
SourcePackage: wxwidgets2.8
Title: package python-wxgtk2.8 2.8.9.1-0ubuntu6 failed to install/upgrade: underproces post-installation script returnerede afslutningsstatus 1
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
stroemer (eljessen) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

please could you re-run as root: LANG= dpkg --configure --pending

just want to make sure I understand the messages ...

Changed in wxwidgets2.8 (Ubuntu):
status: New → Incomplete
Revision history for this message
stroemer (eljessen) wrote : Re: [Bug 355748] Re: package python-wxgtk2.8 2.8.9.1-0ubuntu6 failed to install/upgrade: underproces post-installation script returnerede afslutningsstatus 1

Matthias Klose skrev:
> please could you re-run as root: LANG= dpkg --configure --pending
>
> just want to make sure I understand the messages ...
>
>
> ** Changed in: wxwidgets2.8 (Ubuntu)
> Status: New => Incomplete
>
Hallo Matthias !

Here is my result:

stroemer@stroemer-desktop:~$ sudo LANG= dpkg --configure --pending
[sudo] password for stroemer:
Setting up python2.5-minimal (2.5.4-1ubuntu4) ...
Segmentation fault (core dumped)
update-binfmts: warning: unable to open /usr/share/binfmts/python2.5: No
such
file or directory
update-binfmts: warning: couldn't find information about 'python2.5' to
import update-binfmts: exiting due to previous errors
dpkg: error processing python2.5-minimal (--configure):
  subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of python2.5:
  python2.5 depends on python2.5-minimal (= 2.5.4-1ubuntu4); however:
   Package python2.5-minimal is not configured yet.
dpkg: error processing python2.5 (--configure):
  dependency problems - leaving unconfigured
Setting up hotkey-setup (0.1-23ubuntu10) ...
/etc/init.d/hotkey-setup: 47: Syntax error: ";;" unexpected (expecting "fi")
invoke-rc.d: initscript hotkey-setup, action "start" failed.
dpkg: error processing hotkey-setup (--configure):
  subprocess post-installation script returned error exit status 2
Setting up python-wxgtk2.8 (2.8.9.1-0ubuntu6) ...
pycentral: pycentral pkginstall: error byte-compiling files (434)
pycentral pkginstall: error byte-compiling files (434)
dpkg: error processing python-wxgtk2.8 (--configure):
  subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-wxversion:
  python-wxversion depends on python-wxgtk2.8 (>= 2.8.6.1-0ubuntu2) |
python-wxgtk2.6 (>= 2.6.3.2.2-1ubuntu2); however:
   Package python-wxgtk2.8 is not configured yet.
   Package python-wxgtk2.6 is not installed.
dpkg: error processing python-wxversion (--configure):
  dependency problems - leaving unconfigured
Errors were encountered while processing:
  python2.5-minimal
  python2.5
  hotkey-setup
  python-wxgtk2.8
  python-wxversion
stroemer@stroemer-desktop:~$

Thank's a lot :-)

yours.

Lejf

Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 355748] Re: package python-wxgtk2.8 2.8.9.1-0ubuntu6 failed to install/upgrade: underproces post-installation script returnerede afslutningsstatus 1

stroemer schrieb:
> Matthias Klose skrev:
>> please could you re-run as root: LANG= dpkg --configure --pending
>>
>> just want to make sure I understand the messages ...
>>
>>
>> ** Changed in: wxwidgets2.8 (Ubuntu)
>> Status: New => Incomplete
>>

there's more than one issue:

> Here is my result:
>
> stroemer@stroemer-desktop:~$ sudo LANG= dpkg --configure --pending
> [sudo] password for stroemer:
> Setting up python2.5-minimal (2.5.4-1ubuntu4) ...
h> Segmentation fault (core dumped)
> update-binfmts: warning: unable to open /usr/share/binfmts/python2.5: No
> such
> file or directory
> update-binfmts: warning: couldn't find information about 'python2.5' to
> import update-binfmts: exiting due to previous errors
> dpkg: error processing python2.5-minimal (--configure):
> subprocess post-installation script returned error exit status 2
> dpkg: dependency problems prevent configuration of python2.5:
> python2.5 depends on python2.5-minimal (= 2.5.4-1ubuntu4); however:
> Package python2.5-minimal is not configured yet.
> dpkg: error processing python2.5 (--configure):
> dependency problems - leaving unconfigured

please run sudo sh -x /var/lib/dpkg/info/python2.5-minimal.postinst configure
the file /usr/share/binfmts/python2.5 is in the package, so I'm wondering why
it is not found on the file system.

> Setting up hotkey-setup (0.1-23ubuntu10) ...
> /etc/init.d/hotkey-setup: 47: Syntax error: ";;" unexpected (expecting "fi")
> invoke-rc.d: initscript hotkey-setup, action "start" failed.
> dpkg: error processing hotkey-setup (--configure):
> subprocess post-installation script returned error exit status 2

this is unrelated.

> Setting up python-wxgtk2.8 (2.8.9.1-0ubuntu6) ...
> pycentral: pycentral pkginstall: error byte-compiling files (434)
> pycentral pkginstall: error byte-compiling files (434)

I cannot reproduce this, please could you try to reinstall this package?

Revision history for this message
stroemer (eljessen) wrote : Re: [Bug 355748] Re: package python-wxgtk2.8 2.8.9.1-0ubuntu6 failed to install/upgrade: underproces post-installation script returnerede afslutningsstatus 1
Download full text (5.1 KiB)

Matthias Klose skrev:
> stroemer schrieb:
>> Matthias Klose skrev:
>>> please could you re-run as root: LANG= dpkg --configure --pending
>>>
>>> just want to make sure I understand the messages ...
>>>
>>>
>>> ** Changed in: wxwidgets2.8 (Ubuntu)
>>> Status: New => Incomplete
>>>
>
> there's more than one issue:
>
>> Here is my result:
>>
>> stroemer@stroemer-desktop:~$ sudo LANG= dpkg --configure --pending
>> [sudo] password for stroemer:
>> Setting up python2.5-minimal (2.5.4-1ubuntu4) ...
> h> Segmentation fault (core dumped)
>> update-binfmts: warning: unable to open /usr/share/binfmts/python2.5: No
>> such
>> file or directory
>> update-binfmts: warning: couldn't find information about 'python2.5' to
>> import update-binfmts: exiting due to previous errors
>> dpkg: error processing python2.5-minimal (--configure):
>> subprocess post-installation script returned error exit status 2
>> dpkg: dependency problems prevent configuration of python2.5:
>> python2.5 depends on python2.5-minimal (= 2.5.4-1ubuntu4); however:
>> Package python2.5-minimal is not configured yet.
>> dpkg: error processing python2.5 (--configure):
>> dependency problems - leaving unconfigured
>
> please run sudo sh -x /var/lib/dpkg/info/python2.5-minimal.postinst configure
> the file /usr/share/binfmts/python2.5 is in the package, so I'm wondering why
> it is not found on the file system.

stroemer@stroemer-desktop:~$ sudo sh -x
/var/lib/dpkg/info/python2.5-minimal.postinst configure
+ set -e
+ [ ! -f /etc/python2.5/sitecustomize.py ]
+ [ configure = configure ]
+ dpkg -L python2.5-minimal
+ sed -n /^\/usr\/lib\/python2.5\/.*\.py$/p
+ files=
+ python2.5 /usr/lib/python2.5/py_compile.py
Segmentation fault (core dumped)
+ bc=no
+ [ -z ]
+ bc=yes
+ grep -sq ^supported-versions[^#]*python2.5
/usr/share/python/debian_defaults
+ [ yes = yes ]
+ [ != noninteractive ]
+ echo Linking and byte-compiling packages for runtime python2.5...
Linking and byte-compiling packages for runtime python2.5...
+ dpkg -s python2.5-minimal
+ awk /^Version:/ {print $2}
+ version=2.5.4-1ubuntu4
+ [ -x /usr/share/python/runtime.d/pycentral.rtinstall ]
+ /usr/share/python/runtime.d/pycentral.rtinstall rtinstall python2.5
2.5.4-1ubuntu4
pycentral: pycentral rtinstall: package python-pkg-resources: error
byte-compiling files (1)
pycentral rtinstall: package python-pkg-resources: error byte-compiling
files (1)
stroemer@stroemer-desktop:~$

>
>> Setting up hotkey-setup (0.1-23ubuntu10) ...
>> /etc/init.d/hotkey-setup: 47: Syntax error: ";;" unexpected (expecting "fi")
>> invoke-rc.d: initscript hotkey-setup, action "start" failed.
>> dpkg: error processing hotkey-setup (--configure):
>> subprocess post-installation script returned error exit status 2
>
> this is unrelated.
>
>> Setting up python-wxgtk2.8 (2.8.9.1-0ubuntu6) ...
stroemer@stroemer-desktop:~$ sudo apt-get install python-wxgtk2.8
[sudo] password for stroemer:
Indlæser pakkelisterne... Færdig
Opbygger afhængighedstræ
Læser tilstandsoplysninger... Færdig
python-wxgtk2.8 er i forvejen den nyeste version.
python-wxgtk2.8 set to manually installed.
Følgende yderligere pakker vil blive installeret:
   hotkey-setup...

Read more...

Revision history for this message
Matthias Klose (doko) wrote :

for some reason the python2.5 packages seem to be damaged (disk errors?). please try to uninstall these, it is likely that you don't need them.

  sudo apt-get remove python2.5-minimal

Revision history for this message
stroemer (eljessen) wrote : Re: [Bug 355748] Re: package python-wxgtk2.8 2.8.9.1-0ubuntu6 failed to install/upgrade: underproces post-installation script returnerede afslutningsstatus 1

Matthias Klose skrev:
> for some reason the python2.5 packages seem to be damaged (disk
> errors?). please try to uninstall these, it is likely that you don't
> need them.
>
> sudo apt-get remove python2.5-minimal
>

Hello Matthias!

Thank's for your advice. Done so as you wrote. Restarted, and there was
no crashreport. Sudo apt-get update and upgrade, and there was no
errors :-)

Vielen dank Matthias !

Lejf

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.