Niente da fare
per rimuovere ho usato
Codice:
sudo apt --purge autoremove thonny
Da terminale è successo:
Codice:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti saranno RIMOSSI:
docutils-common* mypy* pylint3* python3-astroid* python3-asttokens*
python3-docutils* python3-isort* python3-jedi* python3-lazy-object-proxy*
python3-logilab-common* python3-mccabe* python3-mypy*
python3-mypy-extensions* python3-parso* python3-pygments* python3-roman*
python3-send2trash* python3-thonny* python3-typed-ast* python3-wrapt*
sgml-base* thonny* xml-core* xsel*
0 aggiornati, 0 installati, 24 da rimuovere e 0 non aggiornati.
Dopo quest'operazione, verranno liberati 23,1 MB di spazio su disco.
Continuare? [S/n] s
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 30, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
(Lettura del database... 114205 file e directory attualmente installati.)
Rimozione di python3-thonny (3.3.10-1+rpt1)...
Rimozione di thonny (3.3.10-1+rpt1)...
Rimozione di python3-docutils (0.14+dfsg-4)...
Rimozione di docutils-common (0.14+dfsg-4)...
Rimozione di mypy (0.670-2)...
Rimozione di pylint3 (2.2.2-1)...
Rimozione di python3-astroid (2.1.0-2)...
Rimozione di python3-asttokens (1.1.13-2)...
Rimozione di python3-isort (4.3.4+ds1-1.1)...
Rimozione di python3-jedi (0.13.2-1)...
Rimozione di python3-lazy-object-proxy (1.3.1-1+b1)...
Rimozione di python3-logilab-common (1.4.2-1)...
Rimozione di python3-mccabe (0.6.1-2)...
Rimozione di python3-mypy (0.670-2)...
Rimozione di python3-mypy-extensions (0.4.1-1)...
Rimozione di python3-parso (0.3.1-1)...
Rimozione di python3-pygments (2.3.1+dfsg-1+deb10u2)...
Rimozione di python3-roman (2.0.0-3)...
Rimozione di python3-send2trash (1.5.0-1)...
Rimozione di python3-typed-ast (1.3.1-1)...
Rimozione di python3-wrapt (1.10.11-1+b1)...
Rimozione di xml-core (0.18+nmu1)...
Rimozione di sgml-base (1.29)...
Rimozione di xsel (1.2.0+git9bfc13d.20180109-1)...
Elaborazione dei trigger per mime-support (3.62)...
Elaborazione dei trigger per hicolor-icon-theme (0.17-2)...
Elaborazione dei trigger per gnome-menus (3.31.4-3)...
Elaborazione dei trigger per man-db (2.8.5-2+deb10u1)...
Elaborazione dei trigger per shared-mime-info (1.10-1)...
Elaborazione dei trigger per desktop-file-utils (0.23-4)...
(Lettura del database... 110136 file e directory attualmente installati.)
Eliminazione dei file di configurazione di xml-core (0.18+nmu1)...
Eliminazione dei file di configurazione di docutils-common (0.14+dfsg-4)...
dpkg: attenzione: nel rimuovere docutils-c ommon, la directory "/etc/sgml" è risultata non vuota e non viene rimossa
Eliminazione dei file di configurazione di sgml-base (1.29)...
ed infatti il lanciatore di Thonny è sparito
poi ho usato il seguente comando per reinstallarlo
Codice:
sudo apt install python3-tk thonny
il terminale ha risposto così
Codice:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
python3-tk è già alla versione più recente (3.7.3-1).
I seguenti pacchetti aggiuntivi saranno inoltre installati:
docutils-common mypy pylint3 python3-astroid python3-asttokens
python3-docutils python3-isort python3-jedi python3-lazy-object-proxy
python3-logilab-common python3-mccabe python3-mypy python3-mypy-extensions
python3-parso python3-pygments python3-roman python3-send2trash
python3-typed-ast python3-wrapt sgml-base xml-core xsel
Pacchetti suggeriti:
mypy-doc pylint-doc docutils-doc texlive-lang-french texlive-latex-base
texlive-latex-recommended python-pygments-doc ttf-bitstream-vera
sgml-base-doc python3-distro debhelper
I seguenti pacchetti NUOVI saranno installati:
docutils-common mypy pylint3 python3-astroid python3-asttokens
python3-docutils python3-isort python3-jedi python3-lazy-object-proxy
python3-logilab-common python3-mccabe python3-mypy python3-mypy-extensions
python3-parso python3-pygments python3-roman python3-send2trash
python3-typed-ast python3-wrapt sgml-base thonny xml-core xsel
0 aggiornati, 23 installati, 0 da rimuovere e 0 non aggiornati.
È necessario scaricare 3.891 kB di archivi.
Dopo quest'operazione, verranno occupati 23,1 MB di spazio su disco.
Continuare? [S/n] s
Scaricamento di:1 http://archive.raspberrypi.org/debian buster/main armhf thonny all 3.3.10-1+rpt1 [788 kB]
Scaricamento di:2 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf sgml-base all 1.29 [14,8 kB]
Scaricamento di:3 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf xml-core all 0.18+nmu1 [23,8 kB]
Scaricamento di:4 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf docutils-common all 0.14+dfsg-4 [167 kB]
Scaricamento di:5 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-typed-ast armhf 1.3.1-1 [117 kB]
Scaricamento di:6 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-mypy-extensions all 0.4.1-1 [5.234 B]
Scaricamento di:7 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-mypy all 0.670-2 [781 kB]
Scaricamento di:8 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf mypy all 0.670-2 [19,8 kB]
Scaricamento di:9 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-lazy-object-proxy armhf 1.3.1-1+b1 [20,1 kB]
Scaricamento di:10 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-wrapt armhf 1.10.11-1+b1 [34,8 kB]
Scaricamento di:11 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-astroid all 2.1.0-2 [141 kB]
Scaricamento di:12 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-isort all 4.3.4+ds1-1.1 [33,6 kB]
Scaricamento di:13 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-logilab-common all 1.4.2-1 [119 kB]
Scaricamento di:14 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-mccabe all 0.6.1-2 [9.358 B]
Scaricamento di:15 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf pylint3 all 2.2.2-1 [419 kB]
Scaricamento di:16 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-asttokens all 1.1.13-2 [12,8 kB]
Scaricamento di:17 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-roman all 2.0.0-3 [8.768 B]
Scaricamento di:18 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-docutils all 0.14+dfsg-4 [378 kB]
Scaricamento di:19 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-parso all 0.3.1-1 [58,6 kB]
Scaricamento di:20 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf python3-jedi all 0.13.2-1 [118 kB]
Scaricamento di:21 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-pygments all 2.3.1+dfsg-1+deb10u2 [594 kB]
Scaricamento di:22 http://ftp.arnes.si/mirrors/raspbian/raspbian buster/main armhf python3-send2trash all 1.5.0-1 [10,3 kB]
Scaricamento di:23 http://raspbian.mirror.garr.it/mirrors/raspbian/raspbian buster/main armhf xsel armhf 1.2.0+git9bfc13d.20180109-1 [18,4 kB]
Recuperati 3.891 kB in 6s (603 kB/s)
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 30, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Selezionato il pacchetto sgml-base non precedentemente selezionato.
(Lettura del database... 110132 file e directory attualmente installati.)
Preparativi per estrarre .../00-sgml-base_1.29_all.deb...
Estrazione di sgml-base (1.29)...
Selezionato il pacchetto xml-core non precedentemente selezionato.
Preparativi per estrarre .../01-xml-core_0.18+nmu1_all.deb...
Estrazione di xml-core (0.18+nmu1)...
Selezionato il pacchetto docutils-common non precedentemente selezionato.
Preparativi per estrarre .../02-docutils-common_0.14+dfsg-4_all.deb...
Estrazione di docutils-common (0.14+dfsg-4)...
Selezionato il pacchetto python3-typed-ast non precedentemente selezionato.
Preparativi per estrarre .../03-python3-typed-ast_1.3.1-1_armhf.deb...
Estrazione di python3-typed-ast (1.3.1-1)...
Selezionato il pacchetto python3-mypy-extensions non precedentemente selezionato.
Preparativi per estrarre .../04-python3-mypy-extensions_0.4.1-1_all.deb...
Estrazione di python3-mypy-extensions (0.4.1-1)...
Selezionato il pacchetto python3-mypy non precedentemente selezionato.
Preparativi per estrarre .../05-python3-mypy_0.670-2_all.deb...
Estrazione di python3-mypy (0.670-2)...
Selezionato il pacchetto mypy non precedentemente selezionato.
Preparativi per estrarre .../06-mypy_0.670-2_all.deb...
Estrazione di mypy (0.670-2)...
Selezionato il pacchetto python3-lazy-object-proxy non precedentemente selezionato.
Preparativi per estrarre .../07-python3-lazy-object-proxy_1.3.1-1+b1_armhf.deb...
Estrazione di python3-lazy-object-proxy (1.3.1-1+b1)...
Selezionato il pacchetto python3-wrapt non precedentemente selezionato.
Preparativi per estrarre .../08-python3-wrapt_1.10.11-1+b1_armhf.deb...
Estrazione di python3-wrapt (1.10.11-1+b1)...
Selezionato il pacchetto python3-astroid non precedentemente selezionato.
Preparativi per estrarre .../09-python3-astroid_2.1.0-2_all.deb...
Estrazione di python3-astroid (2.1.0-2)...
Selezionato il pacchetto python3-isort non precedentemente selezionato.
Preparativi per estrarre .../10-python3-isort_4.3.4+ds1-1.1_all.deb...
Estrazione di python3-isort (4.3.4+ds1-1.1)...
Selezionato il pacchetto python3-logilab-common non precedentemente selezionato.
Preparativi per estrarre .../11-python3-logilab-common_1.4.2-1_all.deb...
Estrazione di python3-logilab-common (1.4.2-1)...
Selezionato il pacchetto python3-mccabe non precedentemente selezionato.
Preparativi per estrarre .../12-python3-mccabe_0.6.1-2_all.deb...
Estrazione di python3-mccabe (0.6.1-2)...
Selezionato il pacchetto pylint3 non precedentemente selezionato.
Preparativi per estrarre .../13-pylint3_2.2.2-1_all.deb...
Estrazione di pylint3 (2.2.2-1)...
Selezionato il pacchetto python3-asttokens non precedentemente selezionato.
Preparativi per estrarre .../14-python3-asttokens_1.1.13-2_all.deb...
Estrazione di python3-asttokens (1.1.13-2)...
Selezionato il pacchetto python3-roman non precedentemente selezionato.
Preparativi per estrarre .../15-python3-roman_2.0.0-3_all.deb...
Estrazione di python3-roman (2.0.0-3)...
Selezionato il pacchetto python3-docutils non precedentemente selezionato.
Preparativi per estrarre .../16-python3-docutils_0.14+dfsg-4_all.deb...
Estrazione di python3-docutils (0.14+dfsg-4)...
Selezionato il pacchetto python3-parso non precedentemente selezionato.
Preparativi per estrarre .../17-python3-parso_0.3.1-1_all.deb...
Estrazione di python3-parso (0.3.1-1)...
Selezionato il pacchetto python3-jedi non precedentemente selezionato.
Preparativi per estrarre .../18-python3-jedi_0.13.2-1_all.deb...
Estrazione di python3-jedi (0.13.2-1)...
Selezionato il pacchetto python3-pygments non precedentemente selezionato.
Preparativi per estrarre .../19-python3-pygments_2.3.1+dfsg-1+deb10u2_all.deb...
Estrazione di python3-pygments (2.3.1+dfsg-1+deb10u2)...
Selezionato il pacchetto python3-send2trash non precedentemente selezionato.
Preparativi per estrarre .../20-python3-send2trash_1.5.0-1_all.deb...
Estrazione di python3-send2trash (1.5.0-1)...
Selezionato il pacchetto thonny non precedentemente selezionato.
Preparativi per estrarre .../21-thonny_3.3.10-1+rpt1_all.deb...
Estrazione di thonny (3.3.10-1+rpt1)...
Selezionato il pacchetto xsel non precedentemente selezionato.
Preparativi per estrarre .../22-xsel_1.2.0+git9bfc13d.20180109-1_armhf.deb...
Estrazione di xsel (1.2.0+git9bfc13d.20180109-1)...
Configurazione di xsel (1.2.0+git9bfc13d.20180109-1)...
Configurazione di python3-send2trash (1.5.0-1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-parso (0.3.1-1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-logilab-common (1.4.2-1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-typed-ast (1.3.1-1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-asttokens (1.1.13-2)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-mypy-extensions (0.4.1-1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-roman (2.0.0-3)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-pygments (2.3.1+dfsg-1+deb10u2)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-wrapt (1.10.11-1+b1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-mypy (0.670-2)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-isort (4.3.4+ds1-1.1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di mypy (0.670-2)...
Configurazione di python3-mccabe (0.6.1-2)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di sgml-base (1.29)...
Configurazione di python3-lazy-object-proxy (1.3.1-1+b1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-jedi (0.13.2-1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di python3-astroid (2.1.0-2)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di xml-core (0.18+nmu1)...
Configurazione di pylint3 (2.2.2-1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Elaborazione dei trigger per desktop-file-utils (0.23-4)...
Elaborazione dei trigger per mime-support (3.62)...
Elaborazione dei trigger per hicolor-icon-theme (0.17-2)...
Elaborazione dei trigger per gnome-menus (3.31.4-3)...
Elaborazione dei trigger per man-db (2.8.5-2+deb10u1)...
Elaborazione dei trigger per shared-mime-info (1.10-1)...
Elaborazione dei trigger per sgml-base (1.29)...
Configurazione di docutils-common (0.14+dfsg-4)...
Elaborazione dei trigger per sgml-base (1.29)...
Configurazione di python3-docutils (0.14+dfsg-4)...
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst-buildhtml per fornire /usr/bin/rst-buildhtml (rst-buildhtml) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2html per fornire /usr/bin/rst2html (rst2html) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2html4 per fornire /usr/bin/rst2html4 (rst2html4) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2html5 per fornire /usr/bin/rst2html5 (rst2html5) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2latex per fornire /usr/bin/rst2latex (rst2latex) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2man per fornire /usr/bin/rst2man (rst2man) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2odt per fornire /usr/bin/rst2odt (rst2odt) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2odt_prepstyles per fornire /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2pseudoxml per fornire /usr/bin/rst2pseudoxml (rst2pseudoxml) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2s5 per fornire /usr/bin/rst2s5 (rst2s5) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2xetex per fornire /usr/bin/rst2xetex (rst2xetex) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rst2xml per fornire /usr/bin/rst2xml (rst2xml) in modalità automatica
update-alternatives: viene usato /usr/share/docutils/scripts/python3/rstpep2html per fornire /usr/bin/rstpep2html (rstpep2html) in modalità automatica
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Configurazione di thonny (3.3.10-1+rpt1)...
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/python3.9/subprocess.py:935: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdin = io.open(p2cwrite, 'wb', bufsize)
Se uso il lanciatore la solita clessidra ma non succede niente
Saluti
LaPa