码迷,mamicode.com
首页 > 编程语言 > 详细

Ubuntu12.04 安装python-dev报错 Depends: libblas-common

时间:2019-04-28 17:10:47      阅读:226      评论:0      收藏:0      [点我收藏+]

标签:2.0   pac   日志   dep   sudo   ubunt   lib   amd   lists   

情况如下:
$sudo apt-get install -y libatlas3-base libgfortran3 python-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libatlas3-base is already the newest version.
You might want to run ‘apt-get -f install‘ to correct these:
The following packages have unmet dependencies:
libatlas3-base : Depends: libblas-common but it is not installable
python-dev : Depends: python2.7-dev (>= 2.7.3) but it is not going to be installed

查找该主机上报ELK中sudo日志发现dpkg安装过libatlas-bas
COMMAND=/usr/bin/dpkg -i libatlas-base-dev_3.10.3-7+b1_amd64.deb

dpki -l 查找到该名称为libatlas-base
卸载deb包
aptitude purge libatlas-base

再次安装后,无报错,python-dev包成功安装。

Ubuntu12.04 安装python-dev报错 Depends: libblas-common

标签:2.0   pac   日志   dep   sudo   ubunt   lib   amd   lists   

原文地址:https://blog.51cto.com/mengix/2386141

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!