libxml2 dependency problem
I'm running 12.04 Precise. 'uname -a' gives this:
Linux puka 3.2.0-77-generic #114-Ubuntu SMP Tue Mar 10 17:26:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I was downloading 'pandora-build' from the Software Center and got a message saying I had a libxml2-dev dependency problem.
The system offered to repair it, but failed. It gave me this:
"The package system is broken
"Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f"
I removed a recently added third party repository (openscad). There were no others in /etc/apt/
The 'Details' of the package manaager said this:
"The following packages have unmet dependencies:
"libglade2-dev: Depends: libglade2-0 (= 1:2.6.4-1ubuntu1.1) but 1:2.6.4-1ubuntu1.1 is installed
'sudo apt-get -f install' resulted in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libxml2-dev
The following NEW packages will be installed:
libxml2-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/805 kB of archives.
After this operation, 2,759 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 551905 files and directories currently installed.)
Unpacking libxml2-dev (from .../libxml2-
dpkg: error processing /var/cache/
'./usr/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
'sudo apt-get purge libxml2-dev' told me:
Package libxml2-dev is not installed, so not removed
Running 'sudo apt-get install libxml2-dev' yielded this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libxml2-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/805 kB of archives.
After this operation, 2,759 kB of additional disk space will be used.
(Reading database ... 551905 files and directories currently installed.)
Unpacking libxml2-dev (from .../libxml2-
dpkg: error processing /var/cache/
'./usr/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Mmmmm How to recover?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu libxml2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Kent McNaughton
- Solved:
- Last query:
- Last reply: