Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -e [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Crenshaw
Guru
Guru


Joined: 23 Jun 2004
Posts: 474
Location: Poland

PostPosted: Wed Apr 26, 2006 12:05 pm    Post subject: emerge -e [SOLVED] Reply with quote

Czesc,

Czy jest w miare bezbolesny sposob na spowodowanie zeby emerge -e zaczynalo nie od pierwszego pakietu na liscie ale ktoregos z nastepnych? (tak wiem ze jesli cos nie dziala przy emerge -e world to mozna dac emerge --resume --skipfirst jednak to ma tez wady...)


Last edited by Crenshaw on Wed Apr 26, 2006 12:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
rane
Retired Dev
Retired Dev


Joined: 03 Mar 2004
Posts: 306
Location: Warsaw, Poland

PostPosted: Wed Apr 26, 2006 12:24 pm    Post subject: Reply with quote

Zrzuc liste pakietow (emerge -epv) do pliku, uporzadkuj (sed?) i poustawiaj jak Ci sie podoba (vim), a na koniec podaj do emerge (emerge `cat lista.txt`). :)

Pozdrawiam,

Łukasz
Back to top
View user's profile Send private message
Crenshaw
Guru
Guru


Joined: 23 Jun 2004
Posts: 474
Location: Poland

PostPosted: Wed Apr 26, 2006 12:34 pm    Post subject: Reply with quote

rane wrote:
Zrzuc liste pakietow (emerge -epv) do pliku, uporzadkuj (sed?) i poustawiaj jak Ci sie podoba (vim), a na koniec podaj do emerge (emerge `cat lista.txt`). :)

Pozdrawiam,

Łukasz


Zrobilem cos mniej wiecej podobnego. Moze komus sie przyda:

Code:

#!/bin/sh

emerge -e -pv world > tmpfile1

grep -E "^\[ebuild  N    \]" tmpfile1 > tmpfile2

sed -e "s/\[ebuild  N    \] //g" tmpfile2 > tmpfile3
sed -e "s/ .*//g" tmpfile3 > tmpfile4
Back to top
View user's profile Send private message
Raku
Bodhisattva
Bodhisattva


Joined: 28 Feb 2004
Posts: 2374
Location: Poland

PostPosted: Wed Apr 26, 2006 12:40 pm    Post subject: Reply with quote

ja bym dał emerge --onshot, bo bez --oneshot w world znajdą się wszystkie zainstalowane w systemie pakiety.
_________________
raku

Powered by Archlinux ;-)
Back to top
View user's profile Send private message
rane
Retired Dev
Retired Dev


Joined: 03 Mar 2004
Posts: 306
Location: Warsaw, Poland

PostPosted: Wed Apr 26, 2006 12:50 pm    Post subject: Reply with quote

Mozna tez zrobic backup worlda, a potem odtworzyc po całej operacji. :)

Pozdrawiam,

Łukasz
Back to top
View user's profile Send private message
Raku
Bodhisattva
Bodhisattva


Joined: 28 Feb 2004
Posts: 2374
Location: Poland

PostPosted: Wed Apr 26, 2006 2:27 pm    Post subject: Reply with quote

ale zajmie to dłużej niż wklepanie --oneshot 8)
_________________
raku

Powered by Archlinux ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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