Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Download der distfiles im Internetcaffee VERBESSERUNGSVORSCH
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
JoHo42
l33t
l33t


Joined: 14 Feb 2004
Posts: 956
Location: Germany

PostPosted: Thu Sep 14, 2006 2:27 pm    Post subject: Download der distfiles im Internetcaffee VERBESSERUNGSVORSCH Reply with quote

Hi Leute,

ich weiß nicht wie ich den Titel am besten von diesem Beitrag beschreiben
soll.
Momentan lebe ich ohne Standleitung. Ich habe nur eine Modemverbindung
und damit irgendwas über 1 MB runterzuladen geht garnicht.
Damit das Gentoo Linux trotzdem auf dem aktuellen stand bleibt,
gehe ich schon mal mit einem USB Stick ins Internetcaffee.
Den aktuellen Portage hohlen ist kein Problem.
Allerdings das Updaten der Programm ist ein Problem.
Da ich aus den ganzen Distfiles nicht weiß, welche ich brauche
muß ich jedes Programm einzelnt mit:
emerge -uva --nodeps --oneshot gcc
Nachschauen, welche Dateien dieses runterladen möchte.
Ich speichere die Adresse auf den USB Stick und im Internetcaffee
lade ich mir die Datei runter und kopiere diese dann in meine
distifiles.

Es wäre vielleicht sinvoll das portage eine Liste von
distfiles ausgibt in Form einer HTML Datei in der alle
zu Dateien mit adresse zum Download drin stehen.
So könnte man diese Datei ins Internetcaffee nehmen und
die Dateien auf einen USB Stick runterladen.
Das wäre auch für alle die interessant, die hinter einer
Firewall leben und vielleicht keinen FTP zugang haben.

Gruss Jörg
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Thu Sep 14, 2006 2:49 pm    Post subject: Reply with quote

Was hindert Dich daran, die Ausgabe von emerge -pf world (bzw. emerge -pf PAKETLISTE) durch sed/awk oder perl zu jagen und Dir diese Liste zu generieren? Ich wage mal zu behaupten, daß das nicht so schwer sein sollte und sich innerhalb weniger Stunden in Skriptform gießen läßt.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Thu Sep 14, 2006 3:35 pm    Post subject: Reply with quote

schachti wrote:
Ich wage mal zu behaupten, daß das nicht so schwer sein sollte und sich innerhalb weniger Stunden in Skriptform gießen läßt.

Ganz so lang dauerts wirklich nicht ;)
Code:
emerge -fp 'was auch immer' 2>/tmp/fetchlist
cut -d\  -f1 /tmp/fetchlist

erzeugt als Ausgabe eine URL-Liste aller nötigen Files und benutzt als Downloadquelle den ersten in make.conf eingetragenen Mirror.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Thargor
Apprentice
Apprentice


Joined: 23 Dec 2005
Posts: 239
Location: Bamberg/Germany

PostPosted: Thu Sep 14, 2006 6:15 pm    Post subject: Reply with quote

hier gibts noch ein paar andere Lösungen für das Problem.
(Aus den Untiefen meiner Bookmarks, nachdem ich sowas auch mal gebraucht hab :D )
Back to top
View user's profile Send private message
JoHo42
l33t
l33t


Joined: 14 Feb 2004
Posts: 956
Location: Germany

PostPosted: Fri Sep 15, 2006 10:14 am    Post subject: Reply with quote

Hi Leute,

Genau sowas habe ich gesucht.
Ich werde mich damit mal ein wenig beschäftigen.
Danke für die Antworten.[/glsa]

Gruss Jörg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum