Hi everyone!
I had a perfectly working raspberry pi for a week until I decided to do the sudo apt-get update and sudo apt-get upgrade for the first time. The update part was fine but I got an error on the upgrade part opening some package. After trying few options (none of them worked), I decided to reinstall everything since it is a fresh rbpi and I wanted it clean.
Now, I tried different solutions (Noobs, Noobs lite, Berryboot, because I want to dual boot with openelec) and I CANT pass the upgrade command. It always fails and end with an input/output error after which I need to unplug the rbpi manually because it is not responding anymore. I looked on every possible forum and never got the answer to my problem.
I think it might come from my SD card : a 64 GB Lexar class 10 card. (I wanted lot of space to use it as a media center + try plenty of different stuff on raspbian) That's because when I boot, even the first time. I get a FAILED flag at LSB line saying : could not expand root filesystem to fill the SD card (something like that...)
So the last thing I tried are the following :
- Format the SD card on my mac with disk utility to MS-DOS or use ApplePi-Baker to format it
- Download berryboot and drag everything into the SD card
- Boot and install openelec + last version of raspbian from berryboot menu
- activate ssh
- run sudo apt-get update then sudo apt-get upgrade
The error I get is the following :
Preparing to unpack .../ca-certificates_20141019+deb8u3_all.deb ...
Unpacking ca-certificates (20141019+deb8u3) over (20141019+deb8u1) ...
dpkg: error processing archive /var/cache/apt/archives/ca-certificates_20141019+deb8u3_all.deb (--unpack):
unable to sync file '/usr/share/ca-certificates/mozilla/Comodo_Secure_Services_root.crt.dpkg-new': Input/output error
Last time I did it, same thing happened with tzdata package... I tried to clear the archives files and reinstall tzdata, erase the tzdata lines in /var/lib/dpkg/status file then reinstall...none of those worked.
Can anyone help me?
Thanks!