Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TOOL] - Unclepine - Dipendenze e Pulizia _beta18
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 13, 14, 15  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Feb 01, 2005 11:51 am    Post subject: Reply with quote

grazie mille :)

occhio alla versione che riporta ;) (occhio=attenzione)
ciauz
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 01, 2005 11:53 am    Post subject: Reply with quote

Stavolta prometto di non sbagliare e di stare attento alla versione ;)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Feb 01, 2005 11:57 am    Post subject: Reply with quote

prova un

Code:

unclepine -t5 patch


per apprezzare la differenza.
La seconda volta che viene incontrata "patch" non viene esplorata e a fianco viene messo "--"

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


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Feb 01, 2005 12:03 pm    Post subject: Reply with quote

Fatto. Noto che adesso l'output è molto meno prolisso e più leggibile.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Tue Feb 01, 2005 1:46 pm    Post subject: Reply with quote

xchris wrote:
EDIT2: sto pensando all'idea di Cazzantonio.Richiederebbe una scrittura abbondante di unclepine...anche se una funzione che semplifica la vita e' possibile...


Addirittura? 8O Allora penso non ne valga la pena... non è poi così fondamentale...

Comunque se si vuole generalizzare il problema che ti avevo sottoposto penso che tutto potrebbe ridursi alla possibilità di fare ricerche sulle dipendenze "escludendo" determinate use flag... (nel caso proposto dovrebbero essere quelle "generate" dai pacchetti, e la ricerca dovrebbe essere limitata solo a tali pacchetti...)
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Tue Feb 01, 2005 7:12 pm    Post subject: Reply with quote

questo sistema e' gia' possibile...
facendo USE="-bla -blah" unclepine -u

il punto e' che unclepine andrebbe riscritto nel core per poter implementare altre funzioni interessanti.
Quando mi libero un po' valutero' se vale la pena o meno.

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


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Feb 07, 2005 10:32 am    Post subject: Reply with quote

ho aggiornato la routine del tree-view

Ora viene costruito con 2 passate.
Per la natura ricorsiva del algoritmo prima non era proprio ottimale.
Ora con la seconda passata esploro un pacchetto al livello migliore e assicuro di avere quante + info possibili.



Se avete voglia di provarla un pochino l'indirizzo e' sempre.

Code:

wget http://xchris.altervista.org/GECHI/unclepine


ciau
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu Feb 17, 2005 4:11 pm    Post subject: Reply with quote

beta14 out:

-aggiunta compatibilita' -dc -x
-aggiunta funzione treeview (-t[n])
-useflags ereditate con opzione -v


@Cazzantonio: per il momento ti mostro solo quali useflags non sono volute direttamente da te! :)

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


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Thu Feb 17, 2005 4:14 pm    Post subject: Reply with quote

Good :wink:
provo e ti faccio sapere :D

P.S. ma l'opzione -v non è "verbose"?
P.P.S. Scusa, non importa, ho capito l'arcano

[ri-eidt]
Ho provato e mi sembra buono (dovrebbero essere tutte, c'è margine d'errore per cui dovrei fare controlli approfonditi?)
Manca un'opzione per associare ciascuna di queste use flag ad un pacchetto e una per vedere che cosa sarebbe unlinked senza di esse :wink:
(che in realtà basta fare USE="-(tutte quelle use flag)" unclepine -u)... in realtà basta un opzione per associare rapidamente quelle use flag ad un pacchetto che le genera

P.S. già che ci sei... se non costa niente, io aggiungerei anche un elenco delle use flag di sistema (quelle in /etc/make.profile/make.defaults) omettendo le use flag già presenti in make.conf e quelle disabilitate (ovvero -"useflag" in make.conf)
P.P.S le use flag "inherited" che sono disabilitate da make.conf non compaiono nell'elenco vero? (dubbio atroce e stupido, ovvero: "cosa mi sarei dimenticato io se lo script lo avessi fatto io")
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu Feb 17, 2005 9:14 pm    Post subject: Reply with quote

Cazzantonio wrote:
[ri-eidt]
Ho provato e mi sembra buono (dovrebbero essere tutte, c'è margine d'errore per cui dovrei fare controlli approfonditi?)
Manca un'opzione per associare ciascuna di queste use flag ad un pacchetto e una per vedere che cosa sarebbe unlinked senza di esse :wink:
(che in realtà basta fare USE="-(tutte quelle use flag)" unclepine -u)... in realtà basta un opzione per associare rapidamente quelle use flag ad un pacchetto che le genera

associarla ai pacchetti effettivamente installati comporta qualche problemino al momento.


Cazzantonio wrote:

