Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mantenere i binari dei soli pacchetti installati
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
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Thu Apr 06, 2006 10:58 pm    Post subject: Mantenere i binari dei soli pacchetti installati Reply with quote

Siccome mi ritrovo ad avere un po' di spazio su hd che rimane sempre vuota, virrei inserire FEATURES="buildpkg" , in modo da crearmi alcuni pacchetti di sicurezza, senza dover ogni volta fare uno stage4. :wink:
Sapete se c'è un modo per cui venga mantenuto solo il pacchetto riguardante la versione installata di un dato programma, senza dover eliminare a mano, ogni volta, il pacchetto della versione appena disinstallata ?
Qualcuno fa la stessa cosa con qualche script fatto a mano? :roll:

Grazie
_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu Apr 06, 2006 11:00 pm    Post subject: Re: Mantenere i binari dei soli pacchetti installati Reply with quote

dai un'occhiata al tool eclean, del pacchetto gentoolkit
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Fri Apr 07, 2006 1:24 am    Post subject: Reply with quote

per l'esattezza i tool sono due:
eclean-dist ed eclean-pkg che permettono di non indicare in linea di comando cosa vuoi scandagliare. su pc con poco spazio su hd è molto utile l'opzione --destructive che permette di mantenere solo le versioni attualmente utilizzate, mentre solitamente esegue un check di ogni singolo pacchetto che c'è in portage. cmq un man eclean è molto esaustivo.
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Fri Apr 07, 2006 8:50 pm    Post subject: Reply with quote

Grazie a tutti :D
E' proprio quello che cercavo!

Un'ultima stupida domanda, non avendo mai fatto pacchetti, mi viene da chiedere: mediamente ci si perde tanto tempo di più con la FEATURE builpkg abilitata?
_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
zolar czakl
Apprentice
Apprentice


Joined: 25 Sep 2004
Posts: 162
Location: UMRK

PostPosted: Fri Apr 07, 2006 10:09 pm    Post subject: Reply with quote

Esempio pratico
Code:
emerge -p xorg-x11|genlop -p
These are the pretended packages: (this may take a while; wait...)

[ebuild   R   ] x11-base/xorg-x11-6.8.2-r6 


Estimated update time: 42 minutes.
Code:
time -p quickpkg xorg-x11
 * Building package for xorg-x11-6.8.2-r6 ...                                                                                                                                                           [ ok ]

 * Packages now in /tmp/.Packages:
 * xorg-x11-6.8.2-r6: 60M
real 91.26
user 76.28
sys 2.38
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Fri Apr 07, 2006 10:54 pm    Post subject: Reply with quote

Code:
time FEATURES="-buildpkg -ccache" emerge --oneshot nano

real    0m45.813s
user    0m20.902s
sys     0m14.558s



Code:
time FEATURES=" -ccache"  emerge --oneshot nano
real    0m46.687s
user    0m21.680s
sys     0m14.688s

non so se possa valere come benchmark.
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Sat Apr 08, 2006 12:35 am    Post subject: Reply with quote

Ic3M4n wrote:
non so se possa valere come benchmark.

Va benissimo, ti ringrazio :D

Appena ho un po' di tempo da perdere faccio una prova con qualcosa di bello grosso, tipo xorg :wink:
_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Sat Apr 08, 2006 6:42 am    Post subject: Reply with quote

thewally wrote:
Ic3M4n wrote:
non so se possa valere come benchmark.

Va benissimo, ti ringrazio :D

Appena ho un po' di tempo da perdere faccio una prova con qualcosa di bello grosso, tipo xorg :wink:


Il tempo che perde è dovuto al fatto che prima crea il pacchetto e poi lo riscompatta per installarlo, nulla di che. Inoltre ci sarebbero alcuni pacchetti per cui non è necessario farsi un pacchetto (scusate la ripetizione), per esempio *-sources e *-bin. Qualcuno conosce qualche metodo per dire ad emerge di non creare un pacchetto per questo tipo di ebuild?
_________________
Running Fast!
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