Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unterschied "emerge -u portage" und "emerge p
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)
View previous topic :: View next topic  
Author Message
mwahl
n00b
n00b


Joined: 04 Aug 2002
Posts: 35

PostPosted: Wed Aug 18, 2004 8:40 am    Post subject: Unterschied "emerge -u portage" und "emerge p Reply with quote

Vermutlich ist das schon so ne Art FAQ-Frage, aber ich habe nix gefunden.

Was ist da genau der Unterschied? So wie es aussieht updated
Code:
emerge portage

nur portage selbst und
Code:
emerge -u portage

versucht auch die dependencies zu aktualisieren.

Wenn ich nach einem
Code:
emerge sync

die Meldung bekomme, dass ich unbedingt auf die neue portage Version updaten soll, welche Variante sollte man dann benutzen?
Back to top
View user's profile Send private message
sarahb523
Guru
Guru


Joined: 10 Mar 2004
Posts: 423
Location: Berlin

PostPosted: Wed Aug 18, 2004 8:53 am    Post subject: Reply with quote

emerge -u portage installiert portage nur wenn es ne neuere version gibt. emerge portage installiert portage auf jedenfall. ggf. wird die aktuelle version "reinstalliert"
_________________
AMD Sempron 2400+ / 1GB RAM / NVidia Geforce 5200FX /
Kernel 2.6.31-gentoo-r4 / kde 4.3
Back to top
View user's profile Send private message
inukshuk
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2002
Posts: 110
Location: vienna (europe)

PostPosted: Wed Aug 18, 2004 8:54 am    Post subject: Reply with quote

Code:
$ man emerge
[...]
--update (-u)
     Updates packages to the best version available, which may  not  always
     be  the highest version number due to masking for testing and develop-
     ment. This will also update direct dependencies which may not what you
     want. In general use this option only in combination with the world or
     system target.
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Wed Aug 18, 2004 8:54 am    Post subject: Reply with quote

Grundsätzlich -u.

"emerge portage" installiert lediglich die aktuelle Portage-Version, egal ob die schon drauf war, eine ältere drauf war, oder vielleicht auch eine neuere Entwicklungsversion.

Willst du portage mit allen Abhängigkeiten aktualisieren, nutzt du "emerge -uD portage".

Sollte aber auch alles in den manpages und anderen Dokus stehen.

Edit: Viel zu langsam :(
_________________
42
Back to top
View user's profile Send private message
mwahl
n00b
n00b


Joined: 04 Aug 2002
Posts: 35

PostPosted: Wed Aug 18, 2004 9:06 am    Post subject: Reply with quote

Und was verwendet ihr nun nach einem emerge sync? Ich habe ja jetzt die Wahl entweder mit -uD praktisch das ganze System aufs Mal umzukrempeln oder ohne Optionen nur nen portage Update zu machen. Hält portage einen Update im Alleingang aus bzw. gibt mir das Ebuild Bescheid wenn portage ne bestimmte Versionsnummer von seinen dependencies braucht?
Back to top
View user's profile Send private message
Sas
Veteran
Veteran


Joined: 05 Jul 2003
Posts: 1229
Location: Germany

PostPosted: Wed Aug 18, 2004 9:13 am    Post subject: Reply with quote

Nein, -uD updatetet _nicht_ das ganze System sondern nur portage inklusive seiner Abhängigkeiten. -u reicht aber auch völlig, denn wenn portage eine neue Version einer Abhängigkeit wirklich braucht, wird diese natürlich mitinstalliert.

Steht aber - wie gesagt - auch alles in den Dokumentationen.
_________________
42
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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