Buongiorno, quando su ubuntu 20 do

sudo apt upgrade

ricevo il seguente errore

Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto È utile eseguire "apt --fix-broken install" per correggere ciò. I seguenti pacchetti hanno dipendenze non soddisfatte: python3.9 : Dipende: libpython3.9-stdlib (= 3.9.0-5~20.04) ma la versione 3.9.0-1+focal2 è installata python3.9-minimal : Dipende: libpython3.9-minimal (= 3.9.0-5~20.04) ma la versione 3.9.0-1+focal2 è installata E: Dipendenze non soddisfatte. Provare "apt --fix-broken install" senza pacchetti (o specificare una soluzione).

Mentre quando do

apt --fix-broken install

mi restituisce:

dpkg: errore nell'elaborare l'archivio /var/cache/apt/archives/libpython3.9-stdl ib_3.9.0-5~20.04_amd64.deb (--unpack): tentata sovrascrittura di "/usr/lib/python3.9/_sysconfigdata__linux_x86_64-linu x-gnu.py" presente anche nel pacchetto libpython3.9-minimal:amd64 3.9.0-1+focal2 Preparativi per estrarre .../libpython3.9-minimal_3.9.0-5~20.04_amd64.deb... Estrazione di libpython3.9-minimal:amd64 (3.9.0-5~20.04) su (3.9.0-1+focal2)... dpkg: errore nell'elaborare l'archivio /var/cache/apt/archives/libpython3.9-mini mal_3.9.0-5~20.04_amd64.deb (--unpack): tentata sovrascrittura di "/usr/lib/python3.9/typing.py" presente anche nel pac chetto libpython3.9-stdlib:amd64 3.9.0-1+focal2 dpkg-deb: errore: il sottoprocesso paste è stato terminato dal segnale (Pipe int errotta) Si sono verificati degli errori nell'elaborazione: /var/cache/apt/archives/libpython3.9-stdlib_3.9.0-5~20.04_amd64.deb /var/cache/apt/archives/libpython3.9-minimal_3.9.0-5~20.04_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Come posso risolvere? Grazie!

Questa domanda è segnata come "wiki".

chiesto 01 Nov '20, 11:43

jonny92's gravatar image

jonny92
20112

hai dato prima: sudo apt update

e poi:

sudo apt --fix-broken install

