title: Raspberry Pi 3 returns input/output error and crashes system when trying to update on 64GB card
body: <p>I'm trying to set up my Raspberry Pi with a 64GB micro-SD card using the image file <code>2018-04-18-raspbian-stretch-lite</code>.</p>
  <p>Every time I try to update or install software on the card, the system gives me the following error message:</p>
  <pre><code>dpkg: unrecoverable fatal error, aborting:
  unable to sync directory '/var/lib/dpkg/updates/': Input/output error
  E: Sub-process /usr/bin/dpkg returned an error code (2)
  W: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: Read-only file system)
  </code></pre>
  <p>The system then refuses to run any more programs and I cannot access the system again after I log out. (I normally access my Raspberry Pi via SSH.) I've checked the filesystem on the card, as per <a href="https://www.raspberrypi.org/documentation/installation/sdxc_formatting.md" rel="nofollow noreferrer">this article</a>, and Disk Utility is telling me the card is FAT32, so that doesn't seem to be the issue; and besides the article says the card shouldn't even boot up the first time if I was using the wrong filesystem.</p>
  <p>I have tried installing Raspbian on two different 64GB cards now and have got the same result on both. Additionally, I tried doing the same thing on a 16GB card and it worked normally.</p>