[ https://issues.apache.org/jira/browse/MESOS-7494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005092#comment-16005092 ]
Neil Conway commented on MESOS-7494: ------------------------------------ [~mihait] -- how did you install Mesos? > Issues if trying to install python2.7 after installing mesos > ------------------------------------------------------------ > > Key: MESOS-7494 > URL: https://issues.apache.org/jira/browse/MESOS-7494 > Project: Mesos > Issue Type: Bug > Affects Versions: 1.2.0 > Reporter: Mihai Turcu > Priority: Minor > > root@prod-mesos-slave-02:~# apt-get install python2.7-minimal > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following packages were automatically installed and are no longer > required: > libpython-stdlib linux-headers-4.4.0-71 linux-headers-4.4.0-71-generic > linux-image-4.4.0-71-generic linux-image-extra-4.4.0-71-generic > Use 'apt autoremove' to remove them. > Suggested packages: > binfmt-support > The following NEW packages will be installed: > python2.7-minimal > 0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded. > 5 not fully installed or removed. > Need to get 0 B/1,295 kB of archives. > After this operation, 3,670 kB of additional disk space will be used. > (Reading database ... 161088 files and directories currently installed.) > Preparing to unpack .../python2.7-minimal_2.7.12-1ubuntu0~16.04.1_amd64.deb > ... > focus on below lines > ---- > 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 > ------ > dpkg: error processing archive > /var/cache/apt/archives/python2.7-minimal_2.7.12-1ubuntu0~16.04.1_amd64.deb > (--unpack): > subprocess new pre-installation script returned error exit status 1 > Errors were encountered while processing: > /var/cache/apt/archives/python2.7-minimal_2.7.12-1ubuntu0~16.04.1_amd64.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > I've encountered this issue on a clean install of Ubuntu 16.04.2 LTS. Install > vm, apt-get update && apt-get upgrade, install docker engine, install mesos > then try to install python-minimal or python2.7. > The dpkg should simply write everything to the dist-packages folder. -- This message was sent by Atlassian JIRA (v6.3.15#6346)