Raspbian Stretch和minicom安装错误

时间:2018-03-30 13:12:43

标签: raspberry-pi apt-get stretch

我用拉伸的RsPi 3。 我想安装minicom repo,但我发现了一个错误:

 sudo apt-get install minicom

结果如下:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  lrzsz
The following NEW packages will be installed:
  lrzsz minicom
0 upgraded, 2 newly installed, 0 to remove and 35 not upgraded.
Need to get 250 kB/332 kB of archives.
After this operation, 1,090 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://mirrors.ircam.fr/pub/raspbian/raspbian stretch/main armhf minicom armhf 2.7-1.1
  403  Forbidden [IP: 129.102.1.37 80]
E: Failed to fetch http://mirrors.ircam.fr/pub/raspbian/raspbian/pool/main/m/minicom/minicom_2.7-1.1_armhf.deb  403  Forbidden [IP: 129.102.1.37 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

这是source.list文件:

pi@telma:~ $ cat /etc/apt/sources.list deb
http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi 
pi@telma:~ $

有没有人有安装minicom的解决方案?

1 个答案:

答案 0 :(得分:0)

我想使用评论,但我的代表还不够......

您还有sudo apt-get updatesudo apt-get dist-upgrade吗? 这解决了我的问题。

不知何故,我需要在dist-upgrade之后再次sudo apt-get update来安装minicom。因此,如果sudo apt-get install minicom告诉您无法找到minicom,您可能希望再次运行sudo apt-get update