Ошибка apt-get update с использованием автоматической настройки прокси-сервера

Я использую Ubuntu 10.4.04 LTS в VMware5. Я использовал автоматическую настройку прокси-сервера, и я могу использовать интернет из firefox. Когда я хотел обновить apt-get update, я получаю следующие ошибки. Следующая ссылка дает некоторое решение, но у меня нет номера порта, поскольку я использую автоматический прокси https://answers.launchpad.net/uck/+question/108860.

Ошибка: [ ! d2]

Ign http security.ubuntu.com lucid-security multiverse Packages              
Ign http security.ubuntu.com lucid-security multiverse Sources               
Ign http security.ubuntu.com lucid-security main Packages                                  
Err http security.ubuntu.com lucid-security main Packages                    
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http security.ubuntu.com lucid-security/restricted Packages              
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http security.ubuntu.com lucid-security/main Sources                     
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http security.ubuntu.com lucid-security/restricted Sources               
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http security.ubuntu.com lucid-security/universe Packages
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
W: Failed to fetch http security.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http security.ubuntu.com/ubuntu/dists/lucid-security/main/i18n/Translation-en_US.bz2  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http security.ubuntu.com/ubuntu/dists/lucid-security/restricted/i18n/Translation-en_US.bz2  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

Спасибо за ваш ответ!

1
задан 7 June 2013 в 15:10

1 ответ

Теперь он работает!

По какой-то причине мой прокси-url не подключается, но я открыл proxy.pac и добавил ВСЕ прокси-адреса в apt.conf.

0
ответ дан 24 May 2018 в 21:19

Другие вопросы по тегам:

Похожие вопросы: