I am having some troubles with apt-get. I did an apt-get update and an apt-get upgrade. Some dependencies did not download, and so I had to do `apt-get -f install` to fix that. The thing is I get an error about /var/lib/dpkg/available
root@hayek:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
e2fsprogs
Suggested packages:
gpart parted e2fsck-static
The following packages will be upgraded:
e2fsprogs
1 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
Need to get 0 B/955 kB of archives.
After this operation, 26.6 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Reading changelogs... Done
dpkg: error: parsing file '/var/lib/dpkg/available' near line 43223 package 'libatk1.0-0':
duplicate value for `Package' field
E: Sub-process /usr/bin/dpkg returned an error code (2)
It seems that the apt-get update has corrupted the database of available packages. I might just be able to run apt-get update tommorow and find the problem gone. The thing is I cannot install any new packages while I wait.