[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get upgrade error: package `coreutils' contains empty filename ?



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 <dburrows@debian.org> wrote:
> On Sun, Jan 18, 2009 at 07:37:29PM -0800, Eric Higgins <erichiggins@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-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


Reply to: