Ubuntu下命令出错问题汇总

231 阅读1分钟

本文已参与「新人创作礼」活动,一起开启掘金创作之路。

在Ubuntu下运行、调试Ardupilot会碰到的错误:

1. 使用apt-get install下载过程中碰到404 Failed to Fetch

原命令: sudo apt-get install python-matplotlib python-serial python-wxgtk3.0 python-lxml

搜到的解决方案

  1. 用apt-get update ,然后再试试apt-get install 解决

2. 在使用apt install时候遇到# Could not get lock /var/lib/dpkg/lock问题

主要是因为apt还在运行

1、找到并且杀掉所有的apt-get 和apt进程

2、删除锁定文件 参考来源: blog.csdn.net/u011596455/…

3.# gpg: keyserver receive failed: Server indicated a failure

没解决