Read the statement by Michael Teeuw here.
Error says Read-only file system?
-
@Mykle1 Okay, I’ll give it another shot. Thanks again!
-
@Mykle1
I just cleaned everything up and went step by step through the instructions I mentioned before (even bypassing NOOBS and downloading Raspbian directly then flashing it to my sd card, but I was only able to get as far as$ sudo apt full-upgrade
, during which it fails. It runs for a while then towards the end it saysdpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_MEASUREMENT': Read-only file system
dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_TELEPHONE': Read-only file system
dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_ADDRESS': Read-only file system
dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_NAME': Read-only file system
dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_PAPER': Read-only file system
dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES': Read-only file system
dpkg: error while cleaning up: unable to restore backup version of '/usr/lib/locale/C.UE: Sub-process /usr/bin/dpkg returned an error code (2)
E: Problem executing scrpits DPkg::Post-Invoke 'usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null'
E:Sub-process returned an error code
My entire desktop has gone grey, all icons at the top (cmd, chromium, woflram, etc.) are just blank file images that don’t do anything…
Do you have any advice on fixing this? Do you think it could be a problem with the sd card itself and I need to get a new one? -
@Iron_Reptar said in Error says Read-only file system?:
Do you think it could be a problem with the sd card itself and I need to get a new one?
Funny you should mention that. One of the developers here has been troubleshooting a problem for weeks. As it turns out, his problem was a bad SD card reader, so anything is possible. At least it’s an inexpensive way to eliminate that possibilty.
Now, if you’re doing things the same way and expecting a different result, then, I don’t know what to tell you. These are the 2 most reliable ways of getting MM up and running on your Pi.
https://forum.magicmirror.builders/topic/236/complete-setup-tutorial
-
@Mykle1
I’m about to go return my sd card and see if I can’t get another, but wanted to make sure before I mess with the new one that I’m even formatting it right.
I’m using the program “SDFormatter”, setting the Format type to “Full (Erase)” and the Format Size Adjustment to “ON”
Does that sound right to you? -
@Iron_Reptar said in Error says Read-only file system?:
I’m using the program “SDFormatter”, setting the Format type to “Full (Erase)” and the Format Size Adjustment to “ON”
Does that sound right to you?Preparing the SD card
Thanks to @KirAsh4, here is an excellent walkthrough on preparing your SD Card, using SDFormatter.
https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/2 -
@Mykle1
In case you were curious at all (or someone in the future finds this), it turns out it was a problem with the micro sd card. The one I had was a 32 gig Lexar micro sd card. I took it back to the store and swapped it out for a 32 gig SanDisk mico sd and this one has been working perfectly.Thanks again for all of your help, you’re awesome!!!
-
Of course I am curious and I’m glad that you solved the problem. We both learned something, too. Anyway, enjoy your mirror!
-
@Iron_Reptar said in Error says Read-only file system?:
@Mykle1
I’m about to go return my sd card and see if I can’t get another, but wanted to make sure before I mess with the new one that I’m even formatting it right.
I’m using the program “SDFormatter”, setting the Format type to “Full (Erase)” and the Format Size Adjustment to “ON”
Does that sound right to you?Yes sir that is correct.
As I have also just found out that a USB port on a computer can also give you fits… If there’s problems writing to a card I’d try another port or another machine… ;) I realize the SD card was bad but is the exception generally.
-
@cowboysdude
I think I got lucky with it actually being the micro-SD card. I’ve been using a SD card adapter to fit into the SD slot in my computer, and unfortunately there’s only one of those on my laptop :PFor some reason, when I had the old card, formatting it (even when it was completely empty and fresh out of the box) took at least half an hour. Now with the new one it only took about 5 minutes.