kanotix.com

Nicht mehr aktuelle Beiträge - Braucht apt-get eine Proxyangabe?

mitok - 31.07.2006, 04:27 Uhr
Titel: Braucht apt-get eine Proxyangabe?
Eine Frage zu apt-get:
ich kann meine Kanotix-Festplatteninstallation (Easter RC2) nicht updaten bzw. keine Pakete hinzufügen.
"apt-get update" wird abgebrochen wg. Zeitüberschreitung.
Ich gehe über einen Proxy ins Netz- muß ich diesen irgendwo eintragen, damit ich über die bash eine Verbindung bekomme?
Wenn ich aber die entsprechende Adresse (141.76.2.4) anpinge, kommt als Antwort: "From 10.8.3.126 icmp_seq=116 Packet filtered".
Oder habe ich vielleicht ein FTP-Zugriffsproblem? Per Internet kann ich aber auf FTP-Server zugreifen.
Mozilla und KDE Explorer machen keine Probleme, OpenOffice läßt dagegen auch keine Online-Wörterbuchinstallation zu.

Danke, mitok.
Boregard - 31.07.2006, 07:17 Uhr
Titel: RE: Braucht apt-get eine Proxyangabe?
siehe
http://kanotix.com/index.php?name=PNphpBB2&file=viewtopic&t=17905&highlight=
mitok - 31.07.2006, 16:10 Uhr
Titel: Proxy Authentication
Danke für den Link.

Ich kann >Acquire::http::Proxy "http://ip.dein.proxy:port" < nicht in die apt.conf einfügen, ohne daß sich apt-get über >müll nach dem wert< beschwert.

Die zweite Lösung, >export http_proxy="http://10.8.1.70:3128"< im Bash, bringt mir als Fehlermeldung nach dem apt-get update: >407 Proxy Authentication Required<.

Ich muß, um ins Internet zu kommen, meinen Benutzernamen und mein Passwort angeben. Muss ich dies in der apt.conf oder sonstwo hinterlegen?
Oder liegt das Problem ganz woanders?
Holger-K - 01.08.2006, 13:01 Uhr
Titel:
Hallo mitok,

man apt.conf

THE ACQUIRE GROUP
...
http HTTP URIs; http::Proxy is the default http proxy to use. It is in the standard form
of http://[[user][:pass]@]host[:port]/. Per host proxies can also be specified by
using the form http::Proxy::<host> with the special keyword DIRECT meaning to use no
proxies. The http_proxy environment variable will override all settings.
mitok - 03.08.2006, 05:03 Uhr
Titel:
Danke-
ich habe es hinbekommen!
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007