Ubuntu

Update Manager fail

Asked by WayneRyker on 2012-07-21

Running 10.04, went to update (using Update Manager) in preparation to upgrade through 10-11-12 and was successful in getting all the package updates d/l'd (135 of 137, 2 duplicates in the repositories were identified), watched them "preconfiguring" then got this:

dpkg: parse error, in file '/var/lib/dpkg/available' near line 12088 package 'libfontconfig1':
 `Depends' field, reference to `fontconfig-config': version contains ` '
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
dpkg: parse error, in file '/var/lib/dpkg/available' near line 12088 package 'libfontconfig1':
 `Depends' field, reference to `fontconfig-config': version contains ` '

Lather, rinse, repeat ... starts from scratch suggesting nothing had been updated ... am severely linux impaired, but can follow instructions!
Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-07-23
Last query:
2012-07-23
Last reply:
2012-07-22

sudo grep -R proxy /etc/apt/*
sudo fuser -vvv /var/lib/dpkg/lock
cat /etc/lsb-release
uname -a
sudo rm /var/lib/apt/lists/lock
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
sudo dpkg --configure -a
sudo dpkg --clear-avail
LANG=C;sudo apt-get -f install
LANG=C;sudo apt-get --fix-missing install
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

WayneRyker (ironheart) said : #2

Thanks actionparsnip, that solved my question.

WayneRyker (ironheart) said : #3

You shall never be homeless nor hungry on the Big Island! Aloha!