Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: emerge `cat equery-list-from-elsewhere` ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
iaw
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2004
Posts: 81

PostPosted: Thu Dec 28, 2006 9:20 pm    Post subject: SOLVED: emerge `cat equery-list-from-elsewhere` ? Reply with quote

Dear gentoos: I have a long list of packages from another system, that I would like to mirror. This list comes from equery, so it has a nice mix of directory/names-version-sometimes-more-dashes. I can hand-edit this, but was wondering whether portage can grok such a long list, given an appropriate switch on the command line. anyone know?

sincerely,

/iaw
_________________
/iaw


Last edited by iaw on Fri Dec 29, 2006 1:07 am; edited 1 time in total
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Thu Dec 28, 2006 9:22 pm    Post subject: Reply with quote

Yes, if the package names are all formatted correctly.
Back to top
View user's profile Send private message
iaw
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2004
Posts: 81

PostPosted: Thu Dec 28, 2006 11:26 pm    Post subject: Reply with quote

Zepp wrote:
Yes, if the package names are all formatted correctly.


welll, they do come out of an "equery --list" followed by deletion of the first line. but this is not digestible.
_________________
/iaw
Back to top
View user's profile Send private message
ok
Guru
Guru


Joined: 11 Jul 2006
Posts: 390
Location: germany

PostPosted: Fri Dec 29, 2006 12:31 am    Post subject: Reply with quote

Code:
# sed 's/^/=/' /path/to/list | xargs emerge -p 
?
Back to top
View user's profile Send private message
iaw
Tux's lil' helper
Tux's lil' helper


Joined: 20 Dec 2004
Posts: 81

PostPosted: Fri Dec 29, 2006 1:06 am    Post subject: Reply with quote

ok wrote:
Code:
# sed 's/^/=/' /path/to/list | xargs emerge -p 
?


thanks. my missing link was adding the '=' to the front.

regards,

/iaw
_________________
/iaw
Back to top
View user's profile Send private message
Zepp
Veteran
Veteran


Joined: 15 Mar 2004
Posts: 1246
Location: Ontario, Canada

PostPosted: Fri Dec 29, 2006 1:58 am    Post subject: Reply with quote

Sorry that is what I meant when I said as long as they are in the right format.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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