I've pulled the flash drive, and ran e2fsck on it, correcting the errors that it found. I also emptied out a number of corrupt .list files, as suggested earlier. This is the error I get now:
# apt-get --reinstall install coreutils Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 60 not upgraded. 1 not fully installed or removed. Need to get 0B/3181kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? (Reading database ... 21229 files and directories currently installed.) Preparing to replace coreutils 5.97-5.3 (using .../coreutils_5.97-5.3_arm.deb) ... Unpacking replacement coreutils ... dpkg: error processing /var/cache/apt/archives/coreutils_5.97-5.3_arm.deb (--unpack): unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/md5sums': Is a directory Errors were encountered while processing: /var/cache/apt/archives/coreutils_5.97-5.3_arm.deb E: Sub-process /usr/bin/dpkg returned an error code (1) On Mon, Jan 19, 2009 at 7:14 AM, Eric Higgins <erichigg...@gmail.com> wrote: > I'm not too worried about losing anything. It's an embedded device > which runs off a flash drive, and its only purpose is to act as a file > server for a mounted USB drive. I've checked the drive and it's fine, > but its entirely possible the flash drive has been corrupted. > > # cat /var/lib/dpkg/info/wamerican.postinst > #!/bin/sh > set -e > # Automatically added by installdeb-wordlist > > . /usr/share/debconf/confmodule > SCRIPT="/usr/sbin/update-default-wordlist" > > if [ "$1" = "configure" ] ; then > if [ -x "$SCRIPT" ]; then > $SCRIPT --rebuild > else > echo "Error: $SCRIPT not present or executable. Missing dependency on > dictionaries-common?" >&2 > exit 1 > fi > fi > # End automatically added section > > On Sun, Jan 18, 2009 at 11:14 PM, Daniel Burrows <dburr...@debian.org> wrote: >> On Sun, Jan 18, 2009 at 07:37:29PM -0800, Eric Higgins >> <erichigg...@gmail.com> was heard to say: >>> Ah ha, now we are getting somewhere: >>> >>> It looks like the coreutils.list file has a script instead of a >>> filelist. How do I go about fixing this for my system? >> >> It looks like it got replaced by the postinst for wamerican. You >> could just replace it with an empty file and then reinstall coreutils, >> but you should be aware that this is probably some sort of filesystem >> corruption. It's possible that this is the only thing that's wrong >> and that you won't see any more problems, but I wouldn't count on it. >> It's probably a good idea to back up any important data just in case >> the situation gets worse. >> >> Just out of curiosity: what happened to the postinst for wamerican? >> It should be /var/lib/dpkg/info/wamerican.postinst. >> >> Daniel >> >> >> -- >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org >> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org >> >> > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org