Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[DISCUSSIONE] - portage system /world
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jun 30, 2004 8:56 am    Post subject: [DISCUSSIONE] - portage system /world Reply with quote

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 :D

ciao
_________________
while True:Gentoo()


Last edited by xchris on Wed Jun 30, 2004 12:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31476
Location: here

PostPosted: Wed Jun 30, 2004 11:04 am    Post subject: Re: [DISCUSSIONE] ? - portage system /world Reply with quote

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
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Wed Jun 30, 2004 11:26 am    Post subject: Reply with quote

questi topic potrebbero esservi utili:

:arrow: https://forums.gentoo.org/viewtopic.php?t=23027
:arrow: https://forums.gentoo.org/viewtopic.php?t=3011
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jun 30, 2004 11:56 am    Post subject: Re: [DISCUSSIONE] ? - portage system /world Reply with quote

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
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jun 30, 2004 12:06 pm    Post subject: Re: [DISCUSSIONE] ? - portage system /world Reply with quote

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 :D
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
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Jun 30, 2004 12:16 pm    Post subject: Re: [DISCUSSIONE] ? - portage system /world Reply with quote

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


8O

buono a sapersi allora.
_________________
Ciao da me!
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jun 30, 2004 12:30 pm    Post subject: Re: [DISCUSSIONE] ? - portage system /world Reply with quote

randomaze wrote:


8O
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
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu Jul 01, 2004 8:45 am    Post subject: Reply with quote

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
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Jul 01, 2004 8:48 am    Post subject: Reply with quote

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
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Thu Jul 01, 2004 9:26 am    Post subject: Reply with quote

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
Code:
EKYWORDS=~x86

o su tutti i tree
Code:
EKYWORDS=-*


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
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu Jul 01, 2004 9:54 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31476
Location: here

PostPosted: Thu Jul 01, 2004 1:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu Jul 01, 2004 1:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31476
Location: here

PostPosted: Thu Jul 01, 2004 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu Jul 01, 2004 2:18 pm    Post subject: Reply with quote

fedeliallalinea wrote:

Voleva solo essere un tip


certo! ci mancherebbe! :)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Jul 01, 2004 2:28 pm    Post subject: Reply with quote

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 :-P
_________________
Ciao da me!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31476
Location: here

PostPosted: Thu Jul 01, 2004 2:30 pm    Post subject: Reply with quote

randomaze wrote:
senza bisogno di sporcare la /usr/bin :-P

Ancora meglio non ci avevo pensato
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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