1

I've created a fresh SD card with the weezy 2014年6月20日 image. And follow these instructions to update.

So after the freshly created image boots, I issue:

sudo apt-get update
sudo apt-get upgrade

And this is the result:

dpkg: error while cleaning up:
 unable to securely remove '/var/lib/dpkg/tmp.ci': Read-only file system
dpkg: error while cleaning up:
 unable to securely remove '/var/lib/dpkg/reassemble.deb': Read-only file system
dpkg: error processing /var/cache/apt/archives/multiarch-support_2.13-38+rpi2+deb7u3_armhf.deb (--unpack):
 cannot access archive: No such file or directory
Processing triggers for man-db ...
dpkg: unrecoverable fatal error, aborting:
 unable to flush updated status of `man-db': Read-only file system
E: Sub-process /usr/bin/dpkg returned an error code (2)
pi@raspberrypi ~ $

What can I possibly be doing wrong?

Ghanima
16k17 gold badges66 silver badges127 bronze badges
asked Aug 6, 2014 at 21:31

1 Answer 1

6

Turns out I needed to expand the file system to make space for the updates..

answered Aug 7, 2014 at 6:52

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.