我在install- depth .sh的依赖项安装步骤中得到一些错误脚本。
Building dependency tree
Reading state information... Done
E: Unable to locate package ceph-libboost-atomic1.79-dev
E: Couldn't find any package by glob 'ceph-libboost-atomic1.79-dev'
E: Couldn't find any package by regex 'ceph-libboost-atomic1.79-dev'
E: Unable to locate package ceph-libboost-chrono1.79-dev
E: Couldn't find any package by glob 'ceph-libboost-chrono1.79-dev'
E: Couldn't find any package by regex 'ceph-libboost-chrono1.79-dev'
E: Unable to locate package ceph-libboost-container1.79-dev
E: Couldn't find any package by glob 'ceph-libboost-container1.79-dev'
E: Couldn't find any package by regex 'ceph-libboost-container1.79-dev'
E: Unable to locate package ceph-libboost-context1.79-dev
E: Couldn't find any package by glob 'ceph-libboost-context1.79-dev'
E: Couldn't find any package by regex 'ceph-libboost-context1.79-dev'
E: Unable to locate package ceph-libboost-coroutine1.79-dev
E: Couldn't find any package by glob 'ceph-libboost-coroutine1.79-dev'
E: Couldn't find any package by regex 'ceph-libboost-coroutine1.79-dev'
E: Unable to locate package ceph-libboost-date-time1.79-dev
E: Couldn't find any package by glob 'ceph-libboost-date-time1.79-dev'
E: Couldn't find any package by regex 'ceph-libboost-date-time1.79-dev'
E: Unable to locate package ceph-libboost-filesystem1.79-dev
E: Couldn't find any package by glob 'ceph-libboost-filesystem1.79-dev'
E: Couldn't find any package by regex 'ceph-libboost-filesystem1.79-dev'
E: Unable to locate package ceph-libboost-iostreams1.79-dev
E: Couldn't find any package by glob 'ceph-libboost-iostreams1.79-dev'
E: Couldn't find any package by regex 'ceph-libboost-iostreams1.79-dev'
E: Unable to locate package ceph-libboost-program-options1.79-dev
我试着运行apt-get update,然后运行apt-get install -f,但错误仍然存在。另外,我尝试使用ubuntu aptitude安装依赖项
这里只需要很少的输入。谢谢!
经过大量的调试,我发现在更新ca证书后上述错误都解决了。请查看下面的命令:
sudo update-ca-certificates