我正在使用 ubuntu12.04,无法安装工具和包,显示错误

我正在使用 ubuntu12.04,无法安装工具和包,显示错误
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ninja 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

deepak@ubuntu:~$ sudo apt-get install cscope
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package cscope 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

它显示这些类型的错误

答案1

这应该可以修复它:

sudo apt-get clean
sudo mv /var/lib/apt/lists /tmp
sudo apt-get clean
sudo apt-get update

然后重试。

相关内容