Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-update consigli sull' uso
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
saxtro
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 153

PostPosted: Mon Apr 11, 2005 12:22 pm    Post subject: etc-update consigli sull' uso Reply with quote

ciao a tutti scusate se mi rivolgo alla comunità per questa domanda ma ho un pò troppi .cfgXXX sul disco:
Code:

* GNU info directory index is up-to-date.
 * IMPORTANT: 37 config files in /etc need updating.
 * IMPORTANT: 1 config files in /usr/kde/3.3/share/config need updating.
 * IMPORTANT: 14 config files in /usr/lib/X11/xkb need updating.
 * Type emerge --help config to learn how to update config files.

ho eseguito
Code:

#etc-update
Please select a file to edit by entering the corresponding number.
              (don't use -3 or -5 if you're unsure what to do)
              (-1 to exit) (-3 to auto merge all remaining files)
                           (-5 to auto-merge AND not use 'mv -i'): 

siccome mi funziona tutto vorrei tenere le configurazioni in uso quindi cancellare tutti i .cfgXXX, uno alla volta riesco a scegliere quale tenere e quale no, per scegliere di default "tieni tutti quelli in uso (anche senza cancellare i vecchi) e non dirmi più che i config files necessitano un update" devo scegliere -3 o -5 ?
so che la domanda è "idiota" ma non so come orientarmi :oops:


Last edited by saxtro on Mon Apr 11, 2005 12:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Mon Apr 11, 2005 12:25 pm    Post subject: Reply with quote

inserisci il numero del file da aggiornare...
poi ti farà vedere cosa aggiornerà e tu gli dirai se scartarlo o meno. :wink:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4810
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Mon Apr 11, 2005 12:40 pm    Post subject: Re: [niubbo] etc-update Reply with quote

saxtro wrote:

siccome mi funziona tutto vorrei tenere le configurazioni in uso

La tua politica può sembrare saggia, ma potrebbe avere delle controindicazioni.

Spesso gli aggiornamenti dei file di config sono inutili, ma prima o poi ti capita quello fondamentale.
Se non hai tempo, dai ctrl-C ed esci dall'update, rimandando l'aggiornamento a un'altra volta.

Altrimenti aggiorna tutti i file che non hai personalmente modificato, perché contengono delle impostazioni di default e quindi vanno bene così, mentre controlla le differenze tra quelli che hai toccato tu e quelli nuovi, prima di prendere una decisione.
Ti posto un'estratto del mio /etc/etc-update, che contiene alcune piccole modifiche che a me sembrano comode.
Code:

# pager for use with diff commands (see NOTE_2)
#pager="less"
#pager=""

# vim-users: you CAN use vimdiff for diff_command. (see NOTE_1)
#diff_command="diff -uN %file1 %file2"
#using_editor=0
diff_command="vim -d %file1 %file2"


P.S. ma che diavolo di tag hai messo nel titolo?
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Apr 11, 2005 12:46 pm    Post subject: Re: [niubbo] etc-update Reply with quote

saxtro wrote:
"tieni tutti quelli in uso (anche senza cancellare i vecchi) e non dirmi più che i config files necessitano un update" devo scegliere -3 o -5 ?


Veramente -3 e -5 sono proprio quelli che ti cancellano i files in uso sovrascrivendoli....


P.S. Sulla scelta del tag ha ragione clock3, cambia il tag iniziale con qualcosa di più "normale e significativo"
_________________
Ciao da me!
Back to top
View user's profile Send private message
saxtro
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 153

PostPosted: Mon Apr 11, 2005 12:53 pm    Post subject: Reply with quote

titolo cambiato,
ringrazio tutti dei consigli, sopratutto quello di cloc3 (non l' ho applicato ancora ma credo serva a vedere i due file su due sessioni di vim diverse giusto? meglio che leggere tutte le righe con il + e quelle con il -)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31453
Location: here

PostPosted: Mon Apr 11, 2005 2:50 pm    Post subject: Reply with quote

Per l'utilizzo trovi la faq https://forums.gentoo.org/viewtopic.php?p=1579380
_________________
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