Blogghete
2017-08-10 05:50 deepin
You must to specify the credentials for the proxy Server, probably.
URL: https://codepoets.co.uk/2014/debian-http_proxy-setting/
http://:@:
Run these commands: >>>
Copy the Code
Debian sid http_proxy setting (so its ok for deepin)
Need to set a HTTP proxy within a Debian system ?
Assuming your proxy server is on and listening on port <ORT>, then the below may help …
( If you need authentication you can use username:password@ like you would in an old style web browser – e.g. http://username:password@:<ORT>. )
/etc/profile.d/proxy.sh
Add /etc/profile.d/proxy.sh containing
export http_proxy=http://:<ORT>
/etc/apt/apt.conf.d/99HttpProxy
Add /etc/apt/apt.conf.d/99HttpProxy containing
Acquire::http:roxy "http://:<ORT>";
/etc/wgetrc
Edit /etc/wgetrc and add
http_proxy = http://:<ORT>
(some system commands rely on wget, and may not otherwise use an environment variable, e.g. debootstrap; the http_proxy setting should be present by default but commented out).
(This is all, in a round about way, relayed to the http proxy security vulnerability announced in July 2016 – see httpoxy.org for more info)
URL: https://codepoets.co.uk/2014/debian-http_proxy-setting/
http://
Run these commands: >>>
- su -
- export http_proxy="http://
\ : @ : "
- export https_proxy=$http_proxy
- export ftp_proxy=$http_proxy
- export HTTP_PROXY=$http_proxy
- export HTTPS_PROXY=$http_proxy
- export FTP_PROXY=$http_proxy
Debian sid http_proxy setting (so its ok for deepin)
Need to set a HTTP proxy within a Debian system ?
Assuming your proxy server is on
( If you need authentication you can use username:password@ like you would in an old style web browser – e.g. http://username:password@
/etc/profile.d/proxy.sh
Add /etc/profile.d/proxy.sh containing
export http_proxy=http://:<ORT>
/etc/apt/apt.conf.d/99HttpProxy
Add /etc/apt/apt.conf.d/99HttpProxy containing
Acquire::http:roxy "http://
/etc/wgetrc
Edit /etc/wgetrc and add
http_proxy = http://
(some system commands rely on wget, and may not otherwise use an environment variable, e.g. debootstrap; the http_proxy setting should be present by default but commented out).
(This is all, in a round about way, relayed to the http proxy security vulnerability announced in July 2016 – see httpoxy.org for more info)
Reply Like 0 View the author
Err:1 http://packages.deepin.com/deepin unstable InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Obter:2 http://repository.spotify.com stable InRelease [3.877 B]
Err:2 http://repository.spotify.com stable InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Baixados 7.762 B em 7s (1.091 B/s)
Lendo listas de pacotes... Pronto
E: Falhou ao buscar http://packages.deepin.com/deepin/dists/unstable/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Falhou ao buscar http://repository.spotify.com/dists/stable/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.