操作系统:Ubuntu 16.04 LTS(Canonical)每次我都会收到相同的错误消息。即使我在终端中运行任何命令,仍然会收到相同的错误消息。所以最后我决定直接从网上下载并尝试运行。但下载页面也无法正常工作。我甚至无法重新安装它。
E:需要重新安装 geoip-database-extra 包,但我找不到它的存档。
apt-get install upgrade Reading package lists... Done Building dependency tree Reading state information... Done E: The package geoip-database-extra needs to be reinstalled, but I can't find an archive for it.
输出来自:- apt-cache policy geoip-database-extra
geoip-database-extra: Installed: 20160408-1 Candidate: 20160408-1 Version table: *** 20160408-1 100 100 /var/lib/dpkg/status
提前致谢。
答案1
该geoip-database-extra
包位于宇宙部分,你应该启用它
sudo add-apt-repository universe
然后更新包缓存并重新安装包
sudo apt-get update
sudo apt-get install --reinstall geoip-database-extra