Ubuntu has been failing for me constantly. I don't know how to handle this. I trie to upgrade through the gui and through the terminal and they both fail. Here's my latest fail. Can anyone help?

Package operation failed

The installation or removal of a software package failed.
installArchives() failed: Extracting templates from packages: 34%% Extracting templates from packages: 68%% Extracting templates from packages: 100%%
Preconfiguring packages ...
Extracting templates from packages: 34%% Extracting templates from packages: 68%% Extracting templates from packages: 100%%
Preconfiguring packages ...
Extracting templates from packages: 34%% Extracting templates from packages: 68%% Extracting templates from packages: 100%%
Preconfiguring packages ...
Extracting templates from packages: 34%% Extracting templates from packages: 68%% Extracting templates from packages: 100%%
Preconfiguring packages ...
dpkg: error: parsing file '/var/lib/dpkg/available' near line 5861 package 'libgtksourceview-3.0-common':
field name `' must be followed by colon
Error in function:
I've changed harddrives. Still no go. Browsers are failing regularly. System failing notifications regularly.