MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Error says Read-only file system?

    Scheduled Pinned Locked Moved Troubleshooting
    13 Posts 3 Posters 6.7k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      Iron_Reptar @Mykle1
      last edited by

      @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 says

      dpkg: 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?

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @Iron_Reptar
        last edited by

        @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

        https://github.com/MichMich/MagicMirror

        Create a working config
        How to add modules

        I 1 Reply Last reply Reply Quote 1
        • I Offline
          Iron_Reptar @Mykle1
          last edited by

          @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?

          Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Iron_Reptar
            last edited by Mykle1

            @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

            Create a working config
            How to add modules

            I 1 Reply Last reply Reply Quote 1
            • I Offline
              Iron_Reptar @Mykle1
              last edited by

              @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!!!

              Mykle1M 1 Reply Last reply Reply Quote 1
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @Iron_Reptar
                last edited by

                @Iron_Reptar

                Of course I am curious and I’m glad that you solved the problem. We both learned something, too. Anyway, enjoy your mirror!

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer @Iron_Reptar
                  last edited by cowboysdude

                  @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.

                  I 1 Reply Last reply Reply Quote 1
                  • I Offline
                    Iron_Reptar @cowboysdude
                    last edited by

                    @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 :P

                    For 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.

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 1 / 2
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy