Changes

From SME Server
Jump to navigationJump to search
m
signal-event yum-modify
Line 38: Line 38:       −
*Un altro metodo per abilitare i repository di default è descritto in [[:AddingSoftware#Restoring_Default_Yum_Repositories]]
+
*Un altro metodo per abilitare i repository di default è descritto in [[:Adding_Software#Restoring_Default_Yum_Repositories]]
    
====Riconfigurazione / post-upgrade e reboot====
 
====Riconfigurazione / post-upgrade e reboot====
Line 73: Line 73:  
  mv yum_repositories yum_repositories.po
 
  mv yum_repositories yum_repositories.po
 
  /etc/e-smith/events/actions/initialize-default-databases
 
  /etc/e-smith/events/actions/initialize-default-databases
  expand-template /etc/yum.conf
+
  signal-event yum-modify
   −
Consualta anche [http://wiki.contribs.org/Updating_to_SME_7.2 Updating to SME 7.2] per eventuali ulteriori passaggi che potrebbero essere necessari.
+
Consulta anche [http://wiki.contribs.org/Updating_to_SME_7.2 Updating to SME 7.2] per eventuali ulteriori passaggi che potrebbero essere necessari.
   −
====General====
+
====Informazioni generali====
*Please Wait - Yum Running (prereposetup)
+
*Cosa significa il messaggio 'Please Wait - Yum Running (prereposetup)' ?
 
Significa che yum sta cercando eventuali update presenti.
 
Significa che yum sta cercando eventuali update presenti.
 
In caso siano presenti molti aggiornamenti il processo potrebbe impiegare tempi molto lunghi, anche superiori a 10 minuti
 
In caso siano presenti molti aggiornamenti il processo potrebbe impiegare tempi molto lunghi, anche superiori a 10 minuti
   −
*Yum doesn't seem to be working correctly. What do I do now?
+
*Yum sembra non funzionare correttamente. Cosa posso fare?
 
Se per qualche motivo yum non dovesse funzionare correttamente puoi provare
 
Se per qualche motivo yum non dovesse funzionare correttamente puoi provare
 
  yum clean metadata
 
  yum clean metadata
Line 88: Line 88:  
  yum update
 
  yum update
   −
*Fix for 'Metadata file does not match checksum'
+
*Come posso risolvere l'errore 'Metadata file does not match checksum' ?
Typical error message
+
Il tipico messaggio che si ha è
 
  http://apt.sw.be/fedora/3/en/i386/dag/repodata/primary.xml.gz:  
 
  http://apt.sw.be/fedora/3/en/i386/dag/repodata/primary.xml.gz:  
 
  [Errno -1] Metadata file does not match checksum Trying other mirror.
 
  [Errno -1] Metadata file does not match checksum Trying other mirror.
 
  Error: failure: repodata/primary.xml.gz from dag: [Errno 256] No more mirrors to try.
 
  Error: failure: repodata/primary.xml.gz from dag: [Errno 256] No more mirrors to try.
   −
To flush the up stream proxies, using wget, run:
+
Per ripristinare la lista corretta dei repository utilizzando wget si usa:
    
  wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/filelists.xml.gz
 
  wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/filelists.xml.gz
Line 101: Line 101:  
  yum update
 
  yum update
   −
* An unclean shutdown during a system update can put the system into a state where it's difficult to recover.
+
* Uno spegnimento imprevisto durante un aggiornamento può mettere il sistema in uno stato instabile difficile da risolvere
Try not to kick the power cord and use a UPS
+
Cerca di non staccare la spina elettrica e usa un UPS! :)
   −
* Where can I go to learn more about yum, and about how SME uses it?
+
* Dove posso trovare maggiori informazioni su yum e come viene usato in SME?
[[:AddingSoftware ]], man yum, http://linux.duke.edu/projects/yum/
+
[[:Adding_Software ]], man yum, http://linux.duke.edu/projects/yum/
 +
 
 +
====Utilizzo e gestione dei repository====
 +
 
 +
*Qual'è la procedura per aggiungere altri repository per yum?
 +
L'esempio seguente usa il repository dungog settandolo come disabilitato.
 +
Il repository si configura da command line con l'opzione --enablerepo= .
 +
 
 +
db yum_repositories set dungog repository \
 +
Name 'SME Server 7 - dungog' \
 +
BaseURL 'http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/' \
 +
EnableGroups yes \
 +
GPGCheck no \
 +
Visible no \
 +
status disabled
 +
 
 +
*Come posso rimuovere i repository di yum?
 +
 
 +
db yum_repositories delete repositoryname
 +
signal-event yum-modify
 +
 
 +
*Come si disabilita un repository potendolo poi riabilitare in futuro con --enablerepo= ?
 +
 
 +
db yum_repositories repositoryname setprop status disabled
 +
signal-event yum-modify
    
===Client Computers===
 
===Client Computers===

Navigation menu