• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.5k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @Iron_Reptar
    last edited by Jun 15, 2017, 12:27 AM

    @Iron_Reptar

    NOOBS just makes installation easier. It’s still raspbian, and if Jessie is what it is installing then I would say that is just fine. I did my first Pi3 that way, too.

    Actually, I would have recommended the “thisdavej” url to you. It’s easy to understand and direct. I could not do a better job explaining it. Take your time and follow the directions precisely.

    There is also this page by “thisavej” that you might want to read.

    http://thisdavej.com/upgrading-to-more-recent-versions-of-node-js-on-the-raspberry-pi/

    Create a working config
    How to add modules

    I 2 Replies Last reply Jun 15, 2017, 12:36 AM Reply Quote 1
    • I Offline
      Iron_Reptar @Mykle1
      last edited by Jun 15, 2017, 12:36 AM

      @Mykle1 Okay, I’ll give it another shot. Thanks again!

      1 Reply Last reply Reply Quote 0
      • I Offline
        Iron_Reptar @Mykle1
        last edited by Jun 15, 2017, 4:27 AM

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

        M 1 Reply Last reply Jun 15, 2017, 11:13 AM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @Iron_Reptar
          last edited by Jun 15, 2017, 11:13 AM

          @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 Jun 15, 2017, 9:47 PM Reply Quote 1
          • I Offline
            Iron_Reptar @Mykle1
            last edited by Jun 15, 2017, 9:47 PM

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

            M C 2 Replies Last reply Jun 15, 2017, 11:52 PM Reply Quote 1
            • M Offline
              Mykle1 Project Sponsor Module Developer @Iron_Reptar
              last edited by Mykle1 Jun 15, 2017, 11:52 PM Jun 15, 2017, 11:52 PM

              @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 Jun 16, 2017, 3:50 AM Reply Quote 1
              • I Offline
                Iron_Reptar @Mykle1
                last edited by Jun 16, 2017, 3:50 AM

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

                M 1 Reply Last reply Jun 16, 2017, 11:15 AM Reply Quote 1
                • M Offline
                  Mykle1 Project Sponsor Module Developer @Iron_Reptar
                  last edited by Jun 16, 2017, 11:15 AM

                  @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
                  • C Offline
                    cowboysdude Module Developer @Iron_Reptar
                    last edited by cowboysdude Jun 16, 2017, 11:19 AM Jun 16, 2017, 11:17 AM

                    @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 Jun 16, 2017, 1:06 PM Reply Quote 1
                    • I Offline
                      Iron_Reptar @cowboysdude
                      last edited by Jun 16, 2017, 1:06 PM

                      @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
                      1 / 2
                      • First post
                        8/13
                        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