(01 Nov '20, 14:23) sacarde sacarde's gravatar image

Prima ho dato update, poi uprgade e infine l'install

(01 Nov '20, 14:51) jonny92 jonny92's gravatar image

provato anche: sudo apt-get -f install

(01 Nov '20, 16:52) sacarde sacarde's gravatar image

12avanti »

Dando

sudo apt-get -f install

mi dà il seguente errore

(Lettura del database... 398596 file e directory attualmente installati.)
Preparativi per estrarre .../libpython3.9-stdlib_3.9.0-5~20.04_amd64.deb...
Estrazione di libpython3.9-stdlib:amd64 (3.9.0-5~20.04) su (3.9.0-1+focal2)...
dpkg: errore nell'elaborare l'archivio /var/cache/apt/archives/libpython3.9-stdlib_3.9.0-5~20.04_amd64.deb (--unpack):
 tentata sovrascrittura di "/usr/lib/python3.9/_sysconfigdata__linux_x86_64-linux-gnu.py" presente anche nel pacchetto libpython3.9-minimal:amd64 3.9.0-1+focal2
Preparativi per estrarre .../libpython3.9-minimal_3.9.0-5~20.04_amd64.deb...
Estrazione di libpython3.9-minimal:amd64 (3.9.0-5~20.04) su (3.9.0-1+focal2)...
dpkg: errore nell'elaborare l'archivio /var/cache/apt/archives/libpython3.9-minimal_3.9.0-5~20.04_amd64.deb (--unpack):
 tentata sovrascrittura di "/usr/lib/python3.9/typing.py" presente anche nel pacchetto libpython3.9-stdlib:amd64 3.9.0-1+focal2
dpkg-deb: errore: il sottoprocesso paste è stato terminato dal segnale (Pipe interrotta)
Si sono verificati degli errori nell'elaborazione:
 /var/cache/apt/archives/libpython3.9-stdlib_3.9.0-5~20.04_amd64.deb
 /var/cache/apt/archives/libpython3.9-minimal_3.9.0-5~20.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
coll. permanente

ha risposto 01 Nov '20, 17:44

jonny92's gravatar image

jonny92
20112

Per installare python3.9, credo di aver usato

sudo apt install python3.9

Dico credo, perché l'ho fatto mesi fa. Però non ho seguito la guida di Millucci. Seguendola mi dà ancora errore su questo conflitto

È utile eseguire "apt --fix-broken install" per correggere ciò. I seguenti pacchetti hanno dipendenze non soddisfatte: python3.9 : Dipende: libpython3.9-stdlib (= 3.9.0-5~20.04) ma la versione 3.9.0-1+focal2 sta per essere installata python3.9-minimal : Dipende: libpython3.9-minimal (= 3.9.0-5~20.04) ma la versione 3.9.0-1+focal2 sta per essere installata E: Dipendenze non soddisfatte. Provare "apt --fix-broken install" senza pacchetti (o specificare una soluzione).

coll. permanente

ha risposto 01 Nov '20, 18:37

jonny92's gravatar image

jonny92
20112

A questo punto, non sarebbe meglio rimuovere python3.9 e reinstallarlo in modo pulito? Se sì, come dovrei fare? E grazie davvero!

(01 Nov '20, 18:50) jonny92 jonny92's gravatar image
  • non hai aggiunto ppa?

  • si, prova a disinstallarlo

(01 Nov '20, 21:09) sacarde sacarde's gravatar image

Anche quando provo a dare

sudo apt remove python3.9

Mi dà il seguente errore:

Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto È utile eseguire "apt --fix-broken install" per correggere ciò. I seguenti pacchetti hanno dipendenze non soddisfatte: python3.9-minimal : Dipende: libpython3.9-minimal (= 3.9.0-5~20.04) ma la versione 3.9.0-1+focal2 sta per essere installata Raccomanda: python3.9 ma non sta per essere installato E: Dipendenze non soddisfatte. Provare "apt --fix-broken install" senza pacchetti (o specificare una soluzione).

Francamente non so più che fare!

coll. permanente

ha risposto 01 Nov '20, 22:54

jonny92's gravatar image

jonny92
20112

che hai da: dpkg -l | grep python

(01 Nov '20, 23:31) sacarde sacarde's gravatar image

Dando

dpkg -l | grep python

ottengo

ii libpython2-dev:amd64
2.7.17-2ubuntu4 amd64 header files and a static library for Python2 ii libpython2-stdlib:amd64
2.7.17-2ubuntu4 amd64 interactive high-level object-oriented language (Python2) ii libpython2.7:amd64
2.7.18-1~20.04 amd64 Shared Python runtime library (version 2.7) ii libpython2.7-dev:amd64
2.7.18-1~20.04 amd64 Header files and a static library for Python (v2.7) ii libpython2.7-minimal:amd64
2.7.18-1~20.04 amd64 Minimal subset of the Python language (version 2.7) ii libpython2.7-stdlib:amd64
2.7.18-1~20.04 amd64 Interactive high-level object-oriented language (standard library, version 2.7) ii libpython3-stdlib:amd64
3.8.2-0ubuntu2 amd64 interactive high-level object-oriented language (default python3 version) ii libpython3.6:amd64
3.6.12-1+focal1 amd64 Shared Python runtime library (version 3.6) ii libpython3.6-minimal:amd64
3.6.12-1+focal1 amd64 Minimal subset of the Python language (version 3.6) ii libpython3.6-stdlib:amd64
3.6.12-1+focal1 amd64 Interactive high-level object-oriented language (standard library, version 3.6) ii libpython3.7-minimal:amd64
3.7.9-1+focal1 amd64 Minimal subset of the Python language (version 3.7) ii libpython3.7-stdlib:amd64
3.7.9-1+focal1 amd64 Interactive high-level object-oriented language (standard library, version 3.7) ii libpython3.8-minimal:amd64
3.8.5-1+bionic1 amd64 Minimal subset of the Python language (version 3.8) ii libpython3.8-stdlib:amd64
3.8.5-1+bionic1 amd64 Interactive high-level object-oriented language (standard library, version 3.8) ii libpython3.9-minimal:amd64
3.9.0-1+focal2 amd64 Minimal subset of the Python language (version 3.9) ii libpython3.9-stdlib:amd64
3.9.0-1+focal2 amd64 Interactive high-level object-oriented language (standard library, version 3.9) rc python
2.7.15~rc1-1 amd64 interactive high-level object-oriented language (default version) ii python-apt-common
2.0.0ubuntu0.20.04.1 all Python interface to libapt-pkg (locales) ii python-backports.functools-lru-cache
1.5-3build1 all backport of functools.lru_cache from Python 3.3 to Python 2 ii python-cycler
0.10.0-1 all composable kwarg iterator (Python 2) ii python-dateutil
2.7.3-3ubuntu1 all powerful extensions to the standard Python datetime module ii python-dev-is-python2
2.7.17-4 all symlinks /usr/bin/python-config to the DEPRECATED python2-config ii python-is-python2
2.7.17-4 all symlinks /usr/bin/python to the DEPRECATED python2 ii python-lldb-6.0
1:6.0.1-14
amd64 Next generation, high-performance debugger, python lib ii python-matplotlib
2.1.1-2ubuntu3 amd64 Python based plotting system in a style similar to Matlab ii python-matplotlib-data
3.1.2-1ubuntu4 all Python based plotting system (data package) ii python-numpy 1:1.16.5-2ubuntu7
amd64 Numerical Python adds a fast array facility to the Python language ii python-olefile
0.46-2 all Python module to read/write MS OLE2 files ii python-pil:amd64
6.2.1-3 amd64 Python Imaging Library (Pillow fork) ii python-pip-whl
20.0.2-5ubuntu1.1 all Python package installer ii python-pkg-resources
44.0.0-2 all Package Discovery and Resource Access using pkg_resources ii python-pyparsing
2.4.6-1 all alternative to creating and executing simple grammars - Python 2.7 ii python-setuptools 44.0.0-2 all Python Distutils Enhancements ii python-six
1.14.0-2 all Python 2 and 3 compatibility library (Python 2 interface) ii python-subprocess32
3.5.4-2 amd64 backport of the Py3 stdlib subprocess module for Py2 ii python-talloc
2.1.10-2ubuntu1 amd64 hierarchical pool based memory allocator - Python bindings ii python-tk
2.7.18-1 amd64 Tkinter - Writing Tk applications with Python2 ii python-tz
2019.3-1 all Python version of the Olson timezone database ii python2
2.7.17-2ubuntu4 amd64 interactive high-level object-oriented language (Python2 version) ii python2-dev
2.7.17-2ubuntu4 amd64 header files and a static library for Python2 ii python2-minimal
2.7.17-2ubuntu4 amd64 minimal subset of the Python2 language ii python2.7
2.7.18-1~20.04 amd64 Interactive high-level object-oriented language (version 2.7) ii python2.7-dev
2.7.18-1~20.04 amd64 Header files and a static library for Python (v2.7) ii python2.7-minimal
2.7.18-1~20.04 amd64 Minimal subset of the Python language (version 2.7) ii python3
3.8.2-0ubuntu2 amd64 interactive high-level object-oriented language (default python3 version) ii python3-apport
2.20.11-0ubuntu27.10 all Python 3 library for Apport crash report handling ii python3-apt
2.0.0ubuntu0.20.04.1 amd64 Python 3 interface to libapt-pkg ii python3-aptdaemon
1.1.1+bzr982-0ubuntu32.2 all Python 3 module for the server and client of aptdaemon ii python3-aptdaemon.gtk3widgets
1.1.1+bzr982-0ubuntu32.2 all Python 3 GTK+ 3 widgets to run an aptdaemon client ii python3-bcrypt
3.1.7-2ubuntu1 amd64 password hashing library for Python 3 ii python3-blinker
1.4+dfsg1-0.3ubuntu1 all fast, simple object-to-object and broadcast signaling library ii python3-brlapi:amd64
6.0+dfsg-4ubuntu6 amd64 Braille display access via BRLTTY - Python3 bindings ii python3-cairo:amd64
1.16.2-2ubuntu2 amd64 Python3 bindings for the Cairo vector graphics library ii python3-certifi
2019.11.28-1 all root certificates for validating SSL certs and verifying TLS hosts (python3) ii python3-cffi-backend
1.14.0-1build1 amd64 Foreign Function Interface for Python 3 calling C code - runtime ii python3-chardet 3.0.4-4build1 all universal character encoding detector for Python3 ii python3-click
7.0-3 all Wrapper around optparse for command line utilities - Python 3.x ii python3-colorama 0.4.3-1build1 all Cross-platform colored terminal text in Python - Python 3.x ii python3-commandnotfound
20.04.4 all Python 3 bindings for command-not-found. ii python3-crypto 2.6.1-13ubuntu2 amd64 cryptographic algorithms and protocols for Python 3 ii python3-cryptography
2.8-3 amd64 Python library exposing cryptographic recipes and primitives (Python 3) ii python3-cups
1.9.73-3build1 amd64 Python3 bindings for CUPS ii python3-cupshelpers
1.5.12-0ubuntu1 all Python utility modules around the CUPS printing system ii python3-cycler
0.10.0-3 all composable kwarg iterator (Python 3) ii python3-dateutil
2.7.3-3ubuntu1 all powerful extensions to the standard Python 3 datetime module ii python3-dbus
1.2.16-1build1 amd64 simple interprocess messaging system (Python 3 interface) ii python3-debconf
1.5.73 all interact with debconf from Python 3 ii python3-debian
0.1.36ubuntu1 all Python 3 modules to work with Debian-related data formats ii python3-defer
1.0.6-2.1 all Small framework for asynchronous programming (Python 3) ii python3-distro
1.4.0-1 all Linux OS platform information API ii python3-distro-info
0.23ubuntu1 all information about distributions' releases (Python 3 module) ii python3-distupgrade
1:20.04.28
all manage release upgrades ii python3-distutils
3.8.5-1~20.04.1 all distutils package for Python 3.x ii python3-entrypoints
0.3-2ubuntu1 all Discover and load entry points from installed packages (Python 3) ii python3-fasteners
0.14.1-2 all provides useful locks - Python 3.x ii python3-future
0.18.2-2 all Clean single-source support for Python 3 and 2 - Python 3.x ii python3-gdbm:amd64 3.8.5-1~20.04.1 amd64 GNU dbm database support for Python 3.x ii python3-gi
3.36.0-1 amd64 Python 3 bindings for gobject-introspection libraries ii python3-gi-cairo
3.36.0-1 amd64 Python 3 Cairo bindings for the GObject library ii python3-greenlet
0.4.15-4.1 amd64 Lightweight in-process concurrent programming (python3) ii python3-httplib2
0.14.0-1ubuntu1 all comprehensive HTTP client library written for Python3 ii python3-ibus-1.0
1.5.22-2ubuntu2.1 all Intelligent Input Bus - introspection overrides for Python (Python 3) ii python3-idna
2.8-1 all Python IDNA2008 (RFC 5891) handling (Python 3) rc python3-jsonschema
2.6.0-2 all An(other) implementation of JSON Schema (Draft 3 and 4) - Python 3.x ii python3-jwt
1.7.1-2ubuntu2 all Python 3 implementation of JSON Web Token ii python3-keyring 18.0.1-2ubuntu1 all store and access your passwords safely - Python 3 version of the package ii python3-keyrings.alt
3.4.0-1 all alternate backend implementations for python3-keyring ii python3-kiwisolver
1.0.1-3build1 amd64 fast implementation of the Cassowary constraint solver - Python 3.X ii python3-launchpadlib
1.10.13-1 all Launchpad web services client library (Python 3) ii python3-lazr.restfulclient
0.14.2-2build1 all client for lazr.restful-based web services (Python 3) ii python3-lazr.uri
1.0.3-4build1 all library for parsing, manipulating, and generating URIs ii python3-lib2to3
3.8.5-1~20.04.1 all Interactive high-level object-oriented language (lib2to3) ii python3-lockfile
1:0.12.2-2ubuntu2
all file locking library for Python — Python 3 library ii python3-louis
3.12.0-3 all Python bindings for liblouis ii python3-macaroonbakery
1.3.1-1 all Higher-level macaroon operations for Python 3 ii python3-mako
1.1.0+ds1-1ubuntu2 all fast and lightweight templating for the Python 3 platform ii python3-markupsafe
1.1.0-1build2 amd64 HTML/XHTML/XML string library for Python 3 ii python3-matplotlib
3.1.2-1ubuntu4 amd64 Python based plotting system in a style similar to Matlab (Python 3) ii python3-minimal
3.8.2-0ubuntu2 amd64 minimal subset of the Python language (default python3 version) ii python3-monotonic
1.5-0ubuntu2 all implementation of time.monotonic() - Python 3.x ii python3-msgpack
0.6.2-1 amd64 Python 3 implementation of MessagePack format ii python3-nacl 1.3.0-5 amd64 Python bindings to libsodium (Python 3) ii python3-neovim
0.4.1-1 all transitional dummy package ii python3-netifaces
0.10.4-1ubuntu4 amd64 portable network interface information - Python 3.x rc python3-notebook
5.2.2-1 all Jupyter interactive notebook (Python 3) ii python3-numpy 1:1.17.4-5ubuntu3
amd64 Fast array facility to the Python 3 language ii python3-oauthlib
3.1.0-1ubuntu2 all generic, spec-compliant implementation of OAuth for Python3 ii python3-olefile
0.46-2 all Python module to read/write MS OLE2 files ii python3-paramiko
2.6.0-2 all Make ssh v2 connections (Python 3) ii python3-pexpect
4.6.0-1build1 all Python 3 module for automating interactive applications ii python3-pil:amd64
7.0.0-4ubuntu0.1 amd64 Python Imaging Library (Python3) ii python3-pil.imagetk:amd64
7.0.0-4ubuntu0.1 amd64 Python Imaging Library - ImageTk Module (Python3) ii python3-pip
20.0.2-5ubuntu1.1 all Python package installer ii python3-pkg-resources
45.2.0-1 all Package Discovery and Resource Access using pkg_resources ii python3-problem-report
2.20.11-0ubuntu27.10 all Python 3 library to handle problem reports ii python3-protobuf
3.6.1.3-2ubuntu5 amd64 Python 3 bindings for protocol buffers ii python3-ptyprocess
0.6.0-1ubuntu1 all Run a subprocess in a pseudo terminal from Python 3 ii python3-pyatspi
2.36.0-1 all Assistive Technology Service Provider Interface - Python3 bindings ii python3-pygments
2.3.1+dfsg-1ubuntu2 all syntax highlighting package written in Python 3 ii python3-pymacaroons
0.13.0-3 all Macaroon library for Python 3 ii python3-pynvim
0.4.1-1 all Python3 library for scripting Neovim processes through its msgpack-rpc API ii python3-pyparsing 2.4.6-1 all alternative to creating and executing simple grammars - Python 3.x ii python3-requests 2.22.0-2ubuntu1 all elegant and simple HTTP library for Python3, built for human beings ii python3-requests-unixsocket 0.2.0-2 all Use requests to talk HTTP via a UNIX domain socket - Python 3.x ii python3-rfc3339
1.1-2 all parser and generator of RFC 3339-compliant timestamps (Python 3) ii python3-secretstorage
2.3.1-2ubuntu1 all Python module for storing secrets - Python 3.x version ii python3-setuptools
45.2.0-1 all Python3 Distutils Enhancements ii python3-simplejson
3.16.0-2ubuntu2 amd64 simple, fast, extensible JSON encoder/decoder for Python 3.x ii python3-sip
4.19.21+dfsg-1build1 amd64 Python 3/C++ bindings generator runtime library ii python3-six
1.14.0-2 all Python 2 and 3 compatibility library (Python 3 interface) ii python3-software-properties
0.98.9.2 all manage the repositories that you install software from ii python3-speechd
0.9.1-4 all Python interface to Speech Dispatcher ii python3-systemd 234-3build2
amd64 Python 3 bindings for systemd ii python3-tk:amd64
3.8.5-1~20.04.1 amd64 Tkinter - Writing Tk applications with Python 3.x ii python3-tz
2019.3-1 all Python3 version of the Olson timezone database ii python3-update-manager
1:20.04.10.1
all python 3.x module for update-manager ii python3-urllib3
1.25.8-2ubuntu0.1 all HTTP library with thread-safe connection pooling for Python3 ii python3-wadllib
1.3.3-3build1 all Python 3 library for navigating WADL files ii python3-wheel
0.34.2-1 all built-package format for Python ii python3-xdg
0.26-1ubuntu1 all Python 3 library to access freedesktop.org standards ii python3-xkit
0.5.0ubuntu4 all library for the manipulation of xorg.conf files (Python 3) ii python3-yaml
5.3.1-1 amd64 YAML parser and emitter for Python3 rc python3.6-minimal
3.6.9-1~18.04ubuntu1.1 amd64 Minimal subset of the Python language (version 3.6) ii python3.7
3.7.9-1+focal1 amd64 Interactive high-level object-oriented language (version 3.7) ii python3.7-distutils
3.7.9-1+focal1 all distutils package for Python (version 3.7) ii python3.7-lib2to3
3.7.9-1+focal1 all lib2to3 package for Python (version 3.7) ii python3.7-minimal
3.7.9-1+focal1 amd64 Minimal subset of the Python language (version 3.7) ii python3.8
3.8.5-1+bionic1 amd64 Interactive high-level object-oriented language (version 3.8) ii python3.8-minimal
3.8.5-1+bionic1 amd64 Minimal subset of the Python language (version 3.8) iU python3.9
3.9.0-5~20.04 amd64 Interactive high-level object-oriented language (version 3.9) iU python3.9-minimal
3.9.0-5~20.04 amd64 Minimal subset of the Python language (version 3.9)

coll. permanente

ha risposto 02 Nov '20, 08:53

jonny92's gravatar image

jonny92
20112

proviamo a togliere:

sudo apt remove python3.9-minimal libpython3.9-minimal

(02 Nov '20, 09:07) sacarde sacarde's gravatar image

Innanzitutto grazie per la cortesia. Continuo a ricevere messaggi di errore.

root@jonny-VivoBook-ASUSLaptop-X512FB-F512FB:/home/jonny# sudo apt remove python3.9-minimal libpython3.9-minimal Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto È utile eseguire "apt --fix-broken install" per correggere ciò. I seguenti pacchetti hanno dipendenze non soddisfatte: libpython3.9-stdlib : Dipende: libpython3.9-minimal (= 3.9.0-1+focal2) ma non sta per essere installato python3.9 : Dipende: python3.9-minimal (= 3.9.0-5~20.04) ma non sta per essere installato Dipende: libpython3.9-stdlib (= 3.9.0-5~20.04) ma la versione 3.9.0-1+focal2 sta per essere installata E: Dipendenze non soddisfatte. Provare "apt --fix-broken install" senza pacchetti (o specificare una soluzione). root@jonny-VivoBook-ASUSLaptop-X512FB-F512FB:/home/jonny#

coll. permanente

ha risposto 02 Nov '20, 09:22

jonny92's gravatar image

jonny92
20112

  • dal cpomando: software-properties-gtk

vedi dei ppa attivi?

  • ti ricordi da quando e' nato il problema? cosa hai installato?
(02 Nov '20, 09:35) sacarde sacarde's gravatar image

Il problema è sorto quando da ubuntu 18 sono passato a 20 e ho installato le varie versioni di python con sudo apt install. Comunque di ppa attivo mi dà solo deadsnake. Non mi fa caricare l'immagine, ma su "Altro software" mi dà tre spunte. Due sono per i software di Canonical, l'altra è di deadsnake.

coll. permanente

ha risposto 02 Nov '20, 09:54

jonny92's gravatar image

jonny92
20112

qui le istruzioni di avanzamento:

https://wiki.ubuntu-it.org/Installazione/NoteAvanzamento

p.s. l'avanzamento si e' concluso correttamente?

(02 Nov '20, 09:57) sacarde sacarde's gravatar image

Che io sappia, sì. Ho seguito appunto questa guida ed ho fatto il salto tra la 18 e la 20 proprio perché sono due LTS

(02 Nov '20, 10:02) jonny92 jonny92's gravatar image

hai disattivato i ppa?

p.s. non capisco come hai fatto a installare il python3.9

(02 Nov '20, 10:18) sacarde sacarde's gravatar image

Guarda, su "Altro Software" ho tolto tutte le spunte. Quindi penso di sì. Devo aver dato un sudo apt install e qualche libreria standard di python 3.9. Non mi aveva mai dato problemi, ma ora fa casino con l'aggiornamento.

(02 Nov '20, 11:14) jonny92 jonny92's gravatar image

Anche l'errore

dpkg: errore nell'elaborare l'archivio /var/cache/apt/archives/libpython3.9-mini mal_3.9.0-5~20.04_amd64.deb (--unpack): tentata sovrascrittura di "/usr/lib/python3.9/typing.py" presente anche nel pacchetto libpython3.9-stdlib:amd64 3.9.0-1+focal2

ha poco senso, perché avevo anche rimosso typing.py per prova e continua a darmi lo stesso errore.

coll. permanente

ha risposto 02 Nov '20, 11:21

jonny92's gravatar image

jonny92
20112

provato a togliere tutto il python3.9*

sudo apt remove python3.9*

(02 Nov '20, 11:31) sacarde sacarde's gravatar image

Se può aiutare ho qualche avanzamento. Io ho rimosso la cartella python3.9, ma continuo a ricevere gli stessi errori. Quindi ho provato a dare i comandi:

apt-cache policy libpython3.9-stdlib

libpython3.9-stdlib: Installato: 3.9.0-1+focal2 Candidato: 3.9.0-5~20.04 Tabella versione: 3.9.0-5~20.04 500 500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages *** 3.9.0-1+focal2 100 100 /var/lib/dpkg/status root@jonny-VivoBook-ASUSLaptop-X512FB-F512FB E inoltre

apt-cache policy libpython3.9-minimal

libpython3.9-minimal: Installato: 3.9.0-1+focal2 Candidato: 3.9.0-5~20.04 Tabella versione: 3.9.0-5~20.04 500 500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages *** 3.9.0-1+focal2 100 100 /var/lib/dpkg/status root@jonny-VivoBook-ASUSLaptop-X512FB-F512FB:/home/jonny#

coll. permanente

ha risposto 02 Nov '20, 11:44

jonny92's gravatar image

jonny92
20112

Dando >apt remove python3.9 *

Mi restituisce tutto sto casino. La stessa cosa con la flag -f.

Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto Il pacchetto "aleph" non è installato e quindi non è stato rimosso Nota, viene selezionato "automake" al posto di "automake-1.16" Pacchetti virtuali come "awk" non possono essere rimossi Il pacchetto "bitmap" non è installato e quindi non è stato rimosso Il pacchetto "composite" non è installato e quindi non è stato rimosso Nota, viene selezionato "exuberant-ctags" al posto di "ctags" Il pacchetto "dconf" non è installato e quindi non è stato rimosso Il pacchetto "diff" non è installato e quindi non è stato rimosso Il pacchetto "dotnet" non è installato e quindi non è stato rimosso Nota, viene selezionato "texlive-base" al posto di "dvipdfmx" Il pacchetto "dvips" non è installato e quindi non è stato rimosso Pacchetti virtuali come "editor" non possono essere rimossi Il pacchetto "foo2zjs" non è installato e quindi non è stato rimosso Pacchetti virtuali come "gnome-www-browser" non possono essere rimossi Nota, viene selezionato "texlive-music" al posto di "gregorio" Il pacchetto "gs" non è installato e quindi non è stato rimosso Nota, viene selezionato "bind9-host" al posto di "host" Il pacchetto "iceauth" non è installato e quindi non è stato rimosso Il pacchetto "iconv" non è installato e quindi non è stato rimosso Nota, viene selezionato "ruby" al posto di "irb" Nota, viene selezionato "texlive-formats-extra" al posto di "jadetex" Nota, viene selezionato "texlive-binaries" al posto di "luatex" Il pacchetto "m2300w" non è installato e quindi non è stato rimosso Nota, viene selezionato "texlive-binaries" al posto di "makejvf" Nota, viene selezionato "man-db" al posto di "man" Il pacchetto "min12xxw" non è installato e quindi non è stato rimosso Nota, viene selezionato "genisoimage" al posto di "mkisofs" Nota, viene selezionato "texlive-music" al posto di "m-tx" Nota, viene selezionato "texlive-music" al posto di "musixtex" Il pacchetto "oclock" non è installato e quindi non è stato rimosso Nota, viene selezionato "poppler-utils" al posto di "pdftohtml" Il pacchetto "pgrep" non è installato e quindi non è stato rimosso Il pacchetto "pico" non è installato e quindi non è stato rimosso Pacchetti virtuali come "pinentry" non possono essere rimossi Pacchetti virtuali come "pinentry-x11" non possono essere rimossi Il pacchetto "pnm2ppa" non è installato e quindi non è stato rimosso Nota, viene selezionato "netpbm" al posto di "pnmtopng" Nota, viene selezionato "ruby" al posto di "rdoc" Il pacchetto "realpath" non è installato e quindi non è stato rimosso Nota, viene selezionato "grep" al posto di "rgrep" Il pacchetto "sensible-browser" non è installato e quindi non è stato rimosso Il pacchetto "sessreg" non è installato e quindi non è stato rimosso Il pacchetto "setpriv" non è installato e quindi non è stato rimosso Il pacchetto "sftp" non è installato e quindi non è stato rimosso Nota, viene selezionato "tcl" al posto di "tclsh" Nota, viene selezionato "texlive-plain-generic" al posto di "tex4ht" Il pacchetto "transset" non è installato e quindi non è stato rimosso Nota, viene selezionato "procps" al posto di "watch" Nota, viene selezionato "tk" al posto di "wish" Il pacchetto "x11perf" non è installato e quindi non è stato rimosso Il pacchetto "xbiff" non è installato e quindi non è stato rimosso Il pacchetto "xcalc" non è installato e quindi non è stato rimosso Il pacchetto "xclipboard" non è installato e quindi non è stato rimosso Il pacchetto "xclock" non è installato e quindi non è stato rimosso Il pacchetto "xconsole" non è installato e quindi non è stato rimosso Il pacchetto "xcursorgen" non è installato e quindi non è stato rimosso Il pacchetto "xditview" non è installato e quindi non è stato rimosso Il pacchetto "xeyes" non è installato e quindi non è stato rimosso Il pacchetto "xgamma" non è installato e quindi non è stato rimosso Il pacchetto "xgc" non è installato e quindi non è stato rimosso Il pacchetto "xhost" non è installato e quindi non è stato rimosso Il pacchetto "xload" non è installato e quindi non è stato rimosso Il pacchetto "xlogo" non è installato e quindi non è stato rimosso Il pacchetto "xmag" non è installato e quindi non è stato rimosso Il pacchetto "xman" non è installato e quindi non è stato rimosso Il pacchetto "xmessage" non è installato e quindi non è stato rimosso Nota, viene selezionato "texlive-formats-extra" al posto di "xmltex" Il pacchetto "xmodmap" non è installato e quindi non è stato rimosso Il pacchetto "xmore" non è installato e quindi non è stato rimosso Il pacchetto "xrandr" non è installato e quindi non è stato rimosso Il pacchetto "xrdb" non è installato e quindi non è stato rimosso Il pacchetto "xrefresh" non è installato e quindi non è stato rimosso Pacchetti virtuali come "x-session-manager" non possono essere rimossi Il pacchetto "xset" non è installato e quindi non è stato rimosso Il pacchetto "xsetmode" non è installato e quindi non è stato rimosso Il pacchetto "xsetpointer" non è installato e quindi non è stato rimosso Il pacchetto "xsetroot" non è installato e quindi non è stato rimosso Il pacchetto "xstdcmap" non è installato e quindi non è stato rimosso Pacchetti virtuali come "x-terminal-emulator" non possono essere rimossi Il pacchetto "xvidtune" non è installato e quindi non è stato rimosso Il pacchetto "xwd" non è installato e quindi non è stato rimosso Pacchetti virtuali come "x-window-manager" non possono essere rimossi Il pacchetto "xwud" non è installato e quindi non è stato rimosso Pacchetti virtuali come "x-www-browser" non possono essere rimossi

No apt package "nvim", but there is a snap with that name. Try "snap install nvim"

No apt package "rview", but there is a snap with that name. Try "snap install rview"

E: Impossibile trovare il pacchetto [ E: Impossibile trovare il pacchetto 2to3-2.7

Più una serie infinita di >E: Impossibile trovare vattelapesca

coll. permanente

ha risposto 02 Nov '20, 13:22

jonny92's gravatar image

jonny92
20112

  • i repository sono quelli della ubutnu-20.04? cosa hai in /etc/apt/sources.list

https://wiki.ubuntu-it.org/Repository/SourcesList

(02 Nov '20, 13:52) sacarde sacarde's gravatar image

Questo è il contenuto del file # deb cdrom:[Ubuntu 18.04.3 LTS Bionic Beaver - Release amd64 (20190805)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu focal main restricted
# deb-src http://it.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu focal-updates main restricted
# deb-src http://it.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu focal universe
# deb-src http://it.archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu focal-updates universe
# deb-src http://it.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu focal multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu focal-updates multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner

deb http://archive.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb https://repos.codelite.org/ubuntu2/ focal universe # disabilitato durante l'avanzamento a focal
# deb-src https://repos.codelite.org/ubuntu2/ bionic universe
deb http://archive.ubuntu.com/ubuntu focal-proposed restricted multiverse main universe
coll. permanente

ha risposto 02 Nov '20, 14:02

jonny92's gravatar image

jonny92
20112

  • cerca di ricordare come hai fatto a installare python3.9

oppure prova (un tentativo) di reinstallarla dal ppa che ti ho linkato

p.s. hai applicazioni e personalizzazioni sul sistema? valuta quanto ti "costerebbe" reinstallarlo da zero

(02 Nov '20, 14:10) sacarde sacarde's gravatar image
La tua risposta
abilita/disabilita anteprima

Segui questa domanda

Via email:

Una volta eseguito l'accesso potrai iscriverti a tutti gli aggiornamenti qui

Via RSS:

Risposte

Risposte e commenti

Basi di markdown

  • *corsivo* o __corsivo__
  • **grassetto** o __grassetto__
  • collegamento:[testo](http://url.com/ "titolo")
  • immagine?![alt testo](/path/img.jpg "titolo")
  • elenco numerato: 1. Foo 2. Bar
  • per aggiungere un'interruzione di riga, aggiungi due spazi a fine riga e premi «Invio»
  • è supportato anche semplice HTML

Tag:

×40

domanda posta: 01 Nov '20, 11:43

domanda visualizzata: 2,884 volte

ultimo aggiornamento: 12 Aug '23, 11:19

Chiedi è un servizio di supporto gestito da Ubuntu-it. Contattaci!

powered by OSQAPostgreSQL database
Ubuntu e Canonical sono marchi registrati da Canonical Ltd.