View previous topic :: View next topic |
Author |
Message |
ciro64 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Jun 2009 Posts: 424
|
Posted: Fri Jan 15, 2010 11:04 pm Post subject: |
|
|
giangentoo wrote: | Scusate quando vado ad avviare mirroselect mi dice che non è possibile avviarlo, |
prima accertati di avere la rete attiva nell' ambiente chroot; guarda
Puoi fare per esempio un piccolo test con:
Code: | # ping -c 5 google.it |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ago Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/6180337614ab953ee61ee4.jpg)
Joined: 01 Mar 2008 Posts: 1527 Location: Milan, Italy
|
Posted: Fri Jan 15, 2010 11:43 pm Post subject: |
|
|
ciro64 wrote: | prima accertati di avere la rete attiva nell' ambiente chroot; guarda |
su ubuntu non c'e mirrorselect -.-'
@giangentoo
usando mirrorselect automatizzi il processo di settaggio delle variabili mirrors e sync...per abbreviare puoi mettere questi parametri nel make.conf
Code: | GENTOO_MIRRORS="http://distfiles.gentoo.org"
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
in modo da indicare a portage dove syncare e dove scaricare i sorgenti. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
giangentoo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 May 2009 Posts: 45
|
Posted: Sat Jan 16, 2010 12:56 pm Post subject: |
|
|
E quindi in definitiva potrei proprio saltare il passo di mirrorselect, se aggiungo queste due righe al make. conf!
giusto? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ciro64 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Jun 2009 Posts: 424
|
Posted: Sat Jan 16, 2010 1:39 pm Post subject: |
|
|
mirrorselect puoi benissimo instalarlo dopo aver chrootato il nuovo sistema. (so che *buntu non ha mirrorselect).
quinidi, dopo aver fatto
# cp /etc/resolv.conf /mnt/gentoo/etc/
e aver fatto il chroot, può fare (dopo aver verificato il funzionamento della rete)
Code: | # emerge mirrorselect
# mirrorselect -r -o -i >> /etc/make.conf
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ago Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/6180337614ab953ee61ee4.jpg)
Joined: 01 Mar 2008 Posts: 1527 Location: Milan, Italy
|
Posted: Sun Jan 17, 2010 1:21 pm Post subject: |
|
|
giangentoo wrote: | E quindi in definitiva potrei proprio saltare il passo di mirrorselect, se aggiungo queste due righe al make. conf!
giusto? |
si
ciro64 wrote: | mirrorselect puoi benissimo instalarlo dopo aver chrootato il nuovo sistema. (so che *buntu non ha mirrorselect).
quinidi, dopo aver fatto
# cp /etc/resolv.conf /mnt/gentoo/etc/
e aver fatto il chroot, può fare (dopo aver verificato il funzionamento della rete)
Code: | # emerge mirrorselect
# mirrorselect -r -o -i >> /etc/make.conf
|
|
scusa se portage non sa ne dove syncare ne dove prendere i sorgenti come lo emerge mirrorselect? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ciro64 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Jun 2009 Posts: 424
|
Posted: Sun Jan 17, 2010 1:30 pm Post subject: |
|
|
Immagino vi siano impostazioni di default; per provare lo commento......
Code: | $ tail -5 /etc/make.conf
PORTAGE_TMPDIR="/dev/shm/portage"
#source /usr/local/portage/layman/make.conf
#SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
|
Quindi
Code: | # rm -rf /usr/portage/distfiles/*
c2qyt ciro64 # emerge -1 mirrorselect --fetchonly
Calculating dependencies... done!
>>> Fetching (1 of 1) app-portage/mirrorselect-2.0.0
>>> Downloading 'http://distfiles.gentoo.org/distfiles/mirrorselect-2.0.0.tar.bz2'
--2010-01-17 14:30:15-- http://distfiles.gentoo.org/distfiles/mirrorselect-2.0.0.tar.bz2
Risoluzione di distfiles.gentoo.org... 149.20.20.135, 140.211.166.134, 130.239.17.6, ...
Connessione a distfiles.gentoo.org|149.20.20.135|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 302 Found
Posizione: http://mirrors.kernel.org/gentoo/distfiles/mirrorselect-2.0.0.tar.bz2 [segue]
--2010-01-17 14:30:15-- http://mirrors.kernel.org/gentoo/distfiles/mirrorselect-2.0.0.tar.bz2
Risoluzione di mirrors.kernel.org... 199.6.1.174, 130.239.17.6
Connessione a mirrors.kernel.org|199.6.1.174|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: 9857 (9,6K) [application/x-bzip2]
Salvataggio in: "/usr/portage/distfiles/mirrorselect-2.0.0.tar.bz2"
100%[======================================>] 9.857 --.-K/s in 0,05s
2010-01-17 14:30:17 (179 KB/s) - "/usr/portage/distfiles/mirrorselect-2.0.0.tar.bz2" salvato [9857/9857]
* mirrorselect-2.0.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
|
Fatto ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|