yum Falha na conexão com o proxy: 407 no redhat 6.5

1

Eu continuo recebendo yum conexão proxy falha erro 407, embora pareça que yum é capaz de alcançar com sucesso o proxy.

Eu tenho o log de executar o yum abaixo com maior depuração e erro para fazer o comando list packages :

# yum -d 10 -e 10 --rpmverbosity debug --enablerepo=\* list packages
Not loading "rhnplugin" plugin, as it is disabled
Loading "product-id" plugin
Loading "security" plugin
Loading "subscription-manager" plugin
Running "config" handler for "security" plugin
Running "config" handler for "subscription-manager" plugin
Updating Subscription Management repositories.
Proxy connection failed: 407
Config time: 0.202
Yum Version: 3.2.29
COMMAND: yum -d 10 -e 10 --rpmverbosity debug --enablerepo=* list packages
Installroot: /
Ext Commands:

   packages
Setting up Package Sacks
epel-debuginfo/metalink                                                                                                                                   | 2.4 kB     00:00
epel-debuginfo                                                                                                                                            | 3.0 kB     00:00
epel-debuginfo/primary_db                                                                                                                                 | 675 kB     00:00
epel-source/metalink                                                                                                                                      | 2.4 kB     00:00
epel-source                                                                                                                                               | 3.5 kB     00:00
epel-source/primary_db                                                                                                                                    | 1.8 MB     00:00
epel-testing/metalink                                                                                                                                     | 3.0 kB     00:00
Using older repomd.xml
  Latest: Sat May  6 05:04:26 2017
  Using: Fri May  5 22:12:48 2017
epel-testing                                                                                                                                              | 4.3 kB     00:00
epel-testing/primary_db                                                                                                                                   | 362 kB     00:00
epel-testing-debuginfo/metalink                                                                                                                           | 3.0 kB     00:00
epel-testing-debuginfo                                                                                                                                    | 3.0 kB     00:00
epel-testing-debuginfo/primary_db                                                                                                                         |  22 kB     00:00
epel-testing-source/metalink                                                                                                                              | 3.0 kB     00:00
epel-testing-source                                                                                                                                       | 3.5 kB     00:00
epel-testing-source/primary_db                                                                                                                            |  90 kB     00:00
rhel-source                                                                                                                                               | 2.6 kB     00:00 ...
rhel-source/primary_db                                                                                                                                    | 2.0 MB     00:04 ...
rhel-source-beta                                                                                                                                          | 1.3 kB     00:00 ...
rhel-source-beta/primary                                                                                                                                  |  214 B     00:00 ...
rpmfusion-free-updates-debuginfo                                                                                                                          | 3.0 kB     00:00
rpmfusion-free-updates-debuginfo/primary_db                                                                                                               |  16 kB     00:00
rpmfusion-free-updates-source                                                                                                                             | 3.0 kB     00:00
rpmfusion-free-updates-source/primary_db                                                                                                                  |  30 kB     00:00
rpmfusion-free-updates-testing                                                                                                                            | 3.6 kB     00:00
rpmfusion-free-updates-testing/primary_db                                                                                                                 | 1.3 kB     00:00
rpmfusion-free-updates-testing-debuginfo                                                                                                                  | 3.0 kB     00:00
rpmfusion-free-updates-testing-debuginfo/primary_db                                                                                                       | 1.3 kB     00:00
rpmfusion-free-updates-testing-source                                                                                                                     | 2.9 kB     00:00
rpmfusion-free-updates-testing-source/primary_db                                                                                                          | 1.3 kB     00:00
rpmfusion-nonfree-updates-debuginfo                                                                                                                       | 3.0 kB     00:00
rpmfusion-nonfree-updates-debuginfo/primary_db                                                                                                            | 4.9 kB     00:00
rpmfusion-nonfree-updates-source                                                                                                                          | 3.0 kB     00:00
rpmfusion-nonfree-updates-source/primary_db                                                                                                               | 7.3 kB     00:00
rpmfusion-nonfree-updates-testing                                                                                                                         | 3.6 kB     00:00
rpmfusion-nonfree-updates-testing/primary_db                                                                                                              | 1.3 kB     00:00
rpmfusion-nonfree-updates-testing-debuginfo                                                                                                               | 3.0 kB     00:00
rpmfusion-nonfree-updates-testing-debuginfo/primary_db                                                                                                    | 1.3 kB     00:00
rpmfusion-nonfree-updates-testing-source                                                                                                                  | 2.9 kB     00:00
rpmfusion-nonfree-updates-testing-source/primary_db                                                                                                       | 1.3 kB     00:00
webtatic-archive                                                                                                                                          | 2.9 kB     00:00
webtatic-archive/primary_db                                               92% [===========================================================     ] 343 kB/s | 2.3 MB     00:00 ETA

Está tudo bem ignorar esse erro? O yum impactou em sua funcionalidade de alguma forma e, em caso afirmativo, como devo corrigi-lo?

Eu já configurei o proxy corretamente através de variáveis de ambiente (http_proxy, ftp_proxy, etc) e também via /etc/yum.conf

Eu sei que a configuração do proxy está correta porque o yum é capaz de listar pacotes como acima. E há até uma barra de progresso refletindo para o download.

    
por user55570 06.05.2017 / 05:08

1 resposta

0

Tente remover as variáveis environmnet para as entradas do proxy / yum.conf etc. e insira os detalhes do proxy em /etc/rhsm/rhsm.conf.

    
por 03.05.2018 / 16:47

Tags