Configuração APT (com proxy) no Debian 8 Jessie

1. Configuração APT (com proxy) no Debian 8 Jessie

Carlos Alberto Ribeiro da Silva Junior
junin_cwb

(usa Debian)

Enviado em 07/12/2015 - 16:43h

Tarde nobres colegas!

Estou tendo dificuldades em configurar o apt-get com proxy *autenticado" nessa nova versão stable do debian 8, na versão anterior que eu utilizava, debian 6 (wheezy, se não estou enganado) realiza configurações no /etc/environement e também no apt.conf, pesquisando, cheguei a conclusão que havia mudado a forma desta configuração, foi criado o arquivo /etc/apt/apt.conf.d/01Proxy com o seguinte conteúdo,


Acquire::http::proxy "http://user:passwd@proxyserv:port";
Acquire::ftp::proxy "ftp://user:passwd@proxyserv:port";
Acquire::https::proxy "https://user:passwd@proxyserv:port";


e o arquivo /etc/environement


export http_proxy=http://username:password@proxy:port
export ftp_proxy=ftp://username:password@proxy:port
export https_proxy=https://username:password@proxy:port



no /etc/apt/source.list


# Atualizações de Segurança
# Security updates
deb http://security.debian.org/">http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/">http://security.debian.org/ jessie/updates main contrib non-free

## Espelho Debian

# Base de dados do repositório
# Base repository
deb http://ftp.debian.org/debian">http://ftp.debian.org/debian jessie main contrib non-free
deb-src http://ftp.debian.org/debian">http://ftp.debian.org/debian jessie main contrib non-free

# Atualizações estáveis
# Stable updates
deb http://ftp.debian.org/debian">http://ftp.debian.org/debian jessie-updates main contrib non-free
deb-src http://ftp.debian.org/debian">http://ftp.debian.org/debian jessie-updates main contrib non-free

# backports estáveis
# Stable backports
deb http://ftp.debian.org/debian">http://ftp.debian.org/debian jessie-backports main contrib non-free
deb-src http://ftp.debian.org/debian">http://ftp.debian.org/debian jessie-backports main contrib non-free



e ao tentar atualiza o apt...


