My suggestion, rather than messing around with editing and such, would be to do:dpkg --clear-avail: to clear the available list, then do:apt-get update: to repopulate it.