View previous topic :: View next topic |
Author |
Message |
zack77 Tux's lil' helper
Joined: 11 May 2005 Posts: 87
|
Posted: Mon Aug 01, 2005 12:31 pm Post subject: errore comando |
|
|
ciao a tutti, avrei un problema con l installazione: quando do "# mkdir /mnt/gentoo/usr/portage/distfiles
# cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/" mi esce un mess d errore xche l "argument is too long" come faccio a risolvere? _________________ http://zack77.altervista.org
.... visitare il mio sito ti costa solo 2 minuti di pazienza. dai... facci un giro! |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Mon Aug 01, 2005 1:08 pm Post subject: Re: errore comando |
|
|
spezza il comando, no? o abbrevia la riga
Code: | cp -afx /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/ |
|
|
Back to top |
|
|
zack77 Tux's lil' helper
Joined: 11 May 2005 Posts: 87
|
Posted: Mon Aug 01, 2005 1:10 pm Post subject: |
|
|
ah... questo nn lo sapevo.... ma nn scivo"/*"? _________________ http://zack77.altervista.org
.... visitare il mio sito ti costa solo 2 minuti di pazienza. dai... facci un giro! |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Mon Aug 01, 2005 1:35 pm Post subject: |
|
|
zack77 wrote: | ah... questo nn lo sapevo.... ma nn scivo"/*"? |
no. copi da diretory madre |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Tue Aug 02, 2005 3:26 pm Post subject: Re: errore comando |
|
|
k.gothmog wrote: | spezza il comando, no? o abbrevia la riga
Code: | cp -afx /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/ |
|
Oppure usa xargs _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
zack77 Tux's lil' helper
Joined: 11 May 2005 Posts: 87
|
Posted: Tue Aug 02, 2005 3:29 pm Post subject: |
|
|
cioe? sono agli inizi con gentoo.... x me in questo momento equivale all arabo... _________________ http://zack77.altervista.org
.... visitare il mio sito ti costa solo 2 minuti di pazienza. dai... facci un giro! |
|
Back to top |
|
|
mouser Veteran
Joined: 10 Aug 2004 Posts: 1419 Location: Milano
|
Posted: Tue Aug 02, 2005 4:43 pm Post subject: |
|
|
Non so se il problema e' stato risolto.....
.... in ogni caso, se l'errore e' lo stesso che ho visto durante il LWE, viene generato perche' sul CD (anche se credo l'errore avvenga quando si installa da DVD) nella dir distfiles ci sono troppe cose da copiare, e cp non riesce a gestirle.
In quel caso, la soluzione migliore e' quella di copiare sono qualcosina alla volta:
Code: | # cp /mnt/cdrom/distfiles/[0-9]* /mnt/gentoo/usr/portage/distfiles/
# cp /mnt/cdrom/distfiles/[a-z]* /mnt/gentoo/usr/portage/distfiles/
# cp /mnt/cdrom/distfiles/[A-Z]* /mnt/gentoo/usr/portage/distfiles/ |
My 2 eurocent!
Ciriciao
mouser |
|
Back to top |
|
|
zack77 Tux's lil' helper
Joined: 11 May 2005 Posts: 87
|
Posted: Wed Aug 03, 2005 6:40 am Post subject: Re: errore comando |
|
|
k.gothmog wrote: | spezza il comando, no? o abbrevia la riga
Code: | cp -afx /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/ |
|
problema risolto!!!!! il mio notebook c ha impiegato 45 min... ma con questo comando è andato bene! _________________ http://zack77.altervista.org
.... visitare il mio sito ti costa solo 2 minuti di pazienza. dai... facci un giro! |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Wed Aug 03, 2005 2:44 pm Post subject: |
|
|
zack77 wrote: | cioe? sono agli inizi con gentoo.... x me in questo momento equivale all arabo... |
Mi riferivo ad una cosa del genere:
Code: | find <src> -print | xargs -i'{}' cp '{}' <dest> |
_________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
|