View previous topic :: View next topic |
Author |
Message |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Wed Jun 30, 2004 8:56 am Post subject: [DISCUSSIONE] - portage system /world |
|
|
sto sviluppando un tool per fare un po' di pulizia ma ho dei dubbi (anche elementari...sigh)
sappiamo che per i pacchetti in world esiste il world file
ma per system?
esiste un modo semplice per sapere quali pacchetti sono in system?
(senza usare emerge -Dep system)
altra cosa...
quando un pkt finisce in world file?
e' corretto dire che se io ho x86 e emergo un ~x86 allora questo non va nel worldfile? o e' + complesso?
scusate per le domande imbarazzanti
ciao _________________ while True:Gentoo()
Last edited by xchris on Wed Jun 30, 2004 12:00 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31476 Location: here
|
Posted: Wed Jun 30, 2004 11:04 am Post subject: Re: [DISCUSSIONE] ? - portage system /world |
|
|
xchris wrote: | sappiamo che per i pacchetti in world esiste il world file
ma per system? |
Attenzione a non confondere il file world non e' che include solo i programmi installati da emerge world (e non da system). Semplicemente mette tutti i file che installi.
xchris wrote: | quando un pkt finisce in world file? |
Finisce solo il pacchetto che vuoi installare. Mi spiego meglio se faccio p.es.
Code: | # emerge -p gaim
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] app-text/gtkspell-2.0.4
[ebuild N ] dev-libs/nspr-4.4.1
[ebuild N ] dev-libs/nss-3.8
[ebuild N ] net-im/gaim-0.75-r8 |
nel file world entrera' solo net-im/gaim e non le sue dipendenze.
xchris wrote: | e' corretto dire che se io ho x86 e emergo un ~x86 allora questo non va nel worldfile? o e' + complesso? |
Tutti i file vanno a finire in world x86 o ~x86 che siano. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
!equilibrium Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/10751772074409c2c3ce8ec.png)
Joined: 06 Jun 2004 Posts: 2109 Location: MI/BG/LC
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Wed Jun 30, 2004 11:56 am Post subject: Re: [DISCUSSIONE] ? - portage system /world |
|
|
fedeliallalinea wrote: |
Attenzione a non confondere il file world non e' che include solo i programmi installati da emerge world (e non da system). Semplicemente mette tutti i file che installi.
|
non ho capito molto cosa vuoi dire.
fediliallalinea wrote: |
xchris wrote: | quando un pkt finisce in world file? |
Finisce solo il pacchetto che vuoi installare. Mi spiego meglio se faccio [...]
nel file world entrera' solo net-im/gaim e non le sue dipendenze.
|
si ok.
fedeliallalinea wrote: |
xchris wrote: | e' corretto dire che se io ho x86 e emergo un ~x86 allora questo non va nel worldfile? o e' + complesso? |
Tutti i file vanno a finire in world x86 o ~x86 che siano. |
non sono d'accordo.
ad es
dopo aver lanciato un emerge su socket++ (masked)
Code: |
>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
>>> net-libs/socket++-1.12.10 merged.
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
|
come si vede non e' stato registrato nel world file!
Code: |
root@lyra SCRIPTS # grep socket++ /var/cache/edb/world
root@lyra SCRIPTS #
|
forse perche' io sono x86 di base? _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Wed Jun 30, 2004 12:06 pm Post subject: Re: [DISCUSSIONE] ? - portage system /world |
|
|
fedeliallalinea wrote: |
Attenzione a non confondere il file world non e' che include solo i programmi installati da emerge world (e non da system). Semplicemente mette tutti i file che installi.
|
ahh
ho capito cosa dici.
Mi sono spiegato male io
su come funzioni il world file in condizioni normali non dovrebbero esserci dubbi.
per quanto riguarda system invece?
EDIT:
ok se lancio l'emerge con il path del ebuild ~x86 non lo mette in world
se lo lancio con ACCEPT_KEYWORDS="~x86" lo mette in world file.
mmmm non molto simpatico _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Wed Jun 30, 2004 12:16 pm Post subject: Re: [DISCUSSIONE] ? - portage system /world |
|
|
xchris wrote: | ok se lancio l'emerge con il path del ebuild ~x86 non lo mette in world
se lo lancio con ACCEPT_KEYWORDS="~x86" lo mette in world file.
mmmm non molto simpatico |
buono a sapersi allora. _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Wed Jun 30, 2004 12:30 pm Post subject: Re: [DISCUSSIONE] ? - portage system /world |
|
|
randomaze wrote: |
buono a sapersi allora. |
eh gia :S
ma la cosa peggiore che e' indipendente da x86-~x86
e' valido in generale!! (anche se in teoria non dovrebbe essere necessario lanciare l'emerge di un ebuild stable con il path)
mah
ciao _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FonderiaDigitale Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/160661570245a62657b3321.jpg)
Joined: 06 Nov 2003 Posts: 1710 Location: Rome, Italy
|
Posted: Thu Jul 01, 2004 8:45 am Post subject: |
|
|
perche' peggiore? c'e' chi usa il tree ~x86, come in debian c'e' chi usa il tree unstable. _________________ Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Thu Jul 01, 2004 8:48 am Post subject: |
|
|
FonderiaDigitale wrote: | perche' peggiore? c'e' chi usa il tree ~x86, come in debian c'e' chi usa il tree unstable. |
Il discorso era che se emergi qualcosa con "emerge /path/to/ebuild" quello non viene messo nel world file.
Dato che uno dei metodi per emergere i pacchetti masked é quello di usare il percorso completo dell'ebuild.... _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
FonderiaDigitale Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/160661570245a62657b3321.jpg)
Joined: 06 Nov 2003 Posts: 1710 Location: Rome, Italy
|
Posted: Thu Jul 01, 2004 9:26 am Post subject: |
|
|
si ok, ma e' considerata una misura estrema e cmq forzata.
la procedura corretta e' di creare un ebuild non masked, partendo da un mask sulla stable
o su tutti i tree
o hardmasked attraverso il file di mask.. _________________ Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Thu Jul 01, 2004 9:54 am Post subject: |
|
|
FonderiaDigitale wrote: | si ok, ma e' considerata una misura estrema e cmq forzata.
la procedura corretta e' di creare un ebuild non masked, partendo da un mask sulla stable
[ |
si pero' e' decisamente + comodo usare il path.
vorrei capire per quale motivo e' stata presa questa decisione... _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31476 Location: here
|
Posted: Thu Jul 01, 2004 1:25 pm Post subject: |
|
|
xchris wrote: | si pero' e' decisamente + comodo usare il path. |
Si ma basta creare un comando aemerge e metterlo in /usr/bin
Code: | #!/bin/sh
ACCEPT_KEYWORDS=~x86 exec emerge $@ |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Thu Jul 01, 2004 1:36 pm Post subject: |
|
|
fedeliallalinea wrote: |
Si ma basta creare un comando aemerge e metterlo in /usr/bin
|
si certo!
il punto e' che non penso di essere l'unico che lancia emerge con path e questa particolarita' non mi sembrava nota.
cmq ci adegueremo
ciao _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31476 Location: here
|
Posted: Thu Jul 01, 2004 1:41 pm Post subject: |
|
|
xchris wrote: | il punto e' che non penso di essere l'unico che lancia emerge con path e questa particolarita' non mi sembrava nota. |
Voleva solo essere un tip _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xchris Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/212070142342d3867489e82.jpg)
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Thu Jul 01, 2004 2:18 pm Post subject: |
|
|
fedeliallalinea wrote: |
Voleva solo essere un tip |
certo! ci mancherebbe!
ciao _________________ while True:Gentoo() |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Thu Jul 01, 2004 2:28 pm Post subject: |
|
|
fedeliallalinea wrote: | Si ma basta creare un comando aemerge e metterlo in /usr/bin
|
tip per tip:
Code: | alias aemerge='ACCEPT_KEYWORDS="~x86" emerge'
|
senza bisogno di sporcare la /usr/bin ![Razz :-P](images/smiles/icon_razz.gif) _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31476 Location: here
|
Posted: Thu Jul 01, 2004 2:30 pm Post subject: |
|
|
randomaze wrote: | senza bisogno di sporcare la /usr/bin ![Razz :-P](images/smiles/icon_razz.gif) |
Ancora meglio non ci avevo pensato _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|