在Ubuntu中,RMongo安装失败并出现Segmentation Fault [英] RMongo installation fails with Segmentation Fault in Ubuntu
问题描述
我已经尝试了几个小时,尝试安装具有以下输出的 RMongo 软件包:
I've been for last couple of hours trying to install the RMongo package with the following output:
> install.packages("RMongo")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://repo.bppt.go.id/cran/src/contrib/RMongo_0.0.25.tar.gz'
Content type 'application/x-gzip' length 4169519 bytes (4.0 MB)
==================================================
downloaded 4.0 MB
* installing *source* package ‘RMongo’ ...
** package ‘RMongo’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Segmentation fault (core dumped)
ERROR: loading failed
* removing ‘/usr/local/lib/R/site-library/RMongo’
The downloaded source packages are in
‘/tmp/RtmpHZoomn/downloaded_packages’
Warning message:
In install.packages("RMongo") :
installation of package ‘RMongo’ had non-zero exit status
我还发现了尝试安装 xlsx 的相同错误.
I've also identified the same error trying to install xlsx.
我不知道过去发行版中发生了什么变化,因为我已经在Ubuntu 16.04.2和Ubuntu 17.04上进行了尝试,但结果相同.
I don't know what has changed in the past distros, since I've tried this with Ubuntu 16.04.2 and Ubuntu 17.04, with the same result.
这是Ubuntu 16.04.2发行版中R环境的描述:
This is a description of the R environment in the Ubuntu 16.04.2 distro:
> sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.2 LTS
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=es_ES.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=es_ES.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=es_ES.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.0 tools_3.4.0 tcltk_3.4.0
关于可能发生的事情的任何想法吗?
Any idea about what can be happening?
推荐答案
linux-image-3.13.0-121-generic和linux-image-4.4.0-81-generic包含针对
linux-image-3.13.0-121-generic and linux-image-4.4.0-81-generic contain a fix for the Stack Clash vulnerability.
请小心使用可修复此漏洞的内核更新.当前补丁破坏了许多Java(sun/oracle和openjdk)应用程序.参见错误#1699772:linux-image-4.4.0-81-generic,linux-image-3.13.0 -121通用回归:许多用户空间应用崩溃了.解决方案是使用旧内核(Trusty中的linux-image-3.13.0-119-generic)临时重启系统.
Be careful with kernel updates, which fix this vulnerability. Current patch breaks many java (sun/oracle and openjdk) applications. See Bug #1699772: linux-image-4.4.0-81-generic, linux-image-3.13.0-121-generic Regression: many user-space apps crashing. The solution is to temporary reboot system with old kernel (linux-image-3.13.0-119-generic in Trusty).
Ubuntu内核开发人员将在几天.
Ubuntu kernel developers will prepare new patch in a few days.
更新:最新更新(至少image-4.4.0-83-generic,linux-image-4.8.0-58-generic,linux-image-4.10.0-26-generic )修复此漏洞以及用户空间程序的问题.
UPDATE: Latest updates (at least image-4.4.0-83-generic, linux-image-4.8.0-58-generic, linux-image-4.10.0-26-generic) fix this vulnerability and problems with user-space programs.
这篇关于在Ubuntu中,RMongo安装失败并出现Segmentation Fault的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!