turtlebot@turtlebot-bot:~$ sudo apt-get update
Err:1 http://ports.ubuntu.com xenial InRelease Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)
Err:2 http://ports.ubuntu.com xenial-updates InRelease Unable to connect to localhost:9999:
Err:3 http://ports.ubuntu.com xenial-security InRelease Unable to connect to localhost:9999:
Err:4 http://ports.ubuntu.com xenial-backports InRelease Unable to connect to localhost:9999:
Err:5 http://ppa.launchpad.net/flexiondotorg/minecraft/ubuntu xenial InRelease Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)
Err:6 http://ppa.launchpad.net/ubuntu-mate-dev/welcome/ubuntu xenial InRelease Unable to connect to localhost:9999:
Err:7 http://packages.ros.org/ros/ubuntu xenial InRelease
Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)
Err:8 http://ppa.launchpad.net/ubuntu-mate-dev/xenial-mate/ubuntu xenial InRelease Unable to connect to localhost:9999:
Err:9 http://ppa.launchpad.net/ubuntu-pi-flavour-makers/ppa/ubuntu xenial InRelease Unable to connect to localhost:9999:
Err:10 http://ppa.launchpad.net/wireshark-dev/stable/ubuntu xenial InRelease
Unable to connect to localhost:9999: Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/dists/xenial/InRelease Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)
W: Failed to fetch http://ports.ubuntu.com/dists/xenial-updates/InRelease Unable to connect to localhost:9999:
W: Failed to fetch http://ports.ubuntu.com/dists/xenial-security/InRelease Unable to connect to localhost:9999:
W: Failed to fetch http://ports.ubuntu.com/dists/xenial-backports/InRelease Unable to connect to localhost:9999:
W: Failed to fetch http://ppa.launchpad.net/flexiondotorg/minecraft/ubuntu/dists/xenial/InRelease Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)
W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/xenial/InRelease Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)
W: Failed to fetch http://ppa.launchpad.net/ubuntu-mate-dev/welcome/ubuntu/dists/xenial/InRelease Unable to connect to localhost:9999:
W: Failed to fetch http://ppa.launchpad.net/ubuntu-mate-dev/xenial-mate/ubuntu/dists/xenial/InRelease Unable to connect to localhost:9999:
W: Failed to fetch http://ppa.launchpad.net/ubuntu-pi-flavour-makers/ppa/ubuntu/dists/xenial/InRelease Unable to connect to localhost:9999:
W: Failed to fetch http://ppa.launchpad.net/wireshark-dev/stable/ubuntu/dists/xenial/InRelease Unable to connect to localhost:9999:
W: Some index files failed to download. They have been ignored, or old ones used instead.
turtlebot@turtlebot-bot:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
PS: Я не знал культуры обмена стека. За меня вниз проголосовали 5, когда я опубликовал этот тот же вопрос в electronics.stackexchange.com, как это был вопрос от turtlebot3-burgerbot. Так или иначе я - новичок в области Linux и отчаянный для поиска ответа.Спасибо.
Ошибка
Could not connect to localhost:9999 (127.0.0.1). - connect (111: Connection refused)
говорит о том, что ваша система настроена на использование локального HTTP-прокси для apt
подключений (и что такой прокси не запущен).
Вы можете временно отменить эту настройку в командной строке, передав пустое значение Acquire::Http::Proxy=
в командной строке, например
sudo apt-get -oAcquire::Http::Proxy= update
Если это работает и вы считаете, что конфигурация прокси не подходит , то вы можете сделать настройку постоянной, найдя и закомментировав или удалив любые строки, связанные с конфигурациями прокси в вашей конфигурации apt. files - /etc/apt/apt.conf
и связанные файлы в каталоге /etc/apt/apt.conf.d/
- а также запись для HTTP, вы можете найти записи для протоколов HTTPS и / или socks.