none
Error installing mkl RRS feed

  • Question

  • I can't install MKL on Ubuntu 16. I've tried both the ./install.sh and the deb but I always have the same error: 

    <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {font-variant-ligatures: no-common-ligatures} </style>

    Preparing to unpack .../microsoft-r-open-mkl-3.3.deb ...

    mv: cannot stat ‘/usr/lib64/microsoft-r/3.3/lib64/R/backup/lib/*.so’: No such file or directory

    dpkg: warning: subprocess old pre-removal script returned error exit status 1

    dpkg: trying script from the new package instead ...

    rm: cannot remove ‘/usr/lib64/microsoft-r/3.3/lib64/R/lib/*.so’: No such file or directory

    mv: cannot stat ‘/usr/lib64/microsoft-r/3.3/lib64/R/backup/lib/*.so’: No such file or directory

    dpkg: error processing archive deb/microsoft-r-open-mkl-3.3.deb (--install):

     subprocess new pre-removal script returned error exit status 1

    mv: cannot stat ‘/usr/lib64/microsoft-r/3.3/lib64/R/lib/*.so’: No such file or directory

    cp: cannot stat ‘/usr/lib64/microsoft-r/3.3/lib64/R/backup/lib/libR.so’: No such file or directory

    This also creates a problem if I try to uninstall MKL. 

    Any idea?

    Thanks!


    Wednesday, December 7, 2016 10:16 PM

Answers

  • We have attempted to reproduce your problem, but have not been able to.

    Can you please tell us whether you have 'extended globbing' enabled in Bash on your system?

    See 'http://www.linuxjournal.com/content/bash-extended-globbing'.

    If extended globbing is enabled, you might see unexpected behavior.

    You can check the current state of globbing on your system with the following command:

    'shopt -p'

    I would suggest that you try disabling extended globbing if it is enabled('%shopt -s nullglob')

    and then try running the MRO installer again, after doing this.

    Let us know, if this works.

    Stephen Weller

    Microsoft R Open Product Team

    Wednesday, January 11, 2017 9:53 PM

All replies

  • We have attempted to reproduce your problem, but have not been able to.

    Can you please tell us whether you have 'extended globbing' enabled in Bash on your system?

    See 'http://www.linuxjournal.com/content/bash-extended-globbing'.

    If extended globbing is enabled, you might see unexpected behavior.

    You can check the current state of globbing on your system with the following command:

    'shopt -p'

    I would suggest that you try disabling extended globbing if it is enabled('%shopt -s nullglob')

    and then try running the MRO installer again, after doing this.

    Let us know, if this works.

    Stephen Weller

    Microsoft R Open Product Team

    Wednesday, January 11, 2017 9:53 PM
  • Hi,

    I have excactly the same problem. I've swithed off extended globbing:

    root@localhost:~/src/microsoft-r-open/deb# shopt -p|grep glob
    shopt -u dotglob
    shopt -u extglob
    shopt -u failglob
    shopt -u globstar
    shopt -u globasciiranges
    shopt -u nocaseglob
    shopt -u nullglob
    

    still, can neither uninstall nor install mkl.

    my system is:

    root@localhost:~/src/microsoft-r-open/deb# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 16.04.2 LTS
    Release:        16.04
    Codename:       xenial
    

    Any and all help appreciated. Thank you,

    Wednesday, February 22, 2017 4:14 PM