I'm attempting to install some packages from the repository, which fails badly. Here is what happens:
Code:
root@root:~# aptitude install python-pycryptopp python-scapy libpcap-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
  libcrypto++8{a} python-pycryptopp python-scapy 
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,808kB of archives. After unpacking 6,558kB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Get:1 http://32.repository.backtrack-linux.org/ revolution/main libcrypto++8 5.6.0-5 [1,246kB]
Get:2 http://all.repository.backtrack-linux.org/ revolution/main python-scapy 2.0.1-1 [189kB]
Get:3 http://32.repository.backtrack-linux.org/ revolution/main python-pycryptopp 0.5.17-1 [373kB]
Fetched 1,808kB in 2min 29s (12.1kB/s)                                          
Selecting previously deselected package libcrypto++8.
(Reading database ... 212476 files and directories currently installed.)
Unpacking libcrypto++8 (from .../libcrypto++8_5.6.0-5_i386.deb) ...
Selecting previously deselected package python-pycryptopp.
Unpacking python-pycryptopp (from .../python-pycryptopp_0.5.17-1_i386.deb) ...
Selecting previously deselected package python-scapy.
Unpacking python-scapy (from .../python-scapy_2.0.1-1_all.deb) ...
Processing triggers for man-db ...
Setting up libcrypto++8 (5.6.0-5) ...

Setting up python-pycryptopp (0.5.17-1) ...

Setting up python-scapy (2.0.1-1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
/var/lib/dpkg/info/libc-bin.postinst: line 12:  3977 Bus error               (core dumped) ldconfig
dpkg: error processing libc-bin (--configure):
 subprocess installed post-installation script returned error exit status 135
Processing triggers for python-support ...
Errors were encountered while processing:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up libc-bin (2.11.1-0ubuntu7.8) ...

Reading package lists... Error!           
E: Read error - read (5: Input/output error)
E: The package lists or status file could not be parsed or opened.
Reading package lists... Error!
E: Read error - read (5: Input/output error)
E: The package lists or status file could not be parsed or opened.
E: Read error - read (5: Input/output error)
E: The package lists or status file could not be parsed or opened.

Current status: 0 new [-29869].
E: Read error - read (5: Input/output error)
E: The package lists or status file could not be parsed or opened.
I have tried to find a solution to this problem on the Internet, but have failed. This is reproducible for me, if I restart and try again. How do I fix this?


I'm using Backtrack 5, running from USB, the 32bit GNOME version. I have forgotten which exact version I have, but judging by the fact that the b43 driver is used, it's probably 5r1.
ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:1d:09:5d:5d:18  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:290 errors:0 dropped:0 overruns:0 frame:0
          TX packets:290 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:31085 (31.0 KB)  TX bytes:31085 (31.0 KB)

wlan0     Link encap:Ethernet  HWaddr 00:16:44:bc:33:8a  
          inet addr:192.168.0.11  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::216:44ff:febc:338a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9824 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10622 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9701312 (9.7 MB)  TX bytes:1504201 (1.5 MB)
iwconfig:
Code:
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"D35Broadband"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:1B:B1:8F:50:9C   
          Bit Rate=18 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=57/70  Signal level=-53 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:29  Invalid misc:265   Missed beacon:0

wlan1     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
lspci:
Code:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
02:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
02:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
02:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
02:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
02:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12)
0b:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
lsusb:
Code:
Bus 007 Device 005: ID 0a5c:4503 Broadcom Corp. 
Bus 007 Device 004: ID 0a5c:4502 Broadcom Corp. 
Bus 007 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 007 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 09da:000a A4 Tech Co., Ltd Port Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 148f:3070 Ralink Technology, Corp. 
Bus 002 Device 002: ID 0951:1607 Kingston Technology DataTraveler 100
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg:
http://pastebin.com/1aFHURED