2012-12-07 19 views
8

Chạy Ubuntu 12.04. cuối cùng đã nâng cấp từ 2,12 lên 2,15,2 hôm nay và khi tôi bắt đầu R tôi nhận được lỗi này.Nâng cấp lên R 2.15.2 không thể tải gói thống kê

Error in dyn.load(file, DLLpath = DLLpath, ...) : 
    unable to load shared object '/usr/lib/R/library/stats/libs/stats.so': 
    /usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv 
During startup - Warning message: 
package ‘stats’ in options("defaultPackages") was not found 

chỉnh sửa:

$ dpkg -l | grep "blas\|atlas" 
ii libatlas3gf-base        3.8.4-3build1         Automatically Tuned Linear Algebra Software, generic shared 
ii libblas-dev         1.2.20110419-2ubuntu1       Basic Linear Algebra Subroutines 3, static library 
ii libblas3gf          1.2.20110419-2ubuntu1       Basic Linear Algebra Reference implementations, shared library 
ii libopenblas-base        0.1alpha2.2-3         Optimized BLAS (linear algebra) library based on GotoBLAS2 
ii libopenblas-dev        0.1alpha2.2-3         Optimized BLAS (linear algebra) library based on GotoBLAS2 

Bất cứ ai khác có vấn đề này hoặc biết làm thế nào để khắc phục?

+2

Làm sao bạn nâng cấp? – Dason

+0

thêm deb http: // /bin/linux/ubuntu chính xác/kho lưu trữ. sau đó chỉ cần sudo apt-get update. sudo apt-get nâng cấp – sayhey69

+0

Vui lòng thêm vào câu hỏi của bạn đầu ra của 'dpkg -l | grep "blas \ | atlas" ' – GSee

Trả lời

9

Bạn nên gỡ bỏ cài đặt libopenblas-base

Xem này để biết thêm: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638236


Trên hộp của tôi:

$ dpkg -l | grep "blas\|atlas" 
ii libatlas-dev         3.8.4-3build1       Automatically Tuned Linear Algebra Software, C header files 
ii libatlas3gf-base        3.8.4-3build1       Automatically Tuned Linear Algebra Software, generic shared 
ii libblas-dev         1.2.20110419-2ubuntu1     Basic Linear Algebra Subroutines 3, static library 
ii libblas3gf          1.2.20110419-2ubuntu1     Basic Linear Algebra Reference implementations, shared library 
ii liblastfm0          0.4.0~really0.3.3-0ubuntu1    The Last.fm web services library 
+1

Có cách nào để các nhà bảo trì CRAN/debian quản lý xung đột này trong quy trình đóng gói không? –

+1

Cảm ơn. Đây có phải là một vấn đề phổ biến? – sayhey69

+0

@ sayhey69, tôi không biết nếu nó phổ biến. Tôi chạy vào một vấn đề tương tự khi tôi đã cài đặt mkl cách mạng, vì vậy tôi biết nơi để tìm .. – GSee

Các vấn đề liên quan