View previous topic :: View next topic |
Author |
Message |
iaw Tux's lil' helper
Joined: 20 Dec 2004 Posts: 81
|
Posted: Thu Dec 28, 2006 9:20 pm Post subject: SOLVED: emerge `cat equery-list-from-elsewhere` ? |
|
|
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 |
|
|
Zepp Veteran
Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
Posted: Thu Dec 28, 2006 9:22 pm Post subject: |
|
|
Yes, if the package names are all formatted correctly. |
|
Back to top |
|
|
iaw Tux's lil' helper
Joined: 20 Dec 2004 Posts: 81
|
Posted: Thu Dec 28, 2006 11:26 pm Post subject: |
|
|
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 |
|
|
ok Guru
Joined: 11 Jul 2006 Posts: 390 Location: germany
|
Posted: Fri Dec 29, 2006 12:31 am Post subject: |
|
|
Code: | # sed 's/^/=/' /path/to/list | xargs emerge -p | ? |
|
Back to top |
|
|
iaw Tux's lil' helper
Joined: 20 Dec 2004 Posts: 81
|
Posted: Fri Dec 29, 2006 1:06 am Post subject: |
|
|
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 |
|
|
Zepp Veteran
Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
Posted: Fri Dec 29, 2006 1:58 am Post subject: |
|
|
Sorry that is what I meant when I said as long as they are in the right format. |
|
Back to top |
|
|
|