P.S. già che ci sei... se non costa niente, io aggiungerei anche un elenco delle use flag di sistema (quelle in /etc/make.profile/make.defaults) omettendo le use flag già presenti in make.conf e quelle disabilitate (ovvero -"useflag" in make.conf)

si magari per completezza le metto usando -v

Cazzantonio wrote:

P.P.S le use flag "inherited" che sono disabilitate da make.conf non compaiono nell'elenco vero? (dubbio atroce e stupido, ovvero: "cosa mi sarei dimenticato io se lo script lo avessi fatto io")


non compaiono perche' quell'elenco non e' altro che
USE SYSTEM - USE_MAKE_CONF(positive)

quindi essendo disabilitate in make.conf non sono considerate USE SYSTEM.
Per USE SYSTEM intendo emerge info | grep USE


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


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Thu Feb 17, 2005 10:05 pm    Post subject: Reply with quote

xchris wrote:
associarla ai pacchetti effettivamente installati comporta qualche problemino al momento.

Ci credo... la mia era solo una considerazione dello stato delle cose (lungi da me volerti mettere fretta, hai già fatto tanto che bisognerebbe darti un premio! :D )
xchris wrote:
non compaiono perche' quell'elenco non e' altro che
USE SYSTEM - USE_MAKE_CONF(positive)

Si, ne ero sicuro... solo quando mi prendono i dubbi atroci (anche se sono domande idiote... anzi soprattutto se sono domande idiote) non posso fare a meno di domandare :mrgreen:
Ricordati che io sono quello che ti ha scassato le palle un sacco perchè non mi funzionava unclepine quando l'unica cosa è che avevo sbagliato a fare un link :cry: :lol:
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Ceppus
n00b
n00b


Joined: 01 Apr 2004
Posts: 63
Location: TI / GR - Svizzera

PostPosted: Wed Feb 23, 2005 4:19 pm    Post subject: Reply with quote

dopo aver aggiornato il profilo da:

Code:
/usr/portage/profiles/default-ppc-2004.3/

a
Code:
/usr/portage/profiles/default-linux/ppc/2004.3/

perché deprecato, unclepine non funziona più, cioé ad ogni comando mi ritorna:
Code:
~ Version 0.1_beta14

Analyzing....Please Wait
If you feel bored launch it with -v switch!


!!! Critical Error
!!! You miss this file : /etc/make.profile/packages

in effetti in make.profile ho:
Code:
ls -l /etc/make.profile/
total 12
-rw-r--r--  1 root root 412 Feb 18 12:16 make.defaults
-rw-r--r--  1 root root   3 Sep 17 17:00 parent
-rw-r--r--  1 root root  32 Sep 17 17:00 virtuals

qualche idea?
_________________
... mhh, il gatto avrà catturato un'alce...
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu Feb 24, 2005 8:03 pm    Post subject: Reply with quote

posta
Code:

ls -l /etc/make.profile


sembra strano che manchi quel file.
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Ceppus
n00b
n00b


Joined: 01 Apr 2004
Posts: 63
Location: TI / GR - Svizzera

PostPosted: Thu Feb 24, 2005 8:17 pm    Post subject: Reply with quote

Code:
ls -l /etc/make.profile
lrwxr-xr-x  1 root root 47 Feb 14 18:35 /etc/make.profile -> /usr/portage/profiles/default-linux/ppc/2004.3/


effettivamente quel file c'é però sotto:

Code:
/usr/portage/profiles/default-linux/ppc/

_________________
... mhh, il gatto avrà catturato un'alce...
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu Feb 24, 2005 10:07 pm    Post subject: Reply with quote

si quello e' normale...
davo per scontato che ci fosse quel file per ogni arch.

Errore mio... scusa.

vai alla riga 379 di unclepine (ultima ver b14)
Code:

for filename in [portdir+'/profiles/base/packages',portdir+'/profiles/default-linux/packages',portdir+'/profiles/default-linux/'+arch+'/packages','/etc/make.profile/packages']:


e togli la ultima entry della lista...quindi

Code:

for filename in [portdir+'/profiles/base/packages',portdir+'/profiles/default-linux/packages',portdir+'/profiles/default-linux/'+arch+'/packages']:



fammi sapere come va....e magari non fidarti troppo! :P

nella prossima ver fixero' la cosa!
ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Ceppus
n00b
n00b


Joined: 01 Apr 2004
Posts: 63
Location: TI / GR - Svizzera

PostPosted: Fri Feb 25, 2005 6:43 am    Post subject: Reply with quote

xchris wrote:


vai alla riga 379 di unclepine (ultima ver b14)
Code:

for filename in [portdir+'/profiles/base/packages',portdir+'/profiles/default-linux/packages',portdir+'/profiles/default-linux/'+arch+'/packages','/etc/make.profile/packages']:


e togli la ultima entry della lista...quindi

Code:

for filename in [portdir+'/profiles/base/packages',portdir+'/profiles/default-linux/packages',portdir+'/profiles/default-linux/'+arch+'/packages']:




effettivamente ieri sera spulciando un po' il codice avevo provato ad eliminarla...
ma non ero molto sicuro della mia scelta... :D

comunque così funziona :wink:

grazie per l'aiuto
ciao
_________________
... mhh, il gatto avrà catturato un'alce...
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Fri Feb 25, 2005 8:06 am    Post subject: Reply with quote

bene :)
nella prossima vedro' di non metterlo obbligatorio come file!

grazie mille per aver riportato il problema!
Ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Feb 28, 2005 10:15 am    Post subject: Reply with quote

beta15 out
bug fix per ppc 2004.3

solo con -v visualizza il messaggio di mancanza del file.

ciao

EDIT:sistemato il sito per tenere le vecchie versioni.
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Mar 06, 2005 11:25 am    Post subject: Reply with quote

Ehià :)
Ho avuto un piccolo problemino con unclepine 0.1_beta15.
Ho dato un
Code:

unclepine -su -u -x > pacchetti_da_rimuovere.txt


e il risultato è stato questo:

Code:

=app-admin/hddtemp-0.3_beta12
=app-dicts/aspell-en-6.0.0
=app-text/aspell-0.60
=app-text/enchant-1.1.3
=app-text/gtkspell-2.0.4-r1
=dev-db/metakit-2.4.9.3-r2
=dev-libs/crypto++-5.2.1
=dev-libs/elfutils-0.94-r1
=dev-libs/libsigc++-1.2.5
=dev-libs/ucl-1.03
=dev-python/pyxdg-0.6
=dev-python/wxpython-2.4.2.4-r1
=games-util/uz2unpack-0.1
=media-gfx/xloadimage-4.1-r1
=media-plugins/xmms-mad-0.7
=net-dialup/ppp-2.4.3-r1
=sci-libs/fftw-2.1.5-r1
=sys-apps/setserial-2.17-r2
=sys-libs/db-4.1.25_p1-r4
=x11-libs/libwnck-2.6.2.1
=x11-libs/openmotif-2.2.3-r2
=x11-plugins/gaim-encryption-2.34


Controllo a grandi linee che non ci sia nulla di fondamentale che non possa sistemare con un chroot (alla peggio) ed elimino tutti i pacchetti indicati.

Ieri mi sono trovato a fare l'upgrade a kde-base/kdelibs-3.3.2-r5 e la compilazione mi fallisce perchè non trova aspell...

Le domande sono 2 a questo punto, una IT e una OT:

IT) come mai lo zio pino mi ha detto di rimuovere quei pacchetti se erano necessari?
OT) perchè un emerge -uD world non ha cercato di emergere nuovamente aspell visto che si trattava di dipendenze necessarie?

Ciao ;)
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Mar 06, 2005 12:13 pm    Post subject: Reply with quote

ecco da bugzilla che è "emerso"... https://bugs.gentoo.org/show_bug.cgi?id=84279
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Sun Mar 06, 2005 12:14 pm    Post subject: Reply with quote

Che kdelibs avevi prima?
_________________
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: Sun Mar 06, 2005 12:31 pm    Post subject: Reply with quote

mi spiace per il bug ma sono contento per unclepine.
Lo "zio" legge le deps correttamente (a parte alcuni casi in cui e' un po' conservativo)

In ogni caso "non dovrebbe" mai dirti di unmergere un pacchetto se nelle dipendenze e' elencato.

Consiglio sempre di fare questo:


Code:

unclepine -u -su -x > pacchetti.check
cat pacchetti.check | xargs quickpkg


in questo modo in caso di errori possiamo rimediare subito con

Code:

emerge --oneshot -k pacchetto


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


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Sun Mar 06, 2005 12:41 pm    Post subject: Reply with quote

Si ma forse zio pino non ha sbagliato visto che nella versione kdelibs-3.3.2-r2.ebuild non richiedeva aspell/ispell
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Mar 06, 2005 12:57 pm    Post subject: Reply with quote

@ fedeliallalinea: prima avevo kde-base/kdelibs-3.3.2-r4 (che richiedeva aspell)
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun Mar 06, 2005 1:39 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Si ma forse zio pino non ha sbagliato visto che nella versione kdelibs-3.3.2-r2.ebuild non richiedeva aspell/ispell


e che ho detto? :)

il problema e' nel ebuild-pacchetto.

E chiaramente lo zio non puo' fare miracoli :S

ciau
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 13, 14, 15  Next
Page 8 of 15

 
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