我无法在 raspbian 上安装某些软件包。在尝试安装 ristretto、links2、pqiv、fim 软件包时,我收到以下错误“无法检测软件包”
$ sudo apt-get install ristretto
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: unable to locate package ristretto
$ sudo apt-get install links2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: unable to locate package links2
$ sudo apt-get install fim
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: unable to locate package fim
在尝试安装 fbi 时,出现以下错误
已经尝试过 sudo apt-get update 命令。
现在已经卡住了。这些软件包应该位于 raspbian 存储库中。
无法弄清楚可能发生了什么导致此问题!
答案1
谢谢@goldilocks,@terdon:这似乎是错误。
按照建议,我看了一下我的树莓派/etc/apt/sources.list
,它有这样一行:
deb http://archive.raspberrypi.org/debian/ wheezy main
我用线替换了它
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
跑了sudo-apt get update
,所有包现在都可以正常加载了。