Pacotes não são atualizados após o problema do apt-get

2

Eu queria fazer pip install , mas diz:

/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: 
InsecurePlatformWarning: A true SSLContext object is not available.

Isso evita que o urllib3 configure o SSL adequadamente e pode fazer com que certas conexões SSL falhem. Você pode atualizar para uma versão mais recente do Python para resolver isso. Para obter mais informações, consulte o link .

Então eu notei que foram relased uma nova versão python da biblioteca de criptografia. Queria atualizar meu sistema através do synaptic. O instalador estava preso ao instalar o bind9 (parando o serviço bind9). Parei o processo, reiniciei o meu sistema. Depois disso, o apt-get não diz que o Python precisa ser atualizado, mas a instalação do pip ainda não funciona.

Eu não acho que isso esteja relacionado à atualização do pip:

sudo -H pip2 install --upgrade pip

/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
    
por Federico Ponzi 18.02.2017 / 15:30

0 respostas