I have the same problem running Feisty 7.10 on a custom-built Intel Pentium D. 
I was using apt-get autoremove to clean out uneeded packages when my system 
crashed and I had to restart; I've been having problems with my hard drive 
(Western Digital Raptor / WDC WD1500ADFD-0 Version: 20.0) and fsck revealed a 
lot of bad sectors, so I'm pretty sure that the file did in fact get corrupted 
when I had to reset my system during apt-get's operation.
Here is my error message (the 'available' file (889K) is attached as well; 
there is binary code at the end and in the middle, so I'm going to restore the 
file from backup and see what happens):

[EMAIL PROTECTED]:~$ uname -a
Linux freerick-desktop 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 
x86_64 GNU/Linux


[EMAIL PROTECTED]:~$ sudo apt-get install clamav
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  lha clamav-docs
The following NEW packages will be installed:
  clamav
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/874kB of archives.
After unpacking 1323kB of additional disk space will be used.
dpkg: parse error, in file `/var/lib/dpkg/available' near line 1:
 field name `79435.442510]' must be followed by colon
Running prelink, please wait...
E: Sub-process /usr/bin/dpkg returned an error code (2)


** Attachment added: "/var/lib/dpkg/available' -- corrupted"
   http://librarian.launchpad.net/7640913/available.gz

-- 
Bogus chars in "available" file after upgrade
https://bugs.launchpad.net/bugs/64012
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to