Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been updating my amazon ec2 micro instance every month till now. when i try to "yum update" i receive this error :

zlib-1.2.5-7.11.amzn1.x86_64 has installed conflicts libxml2 < ('0', '2.7.7', None): libxml2-2.7.6-4.12.amzn1.x86_64

zlib-1.2.5-7.11.amzn1.x86_64 is a duplicate with zlib-1.2.3-27.9.amzn1.x86_64

yum update output:

I've tried to update separately zlib and libxml2

  • zlib: same "duplicate" error.

  • libxml2: Transaction Check Error: package libxml2-2.7.8-10.24.amzn1.x86_64 is already installed

what can i do?

share|improve this question
I wouldn't use "Amazon Linux." From everything I've seen it's incredibly buggy, and this sort of thing happens all the time. – Michael Hampton Nov 20 '12 at 23:24

Solved by yum erase'ing all duplicate/obsolete packages.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.