[ubuntu] sources.list in TU-Netz [solved]

Tummelplatz für Computernutzer im allgemeinen und ihrer vielfältigen Probleme

Moderator: (M) Mod.-Team Allgemein

Antworten
Benutzeravatar
petryxa
TalkING. Freak
TalkING. Freak
Beiträge: 108
Registriert: Sa, 28. Okt. 06, 22:53
Kontaktdaten:

[ubuntu] sources.list in TU-Netz [solved]

Beitrag von petryxa » Fr, 19. Nov. 10, 15:56

Moin alle,

ich habe auf meinem Laptop ubuntu
thinkpad@thinkpad:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
und ich wollte gerne die "apt-get" mit tu-wlan nutzen.
ftps sind ja gesprerrt.

was soll man in /etc/apt/sources.list schreiben?


so siehts mein source.list aus
deb http://de.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid universe
deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://de.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://archive.canonical.com/ lucid partner
deb http://de.archive.ubuntu.com/ubuntu/ lucid-proposed restricted main multiverse universe
deb http://ppa.launchpad.net/jason-scheunemann/ppa/ubuntu karmic main

und das kriege ich, wenn ich was "sudo apt-get install" will:(
sudo apt-get install freecad
[sudo] password for thinkpad:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libsphinxbase1 libeet1 libxsettings-client0 libevas-svn-05-engines-core libevas-svn-05 libeina-svn-05
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libboost-signals1.40.0 libcoin60 libopencascade-foundation-6.3.0 libopencascade-modeling-6.3.0 libsoqt4-20 libxerces-c28 libzipios++0c2a python-opengl python-pivy
python-qt4-gl
Suggested packages:
freecad-doc libsimage-dev libopenal0a python-tk libgle3
The following NEW packages will be installed:
freecad libboost-signals1.40.0 libcoin60 libopencascade-foundation-6.3.0 libopencascade-modeling-6.3.0 libsoqt4-20 libxerces-c28 libzipios++0c2a python-opengl
python-pivy python-qt4-gl
0 upgraded, 11 newly installed, 0 to remove and 17 not upgraded.
Need to get 29.3MB of archives.
After this operation, 95.7MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
libboost-signals1.40.0 libcoin60 libsoqt4-20 libzipios++0c2a python-opengl python-qt4-gl libopencascade-foundation-6.3.0 libopencascade-modeling-6.3.0 libxerces-c28
freecad python-pivy
Install these packages without verification [y/N]? y
Err http://de.archive.ubuntu.com/ubuntu/ lucid/main libboost-signals1.40.0 1.40.0-4ubuntu4
Could not connect to de.archive.ubuntu.com:80 (141.76.2.130). - connect (110: Connection timed out) [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe libcoin60 3.1.2-1
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe libsoqt4-20 1.4.2~svn20090224-2
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe libzipios++0c2a 0.1.5.9+cvs.2007.04.28-5
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe python-opengl 3.0.0-0ubuntu1
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe python-qt4-gl 4.7.2-0ubuntu1
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe libopencascade-foundation-6.3.0 6.3.0.dfsg.1-4
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe libopencascade-modeling-6.3.0 6.3.0.dfsg.1-4
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe libxerces-c28 2.8.0+deb1-2build1
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe freecad 0.9.2646.5-1
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Err http://de.archive.ubuntu.com/ubuntu/ lucid/universe python-pivy 0.5.0~svn765-2
Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Could not connect to de.archive.ubuntu.com:80 (141.76.2.130). - connect (110: Connection timed out) [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... u1_all.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Could not connect to de.archive.ubuntu.com:80 (141.76.2.130). - connect (110: Connection timed out) [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... u1_all.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
Failed to fetch http://de.archive.ubuntu.com/ubuntu/poo ... _amd64.deb Unable to connect to de.archive.ubuntu.com:http: [IP: 141.76.2.130 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
danke!
Zuletzt geändert von petryxa am Fr, 19. Nov. 10, 18:49, insgesamt 1-mal geändert.
---------------------------------------
TUHH wächst Bib und Mensa leider nicht=(

and here blog for Russian sailors:)
http://community.livejournal.com/yachting_rus/

Benutzeravatar
NightStalker
TalkING. Champion
TalkING. Champion
Beiträge: 891
Registriert: Mo, 21. Okt. 02, 20:40
Wohnort: Downloadbereich

Beitrag von NightStalker » Fr, 19. Nov. 10, 16:38

Proxysettings für Konsolenprogramme werden über eine Umgebungsvariable definiert.
Auch auf die Gefahr hin, dass ich als Klugscheißer dastehe :P

http://www.tu-harburg.de/rzt/net/public ... cache.html

Ganz unten auf der Seite müsste es sein. Vielleicht heißt die Variable auch anders bei Ubuntu und wahrscheinlich muß man export statt setenv benutzen .... mußt mal probieren, aber mit der Info solltest du zumindest weitersuchen können. Ich kanns leider nicht testen, da ich keinen Zugang ins TU-Lan mehr habe ;)

/edit: wußte ich es doch ...
http://blog.mypapit.net/2006/02/how-to- ... ebian.html

/edit2: hat die TU nicht mal irgendwann auf transparente Proxies umgestellt ??? Dann ist das wahrscheinlich gar nicht das Problem ... :?
-- Chrząszcz brzmi w trzcinie w Szczebrzeszynie.
-- 好好学习,天天向上!

Benutzeravatar
petryxa
TalkING. Freak
TalkING. Freak
Beiträge: 108
Registriert: Sa, 28. Okt. 06, 22:53
Kontaktdaten:

Beitrag von petryxa » Fr, 19. Nov. 10, 18:53

danke NightStalker!

ich habe es so gelöst.

im Terminal eingeben (oder in .bashrc reinschreiben)
export http_proxy=http://localhost:8080 && export https_proxy=http://localhost:8080 && export ftp_proxy=http://localhost:8080 && export HTTP_PROXY=$http_proxy && export HTTPS_PROXY=$https_proxy && export FTP_PROXY=$ftp_proxy
---------------------------------------
TUHH wächst Bib und Mensa leider nicht=(

and here blog for Russian sailors:)
http://community.livejournal.com/yachting_rus/

da_seeb
TalkING. Superposter
TalkING. Superposter
Beiträge: 377
Registriert: Di, 21. Jun. 05, 11:00

Beitrag von da_seeb » Sa, 20. Nov. 10, 13:09

Also bei mir läuft das seit einiger Zeit ohne Proxy...

Harry
Moderator
Moderator
Beiträge: 799
Registriert: Do, 19. Jun. 03, 14:34
Wohnort: ::1
Kontaktdaten:

Beitrag von Harry » So, 21. Nov. 10, 11:44

Ich hätte es bei apt-get jetzt nicht über die Umgebungsvariablen *tp_proxy gemacht, sondern über einen Eintrag in /etc/atp/apt.conf:

Acquire::http::Proxy "http://proxy.adresse.de:port";
Acquire::ftp::Proxy "http://proxy.adresse.de:port";

Antworten