Question

Trying to install lxml-etree on Ubuntu 9.10
I learned here that I need to have libxml2-dev & libxslt-dev

When I try to install libxml2-dev, by running apt-get install libxml2-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libxml2
The following NEW packages will be installed:
  libxml2-dev
The following packages will be upgraded:
  libxml2
1 upgraded, 1 newly installed, 0 to remove and 73 not upgraded.
Need to get 1696kB of archives.
After this operation, 2830kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://archive.ubuntu.com karmic-updates/main libxml2 2.7.5.dfsg-1ubuntu1.2
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com karmic-security/main libxml2 2.7.5.dfsg-1ubuntu1.2
  404  Not Found
Err http://security.ubuntu.com karmic-security/main libxml2-dev 2.7.5.dfsg-1ubuntu1.2
  404  Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2_2.7.5.dfsg-1ubuntu1.2_amd64.deb  404  Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2-dev_2.7.5.dfsg-1ubuntu1.2_amd64.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Is this version of lxml removed ?
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2_2.7.5.dfsg-1ubuntu1.2_amd64.deb 404 Not Found

Hence I tried to run apt-get install python-lxml the way it was suggested in that thread.
But that gives me this :

Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  python-lxml-dbg
The following NEW packages will be installed:
  python-lxml
0 upgraded, 1 newly installed, 0 to remove and 74 not upgraded.
Need to get 1265kB of archives.
After this operation, 4002kB of additional disk space will be used.
Err http://archive.ubuntu.com karmic/main python-lxml 2.1.5-1ubuntu2
  404  Not Found [IP: 91.189.92.202 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/lxml/python-lxml_2.1.5-1ubuntu2_amd64.deb  404  Not Found [IP: 91.189.92.202 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Was it helpful?

Solution

Ubuntu 9.10 isn't supported anymore hence couldn't get this working. Created a new 12.04 host.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top