I get this error while running sudo apt-get update
Hit http://mirrordirector.raspbian.org wheezy InRelease
Hit http://archive.raspberrypi.org wheezy InRelease
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Get:1 http://mirrordirector.raspbian.org wheezy/main armhf Packages [7379 kB]
100% [1 Packages 7379 kB/7379 kB 100%]Failed to exec method /usr/lib/apt/methods/bzip2
E: Method bzip2 has died unexpectedly!
E: Sub-process bzip2 returned an error code (100)
E: Method /usr/lib/apt/methods/bzip2 did not start correctly
What can it be? This is what I have in my /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
RaspBMC
and it containsdeb http://archive.raspbian.org/raspbian wheezy main contrib non-free
in/etc/apt/sources.list
– HeatfanJohn Nov 10 '12 at 19:26apt-get upgrade
first? Looks like it's an error with your mirrorlist. – Jivings Nov 11 '12 at 14:00LANG=C
to disable your locales and get English error messages. It would be good if you could then update the question with English error messages. Secondly please checkdmesg
command output to see if there is no traces about segfaults. Also usedf
to check if you have space left on your disks. – Krzysztof Adamski Nov 15 '12 at 08:45bzip2
command is working OK. Try compressing some random file and then decompress it. – Krzysztof Adamski Nov 15 '12 at 08:50dmesg
[28765.227866] EXT4-fs error (device mmcblk0p2): ext4_iget:3939: inode #7937: comm find: bogus i_mode (72157)
it was also suggested on raspberry forum to reinstall apt packages manuallysudo wget http://archive.raspbian.org/raspbian/pool/main/a/apt/libapt-pkg4.12_0.9.7.6+rpi1_armhf.deb sudo wget http://archive.raspbian.org/raspbian/pool/main/a/apt/apt_0.9.7.6+rpi1_armhf.deb sudo dpkg -i libapt-pkg4.12_0.9.7.6+rpi1_armhf.deb apt_0.9.7.6+rpi1_armhf.deb
but this lead to some other errors. – G3z Nov 15 '12 at 23:11