root@faspmserv:/# apt-get update
Ign http://security.debian.org jessie/updates InRelease
Ign http://ftp.debian.org jessie InRelease
Ign http://ftp.debian.org jessie-updates InRelease
Ign http://security.debian.org jessie/updates Release.gpg
Ign http://ftp.debian.org jessie-backports InRelease
Ign http://security.debian.org jessie/updates Release
Ign http://ftp.debian.org jessie Release.gpg
Ign http://ftp.debian.org jessie-updates Release.gpg
Ign http://ftp.debian.org jessie-backports Release.gpg
Ign http://ftp.debian.org jessie Release
Ign http://ftp.debian.org jessie-updates Release
Ign http://ftp.debian.org jessie-backports Release
Err http://security.debian.org jessie/updates/main Sources
403 Forbidden
Err http://security.debian.org jessie/updates/contrib Sources
403 Forbidden
Err http://security.debian.org jessie/updates/non-free Sources
403 Forbidden
Err http://security.debian.org jessie/updates/main amd64 Packages
403 Forbidden
Err http://security.debian.org jessie/updates/contrib amd64 Packages
403 Forbidden
Err http://security.debian.org jessie/updates/non-free amd64 Packages
403 Forbidden
Ign http://security.debian.org jessie/updates/contrib Translation-pt_BR
Ign http://security.debian.org jessie/updates/contrib Translation-pt
Ign http://security.debian.org jessie/updates/contrib Translation-en
Ign http://security.debian.org jessie/updates/main Translation-pt_BR
Ign http://security.debian.org jessie/updates/main Translation-pt
Ign http://security.debian.org jessie/updates/main Translation-en
Ign http://security.debian.org jessie/updates/non-free Translation-pt_BR
Ign http://security.debian.org jessie/updates/non-free Translation-pt
Ign http://security.debian.org jessie/updates/non-free Translation-en
Err http://ftp.debian.org jessie/main Sources
403 Forbidden
Err http://ftp.debian.org jessie/contrib Sources
403 Forbidden
Err http://ftp.debian.org jessie/non-free Sources
403 Forbidden
Err http://ftp.debian.org jessie/main amd64 Packages
403 Forbidden
Err http://ftp.debian.org jessie/contrib amd64 Packages
403 Forbidden
Err http://ftp.debian.org jessie/non-free amd64 Packages
403 Forbidden
Ign http://ftp.debian.org jessie/contrib Translation-pt_BR
Ign http://ftp.debian.org jessie/contrib Translation-pt
Ign http://ftp.debian.org jessie/contrib Translation-en
Ign http://ftp.debian.org jessie/main Translation-pt_BR
Ign http://ftp.debian.org jessie/main Translation-pt
Ign http://ftp.debian.org jessie/main Translation-en
Ign http://ftp.debian.org jessie/non-free Translation-pt_BR
Ign http://ftp.debian.org jessie/non-free Translation-pt
Ign http://ftp.debian.org jessie/non-free Translation-en
Err http://ftp.debian.org jessie-updates/main Sources
403 Forbidden
Err http://ftp.debian.org jessie-updates/contrib Sources
403 Forbidden
Err http://ftp.debian.org jessie-updates/non-free Sources
403 Forbidden
Err http://ftp.debian.org jessie-updates/main amd64 Packages
403 Forbidden
Err http://ftp.debian.org jessie-updates/contrib amd64 Packages
403 Forbidden
Err http://ftp.debian.org jessie-updates/non-free amd64 Packages
403 Forbidden
Ign http://ftp.debian.org jessie-updates/contrib Translation-pt_BR
Ign http://ftp.debian.org jessie-updates/contrib Translation-pt
Ign http://ftp.debian.org jessie-updates/contrib Translation-en
Ign http://ftp.debian.org jessie-updates/main Translation-pt_BR
Ign http://ftp.debian.org jessie-updates/main Translation-pt
Ign http://ftp.debian.org jessie-updates/main Translation-en
Ign http://ftp.debian.org jessie-updates/non-free Translation-pt_BR
Ign http://ftp.debian.org jessie-updates/non-free Translation-pt
Ign http://ftp.debian.org jessie-updates/non-free Translation-en
Err http://ftp.debian.org jessie-backports/main Sources
403 Forbidden
Err http://ftp.debian.org jessie-backports/contrib Sources
403 Forbidden
Err http://ftp.debian.org jessie-backports/non-free Sources
403 Forbidden
Err http://ftp.debian.org jessie-backports/main amd64 Packages
403 Forbidden
Err http://ftp.debian.org jessie-backports/contrib amd64 Packages
403 Forbidden
Err http://ftp.debian.org jessie-backports/non-free amd64 Packages
403 Forbidden
Ign http://ftp.debian.org jessie-backports/contrib Translation-pt_BR
Ign http://ftp.debian.org jessie-backports/contrib Translation-pt
Ign http://ftp.debian.org jessie-backports/contrib Translation-en
Ign http://ftp.debian.org jessie-backports/main Translation-pt_BR
Ign http://ftp.debian.org jessie-backports/main Translation-pt
Ign http://ftp.debian.org jessie-backports/main Translation-en
Ign http://ftp.debian.org jessie-backports/non-free Translation-pt_BR
Ign http://ftp.debian.org jessie-backports/non-free Translation-pt
Ign http://ftp.debian.org jessie-backports/non-free Translation-en
W: Falhou ao buscar http://security.debian.org/">http://security.debian.org/dists/jessie/updates/main/source/Sources 403 Forbidden

W: Falhou ao buscar http://security.debian.org/">http://security.debian.org/dists/jessie/updates/contrib/source/Sources 403 Forbidden

W: Falhou ao buscar http://security.debian.org/">http://security.debian.org/dists/jessie/updates/non-free/source/Sources 403 Forbidden

W: Falhou ao buscar http://security.debian.org/">http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://security.debian.org/">http://security.debian.org/dists/jessie/updates/contrib/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://security.debian.org/">http://security.debian.org/dists/jessie/updates/non-free/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie/main/source/Sources 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie/contrib/source/Sources 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie/non-free/source/Sources 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie/main/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie/contrib/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie/non-free/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-updates/main/source/Sources 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-updates/contrib/source/Sources 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-updates/non-free/source/Sources 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-updates/contrib/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-updates/non-free/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-backports/main/source/Sources 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-backports/contrib/source/Sources 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-backports/non-free/source/Sources 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-backports/contrib/binary-amd64/Packages 403 Forbidden

W: Falhou ao buscar http://ftp.debian.org/debian">http://ftp.debian.org/debian/dists/jessie-backports/non-free/binary-amd64/Packages 403 Forbidden

E: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.




alguém passou por isso? Poderia me dar uma força?



Muito Obrigado
Carlos


  


2. Re: Configuração APT (com proxy) no Debian 8 Jessie





Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts