![无法安装任何东西。错误“未满足的依赖项”](https://linux22.com/image/888859/%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%E4%BB%BB%E4%BD%95%E4%B8%9C%E8%A5%BF%E3%80%82%E9%94%99%E8%AF%AF%E2%80%9C%E6%9C%AA%E6%BB%A1%E8%B6%B3%E7%9A%84%E4%BE%9D%E8%B5%96%E9%A1%B9%E2%80%9D.png)
我无法在 Ubuntu 上安装任何东西。它给出了以下错误。我尝试了在不同网站上找到的所有方法,但仍然不起作用。
The following packages have unmet dependencies:
libpcap0.8-dev: Depends: libpcap0.8 (= 1.5.3-2) but 1.4.0-2 is installed
sqlite3: Depends: libreadline6 (>= 6.0) but 6.3-4ubuntu2 is installed
Depends: libsqlite3-0 (= 3.8.2-1ubuntu2.1) but 3.8.2-1ubuntu2 is installed
答案1
检查你的 Ubuntu 版本的正确存储库,然后/etc/apt/sources.list
运行:
sudo apt-get update
sudo apt-get upgrade