[ https://issues.apache.org/jira/browse/MESOS-6923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822390#comment-15822390 ]
Alan Scherger commented on MESOS-6923: -------------------------------------- this hack seems to work: {code} mv /usr/lib/python2.7/site-packages /tmp/ apt-get install python-minimal mv /tmp/site-packages /usr/lib/python2.7/site-packages {code} > mesos 1.0.1-2.0.94.ubuntu1604 + python 2.7 install == no bueno > --------------------------------------------------------------- > > Key: MESOS-6923 > URL: https://issues.apache.org/jira/browse/MESOS-6923 > Project: Mesos > Issue Type: Improvement > Affects Versions: 1.0.1 > Reporter: Alan Scherger > > When you install the mesos package on xenial we drop files into: > # ls -al /usr/lib/python2.7/site-packages/ > total 64 > drwxr-xr-x 9 root root 4096 Sep 21 02:54 . > drwxr-xr-x 4 root root 12288 Jan 13 21:28 .. > drwxr-xr-x 6 root root 4096 Jan 13 21:02 mesos > drwxrwxr-x 2 root root 4096 Sep 21 02:54 mesos-1.0.1.dist-info > drwxrwxr-x 2 root root 4096 Sep 21 02:54 mesos.cli-1.0.1.dist-info > -rw-rw-r-- 1 root root 302 Sep 2 03:02 mesos.cli-1.0.1-py2.7-nspkg.pth > drwxrwxr-x 2 root root 4096 Sep 21 02:54 mesos.executor-1.0.1.dist-info > -rw-rw-r-- 1 root root 302 Sep 2 03:02 mesos.executor-1.0.1-py2.7-nspkg.pth > drwxrwxr-x 2 root root 4096 Sep 21 02:54 mesos.interface-1.0.1.dist-info > -rw-rw-r-- 1 root root 302 Sep 2 03:02 > mesos.interface-1.0.1-py2.7-nspkg.pth > drwxrwxr-x 2 root root 4096 Sep 21 02:54 mesos.native-1.0.1.dist-info > -rw-rw-r-- 1 root root 302 Sep 2 03:02 mesos.native-1.0.1-py2.7-nspkg.pth > drwxrwxr-x 2 root root 4096 Sep 21 02:54 mesos.scheduler-1.0.1.dist-info > -rw-rw-r-- 1 root root 302 Sep 2 03:02 > mesos.scheduler-1.0.1-py2.7-nspkg.pth > when you got to install "python-minimal" after the fact it fails with: > new installation of python2.7-minimal; /usr/lib/python2.7/site-packages is a > directory > which is expected a symlink to /usr/local/lib/python2.7/dist-packages. > please find the package shipping files in /usr/lib/python2.7/site-packages and > file a bug report to ship these in /usr/lib/python2.7/dist-packages instead > aborting installation of python2.7-minimal > idk if we care, but it makes my life :sadpanda: -- This message was sent by Atlassian JIRA (v6.3.4#6332)