[FoLUG] Apt problem di qualche tempo fa

chris osu chris_osu_edu@yahoo.com
Gio 12 Gen 2006 18:27:58 CET


Penso che tu debba mettere nel file apt.conf quel
numero che hai in fondo al file proxy.pac cioe' 10....
seguito da :8080
Fammi sapere come e' andata.
Ciao








--- simona bazzocchi <simona_bazzocchi@yahoo.it>
wrote:

> > prova ad aggiungere questo in /etc/apt/apt.conf:
> > 
> > Acquire::http::Proxy
> > "http://[[user][:pass]@]host[:port]";
> > Acquire::ftp::Proxy
> > "http://[[user][:pass]@]host[:port]";
> 
> 
> Ho messo in apt.conf (che ho dovuto creare perche'
> non
> c'era) il nome dell'host che ho trovato nelle
> impostazioni del proxy di Mozilla cioe'
> http://www.m...edu/proxy.pac. Il file
> /etc/apt/apt.conf e' questo:
> 
> Acquire::http::Proxy
> "http://www.m...edu/proxy.pac:80";
> Acquire::ftp::Proxy
> "http://www.m....edu/proxy.pac:80";
> 
> L-amministratore non c'e' quindi non so la porta del
> proxy (ammeso che sia un proxy). Ho provato la 80 e
> la
> 8080, ma apt-get update non va, ecco gli errori:
> 
> 
> Err http://security.debian.org stable/updates/main
> Packages
>   404 Object Not Found
> Ign http://security.debian.org stable/updates/main
> Release
> Get:1 http://http.us.debian.org stable/main Packages
> [5287B]
> Get:2 http://security.debian.org
> stable/updates/contrib Packages [5348B]
> Ign http://http.us.debian.org stable/main Release
> Ign http://security.debian.org
> stable/updates/contrib
> Release
> 99% [1 Packages gzip 0] [Waiting for headers]
> gzip: stdin: not in gzip format
> Err http://http.us.debian.org stable/main Packages
>   Sub-process gzip returned an error code (1)
> 99% [2 Packages gzip 0] [Waiting for headers]
> gzip: stdin: not in gzip format
> Err http://security.debian.org
> stable/updates/contrib
> Packages
>   Sub-process gzip returned an error code (1)
> Get:3 http://non-us.debian.org stable/non-US/main
> Packages [5496B]
> Ign http://non-us.debian.org stable/non-US/main
> Release
> 99% [Working]
> gzip: stdin: not in gzip format
> Err http://non-us.debian.org stable/non-US/main
> Packages
>   Sub-process gzip returned an error code (1)
> Err http://security.debian.org
> stable/updates/non-free
> Packages
>   0 OK
> Err http://http.us.debian.org stable/contrib
> Packages
>   0 OK
> Ign http://http.us.debian.org stable/contrib Release
> Ign http://security.debian.org
> stable/updates/non-free
> Release
> Err http://non-us.debian.org stable/non-US/contrib
> Packages
>   0 OK
> Ign http://non-us.debian.org stable/non-US/contrib
> Release
> Err http://non-us.debian.org stable/non-US/non-free
> Packages
>   0 OK
> Ign http://non-us.debian.org stable/non-US/non-free
> Release
> Err http://http.us.debian.org stable/non-free
> Packages
>   0 OK
> Ign http://http.us.debian.org stable/non-free
> Release
> Fetched 16.1kB in 2s (6990B/s)
> Failed to fetch
>
http://http.us.debian.org/debian/dists/stable/main/binary-i386/Packages.gz
>  Sub-process gzip returned an error code (1)
> Failed to fetch
>
http://http.us.debian.org/debian/dists/stable/contrib/binary-i386/Packages.gz
>  0 OK
> Failed to fetch
>
http://http.us.debian.org/debian/dists/stable/non-free/binary-i386/Packages.gz
>  0 OK
> Failed to fetch
>
http://non-us.debian.org/debian-non-US/dists/stable/non-US/main/binary-i386/Packages.gz
>  Sub-process gzip returned an error code (1)
> Failed to fetch
>
http://non-us.debian.org/debian-non-US/dists/stable/non-US/contrib/binary-i386/Packages.gz
>  0 OK
> Failed to fetch
>
http://non-us.debian.org/debian-non-US/dists/stable/non-US/non-free/binary-i386/Packages.gz
>  0 OK
> Failed to fetch
>
http://security.debian.org/dists/stable/updates/main/binary-i386/Packages.gz
>  404 Object Not Found
> Failed to fetch
>
http://security.debian.org/dists/stable/updates/contrib/binary-i386/Packages.gz
>  Sub-process gzip returned an error code (1)
> Failed to fetch
>
http://security.debian.org/dists/stable/updates/non-free/binary-i386/Packages.gz
>  0 OK
> Reading Package Lists... Done
> W: Couldn't stat source package list
> http://http.us.debian.org stable/main Packages
>
(/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_main_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list
> http://http.us.debian.org stable/contrib Packages
>
(/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_contrib_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list
> http://http.us.debian.org stable/non-free Packages
>
(/var/lib/apt/lists/http.us.debian.org_debian_dists_stable_non-free_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list
> http://non-us.debian.org stable/non-US/main Packages
>
(/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_main_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list
> http://non-us.debian.org stable/non-US/contrib
> Packages
>
(/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list
> http://non-us.debian.org stable/non-US/non-free
> Packages
>
(/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list
> http://security.debian.org stable/updates/main
> Packages
>
(/var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list
> http://security.debian.org stable/updates/contrib
> Packages
>
(/var/lib/apt/lists/security.debian.org_dists_stable_updates_contrib_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: Couldn't stat source package list
> http://security.debian.org stable/updates/non-free
> Packages
>
(/var/lib/apt/lists/security.debian.org_dists_stable_updates_non-free_binary-i386_Packages)
> - stat (2 No such file or directory)
> W: You may want to run apt-get update to correct
> these
> problems
> E: Some index files failed to download, they have
> been
> ignored, or old ones used instead.
> 
> Ho guardato dentro al file proxy.pac, ma non ho
> capito
> molto... eccolo qua:
> /*
> 
> 
> 
> If you need to make any changes to this file, please
> contact the 
> 
> Clin-Apps Web Team since this file is under source
> control.
> 
> 
> 
> File is stored in Visual Source Safe
> \\webster-rd1\vss
> ($Projects/Proxy.pac)
> 
> 
> 
> */
> 
> 
> 
> function FindProxyForURL(url, host)
> 
> {	if 	(
> 
> 		(url.substring(0,9)  == "http://rx") ||
> 
> 		(url.substring(0,23) == "http://poss.org") ||
> 
> 		(url.substring(0,20) == "http://www.p") ||		
> 
> 		(url.substring(0,25) == "http://140.....") ||
> 
> 		(url.substring(0,21) == "http://140.2...") ||
> 
> 		(url.substring(0,21) == "http://140...") ||
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Maggiori informazioni sulla lista FoLUG