我有一个在我拥有的每台新机器上运行的脚本,可以安装我需要的一些东西。
由于某种原因,在装有 Ubuntu 14.04 的 dell Inspiron 3542 上,以下操作失败:
$ sudo apt-get install libamd2.2.0 libumfpack5.4.0 libatlas-sse2-dev
出现错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libatlas-sse2-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package libamd2.2.0
E: Couldn't find any package by regex 'libamd2.2.0'
E: Unable to locate package libumfpack5.4.0
E: Couldn't find any package by regex 'libumfpack5.4.0'
E: Package 'libatlas-sse2-dev' has no installation candidate
顺便说一句,我确实sudo apt-get update
先尝试过。
以前在其他电脑上,我都能用这个方法。我该如何解决这个问题?
答案1
前两个库包现在是libamd2.3.1
和libunfpack5.6.2
。至于最后一个包,libatlas-sse2-dev
是一个虚拟包,这意味着它不再作为独立包存在,但可能由其他包提供(我还没有找到)。