You are not logged in.

#1 2015-03-12 21:36:14

necbot
Member
Registered: 2013-12-05
Posts: 59

Cannot install python2-lxml package

I ran tried to install python2-lxml and got the following errors...

$ sudo pacman -S python2-lxml
resolving dependencies...
looking for conflicting packages...

Packages (1) python2-lxml-3.4.2-1

Total Installed Size:  2.96 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                 [########################################################################################] 100%
(1/1) checking package integrity                                                                                                               [########################################################################################] 100%
(1/1) loading package files                                                                                                                    [########################################################################################] 100%
(1/1) checking for file conflicts                                                                                                              [########################################################################################] 100%
error: failed to commit transaction (conflicting files)
python2-lxml: /usr/lib/python2.7/site-packages/lxml/ElementInclude.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/ElementInclude.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/__init__.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/__init__.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/_elementpath.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/_elementpath.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/builder.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/builder.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/cssselect.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/cssselect.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/doctestcompare.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/doctestcompare.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/etree.so exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/ElementSoup.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/ElementSoup.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/__init__.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/__init__.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/_diffcommand.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/_diffcommand.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/_html5builder.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/_html5builder.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/_setmixin.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/_setmixin.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/builder.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/builder.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/clean.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/clean.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/defs.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/defs.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/diff.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/diff.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/formfill.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/formfill.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/html5parser.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/html5parser.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/soupparser.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/soupparser.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/usedoctest.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/html/usedoctest.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/__init__.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/__init__.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/c14n.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/config.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/dtdvalid.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/etree_defs.h exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/etreepublic.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/htmlparser.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/lxml-version.h exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/relaxng.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/schematron.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/tree.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/uri.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/xinclude.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/xmlerror.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/xmlparser.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/xmlschema.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/xpath.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/includes/xslt.pxd exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/__init__.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/__init__.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/resources/rng/iso-schematron.rng exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/lxml.etree.h exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/lxml.etree_api.h exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/objectify.so exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/pyclasslookup.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/pyclasslookup.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/sax.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/sax.pyc exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/usedoctest.py exists in filesystem
python2-lxml: /usr/lib/python2.7/site-packages/lxml/usedoctest.pyc exists in filesystem
Errors occurred, no packages were upgraded.

I didn't install this package.  How do I resolve this?  Thanks.

Offline

#2 2015-03-12 22:00:01

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: Cannot install python2-lxml package

See https://bbs.archlinux.org/viewtopic.php?id=194113 and https://wiki.archlinux.org/index.php/Pa … 9.22_error

In short, are any of your directories symlinked? The first thread discusses the same problem caused by / being symlinked. Read the pacman wiki section on this error first and see if that helps.

Last edited by nullified (2015-03-12 22:00:40)


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#3 2015-03-12 23:40:01

necbot
Member
Registered: 2013-12-05
Posts: 59

Re: Cannot install python2-lxml package

No it is not symlinked.  I ran pacman -Qo and no other package came up.  Could it be something related to a AUR package?  I installed a few of those but I image the pacman -Qo query would have identified anything that owned those files, even if it was a AUR package.  The only thing I can think of is that maybe I installed it through pip or some other method.  I renamed the lxml folder and installed python2-lxml using pacman and there were no errors.  Hopefully that was the correct thing to do.  Time will tell...

Offline

#4 2015-03-13 00:46:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Cannot install python2-lxml package

necbot wrote:

maybe I installed it through pip or some other method...

That would account for it.


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB