Public bug reported:

Ubuntu: trusty 14.04

The python2 and python3 packages for the networkx library should
(presumably) be co-installable, but currently contain a common set of
files that cause whichever is installed second to fail.

python-networkx: 1.8.1-0ubuntu3
python3-networkx: 1.8.1-0ubuntu3

$ sudo apt-get install python{,3}-networkx
[ ... ]
dpkg: error processing archive 
/var/cache/apt/archives/python3-networkx_1.8.1-0ubuntu3_all.deb (--unpack):
 trying to overwrite 
'/usr/share/doc/python-networkx/examples/basic/read_write.py', which is also in 
package python-networkx 1.8.1-0ubuntu3

While the library is installed in /usr/lib/pythonX.Y/dist-packages in
each case, both attempt to install (I think identical)
documentation/examples to /usr/share/doc/python-networkx, causing the
collision.

I assume either a python 2/3 independent documentation package is
needed, or the python3 package needs to change the directory into which
it installs documentation. There seem to be a number of other python3-
prefixed directories in /usr/share/doc, so this wouldn't be
unprecedented.

This bug was not present in Saucy (python-networkx 1.7-2,
python3-networkx 1.7-2), in which the python3 version contains no
documentation.

** Affects: python-networkx (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-networkx in Ubuntu.
https://bugs.launchpad.net/bugs/1285611

Title:
  python-networkx and python3-networkx conflict

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-networkx/+bug/1285611/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to