Editor, Editors, USER, admin, Bureaucrats, Check users, dev, editor, founder, Interface administrators, member, oversight, Suppressors, Administrators, translator
11,485
edits
Line 459: | Line 459: | ||
=== 1. Problemi con l'aggiornamento del sistema operativo === | === 1. Problemi con l'aggiornamento del sistema operativo ===V'''erifica la connessione di rete:'''{{Tooltip|2={{Tooltip|Verifica connessione con ping|Il comando <code>ping -c 4 google.com</code> verifica la connessione al server <code>google.com</code> inviando 4 pacchetti ICMP. L'output mostra: 1) Indirizzo IP risolto (<code>142.251.209.14</code>). 2) Risposte ricevute con dettagli come <code>ttl</code> (time to live) e <code>time</code> (tempo di andata e ritorno). 3) Statistiche finali, con 0% di perdita di pacchetti e tempi di andata e ritorno (minimo: 17.444 ms, medio: 19.270 ms, massimo: 20.462 ms). Questo comando è utile per diagnosticare problemi di rete.}}}}<blockquote><small>parallels@ubuntu-linux-22-04-02-desktop:'''~$ ping -c 4 google.com'''</small> | ||
<small>PING google.com (142.251.209.14) 56(84) bytes of data.</small> | <small>PING google.com (142.251.209.14) 56(84) bytes of data.</small> | ||
Line 477: | Line 476: | ||
<small>rtt min/avg/max/mdev = 17.444/19.270/20.462/1.254 ms</small></blockquote> | <small>rtt min/avg/max/mdev = 17.444/19.270/20.462/1.254 ms</small></blockquote> | ||
'''Controlla i log di <code>apt</code>''':{{Tooltip|2={{Tooltip|Log di manutenzione del sistema|Il log mostra operazioni di manutenzione del sistema con la rimozione di pacchetti kernel. 1) <code>linux-modules-extra-5.19.0-50-generic</code> e <code>linux-modules-5.19.0-50-generic</code> vengono rimossi. 2) Il database dei pacchetti viene letto (progresso dal 5% al 100%). 3) Le operazioni sono completate con i log che iniziano e terminano rispettivamente il <code>2025-01-04 09:43:38</code> e il <code>2025-01-04 09:43:55</code>. Questi log documentano l'aggiornamento o la pulizia del sistema.}}}}<blockquote>parallels@ubuntu-linux-22-04-02-desktop:'''~$ cat /var/log/apt/term.log | less''' | |||
<small>Log started: 2025-01-04 09:43:38</small> | |||
<small>(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 247516 files and directories currently installed.)</small> | |||
<small>Removing linux-modules-extra-5.19.0-50-generic (5.19.0-50.50) ...</small> | |||
<small>Log ended: 2025-01-04 09:43:44</small> | |||
<small>Log started: 2025-01-04 09:43:54</small> | |||
<small>(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 241413 files and directories currently installed.)</small> | |||
<small>Removing linux-modules-5.19.0-50-generic (5.19.0-50.50) ...</small> | |||
<small>Log ended: 2025-01-04 09:43:55</small></blockquote>'''Aggiorna la lista dei pacchetti con un mirror alternativo:'''{{Tooltip|2={{Tooltip|File di configurazione dei repository APT|Il file <code>/etc/apt/sources.list</code> definisce i repository da cui il sistema scarica pacchetti e aggiornamenti. Contiene: 1) Repository principali (<code>main</code> e <code>restricted</code>), per software supportato ufficialmente. 2) Repository <code>universe</code> e <code>multiverse</code> per software comunitario o non libero. 3) Repository <code>backports</code> per pacchetti aggiornati non inclusi nel rilascio originale. 4) Repository <code>security</code> per aggiornamenti critici. Questo file è fondamentale per gestire i pacchetti software su Ubuntu.}}}}<blockquote> <small>GNU nano 6.2 /etc/apt/sources.list </small> | |||
<small>#deb cdrom:[Ubuntu 22.04.2 LTS _Jammy Jellyfish_ - Release amd64 (20230223)]/ jammy main restricted</small> | |||
<small># See <nowiki>http://help.ubuntu.com/community/UpgradeNotes</nowiki> for how to upgrade to</small> | |||
<small># newer versions of the distribution.</small> | |||
<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy main restricted</small> | |||
<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy main restricted</small> | |||
<small>## Major bug fix updates produced after the final release of the</small> | |||
<small>## distribution.</small> | |||
<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates main restricted</small> | |||
<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates main restricted</small> | |||
<small>## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu</small> | |||
<small>## team. Also, please note that software in universe WILL NOT receive any</small> | |||
<small>## review or updates from the Ubuntu security team.</small> | |||
<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy universe</small> | |||
<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy universe</small> | |||
<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates universe</small> | |||
<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates universe</small> | |||
<small>## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu</small> | |||
<small>## team, and may not be under a free licence. Please satisfy yourself as to</small> | |||
<small>## your rights to use the software. Also, please note that software in</small> | |||
<small>## multiverse WILL NOT receive any review or updates from the Ubuntu</small> | |||
<small>## security team.</small> | |||
<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy multiverse</small> | |||
<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy multiverse</small> | |||
<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates multiverse</small> | |||
<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-updates multiverse</small> | |||
<small>## N.B. software from this repository may not have been tested as</small> | |||
<small>## extensively as that contained in the main release, although it includes</small> | |||
<small>## newer versions of some applications which may provide useful features.</small> | |||
<small>## Also, please note that software in backports WILL NOT receive any review</small> | |||
<small>## or updates from the Ubuntu security team.</small> | |||
<small>deb <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-backports main restricted universe multiverse</small> | |||
<small># deb-src <nowiki>http://us.archive.ubuntu.com/ubuntu/</nowiki> jammy-backports main restricted universe multiverse</small> | |||
<small>deb <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security main restricted</small> | |||
<small># deb-src <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security main restricted</small> | |||
<small>deb <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security universe</small> | |||
<small># deb-src <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security universe</small> | |||
<small>deb <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security multiverse</small> | |||
<small># deb-src <nowiki>http://security.ubuntu.com/ubuntu</nowiki> jammy-security multiverse</small> | |||
<small># This system was installed using small removable media</small> | |||
<small># (e.g. netinst, live or single CD). The matching "deb cdrom"</small> | |||
<small># entries were disabled at the end of the installation process.</small> | |||
<small># For information about how to configure apt package sources,</small> | |||
<small># see the sources.list(5) manual.</small></blockquote> |
edits