Tipptrainer
Chow Loong Jin
hyperair at ubuntu.com
Sun Mar 7 08:05:25 GMT 2010
On Sunday 07,March,2010 05:14 AM, Jer Hopkins wrote:
> Hi
> I am having the following problems with Tipptrainer:
>
> dpkg: parse error, in file '/var/lib/dpkg/available' near line 15149
> package 'typptrainer':
> `Depends' field, reference to `0tipptrainer-datQ-en': version contains ` '
> E: Sub-process /usr/bin/dpkg returned an error code (2)
>
> I cannot remove Tipptrainer using either software center, apt-get or
> synaptic.The error is stopping Ubuntu system updates from installing.
>
> I have also posted a question on Launchpad but the answers I have
> received have not worked.
>
> Please help!
This is not a problem with the package. There is some disk corruption in the
file /var/lib/dpkg/available. That file does not really serve much use anyway,
so just truncate it to a zero-length file. That should resolve the issue. The
command is:
sudo truncate --size=0 /var/lib/dpkg/available /var/lib/dpkg/available-old
If you want to fully regenerate this file properly, use this command instead:
apt-cache dumpavail | sudo tee /var/lib/dpkg/available > /dev/null
However, doing this tends to make dpkg take a lot of memory to do anything,
since dpkg likes to read in the entire contents of /var/lib/dpkg/available
before doing anything.
--
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/ubuntu-motu/attachments/20100307/5b057f8a/attachment.pgp
More information about the Ubuntu-motu
mailing list