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 58: |
Line 58: |
| signal-event post-upgrade; signal-event reboot | | signal-event post-upgrade; signal-event reboot |
| | | |
− | Ora devi pulire la cache di yum forzando il sistema ad usare i repositories di default | + | Ora si deve svuotare la cache di yum e forzare il sistema ad usare i repositories di default |
| yum clean all | | yum clean all |
| yum --disablerepo=* \ | | yum --disablerepo=* \ |
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)' ? |
− | This means Yum is working out what updates are available.
| + | Significa che yum sta cercando eventuali update presenti. |
− | Occasionally such as when large sets of updates are released this could take 10+ minutes to complete
| + | 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? |
− | If for some reason you can't get yum to work correctly, try:
| + | Se per qualche motivo yum non dovesse funzionare correttamente puoi provare |
| yum clean metadata | | yum clean metadata |
− | or possibly 'yum clean all' | + | oppure 'yum clean all' |
| 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=== |