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



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





--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • RE: Problem installing on Mother board
    ... I've seen slackware builds tank like this because the CD is corrupt. ... We are trying to install Redhat version 9.0 on the following hardware: ... but then claims it can't find vmlinuz. ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • Re: A circular reference exists - Error
    ... Before you install sp2, if you have archived ... If you can't corrupt the file, ... "binaryboyz" wrote: ... how do I check Infrastructure update for Project 2007? ...
    (microsoft.public.project)
  • Re: rerpair corrupt SOFTWARE hive on different partition
    ... If the software hive is corrupt, it may be possible to rename the software hive found in; ... To start the Recovery Console, start the computer from the Windows 2000 Setup CD or the Windows 2000 Setup floppy disks. ... Note If the registry is corrupted or missing or no valid installations are found, the Recovery Console starts in the root of the startup volume without requiring a password. ... Since you have a parallel install you can of course use the temp install to perform the file copy. ...
    (microsoft.public.win2000.registry)
  • Re: 4 CONSECUTIVE CORRUPT DISK DISASTERS WITH WIN2K
    ... Disk and drive controller. ... The application install is responsible for placing the shortcuts. ... Microsoft MVP [Windows] ... unreadable / corrupt. ...
    (microsoft.public.win2000.general)
  • Re: Last security updates crash computer
    ... all the security patches in safe mode. ... Nevertheless I had to install all programs: ... They corrupt yur computer. ... How can I undo all the security updates. ...
    (microsoft.public.windowsxp.general)