Error installing wxPython on a Raspberry Pi

wxPython Support,

I am trying to install wxPython on a Raspberry Pi with no success.
Any ideas how to resolve/work-around the below error?

Thanks,
Bruce

pi@raspberrypi ~ $ sudo apt-get install python-wxgtk2.8

Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
wx2.8-doc wx2.8-examples editra
The following NEW packages will be installed:
python-wxgtk2.8
0 upgraded, 1 newly installed, 0 to remove and 98 not upgraded.
Need to get 0 B/7,272 kB of archives.
After this operation, 28.3 MB of additional disk space will be used.
E: Invalid archive member header �
E: Prior errors apply to /var/cache/apt/archives/python-wxgtk2.8_2.8.12.1-12_armhf.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg-deb (subprocess): decompressing archive member: internal gzip read error: ‘fd:4: incorrect data check’
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
dpkg-deb: error: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/python-wxgtk2.8_2.8.12.1-12_armhf.deb (–unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/python-wxgtk2.8_2.8.12.1-12_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

pi@raspberrypi ~ $

Hi Bruce,

···

On 10 March 2013 10:38, bruce g bruceg113355@gmail.com wrote:

wxPython Support,

I am trying to install wxPython on a Raspberry Pi with no success.
Any ideas how to resolve/work-around the below error?

E: Invalid archive member header �
E: Prior errors apply to /var/cache/apt/archives/python-wxgtk2.8_2.8.12.1-12_armhf.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg-deb (subprocess): decompressing archive member: internal gzip read error: ‘fd:4: incorrect data check’

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Looks like the file was corrupted - maybe in transfer?

dpkg-deb: error: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/python-wxgtk2.8_2.8.12.1-12_armhf.deb (–unpack):

subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/python-wxgtk2.8_2.8.12.1-12_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

pi@raspberrypi ~ $