[LugBS] Ubuntu upgrade 14.10 -> 15.04
Diego Monselice
diegomonselice a gmail.com
Mar 19 Maggio 2015 21:28:59 UTC
-->
Credo di aver fatto una ca**ata... ho disinstallato python3... e non ho
+ do-release-upgrade
helppppppppppp :-(
Il 19/05/2015 09:49, Claudio Moretti ha scritto:
>
> Ciao,
>
> Ho il sospetto che sia perche il tuo python principale è python3,
> mentre don release e upgrade funziona con python2.
>
> Prova a installare python2 e poi usare update-alternatives --config
> per cambiare il default python; se non funziona puoi sempre cambiare
> la distro nei repository in /etc/apt/sources.list e poi lanciare
> apt-get update e apt-get dist-upgrade per aggiornare (che, se non
> ricordo male, è quello che fa do-release-upgrade, ma in maniera un po'
> più cruda).
>
> Apri comunque magari un bug report su launchpad :)
>
> Ciao,
>
> Claudio
>
> On May 19, 2015 07:14, "Diego Monselice" <diegomonselice a gmail.com
> <mailto:diegomonselice a gmail.com>> wrote:
>
> Ciao a tutti, sto tentando di fare il release upgrade di Ubuntu ma
> mi da un problema di decodifica UTF-8... ho googleggiato un po' ma
> non sono riuscito a risolvere. A qualcuno è capitato? Che posso fare?
>
> Vi posto l'output di do-release-upgrade:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Aggiornamento delle informazioni sui repository
>
> Traceback (most recent call last):
> File "/tmp/ubuntu-release-upgrader-e3o8qzo6/vivid", line 8, in
> <module>
> sys.exit(main())
> File
> "/tmp/ubuntu-release-upgrader-e3o8qzo6/DistUpgrade/DistUpgradeMain.py",
> line 240, in main
> if app.run():
> File
> "/tmp/ubuntu-release-upgrader-e3o8qzo6/DistUpgrade/DistUpgradeController.py",
> line 1831, in run
> return self.fullUpgrade()
> File
> "/tmp/ubuntu-release-upgrader-e3o8qzo6/DistUpgrade/DistUpgradeController.py",
> line 1718, in fullUpgrade
> if not self.updateSourcesList():
> File
> "/tmp/ubuntu-release-upgrader-e3o8qzo6/DistUpgrade/DistUpgradeController.py",
> line 756, in updateSourcesList
> self.sources = SourcesList(matcherPath=".")
> File
> "/usr/lib/python3/dist-packages/DistUpgrade/sourceslist.py", line
> 273, in __init__
> self.matcher = SourceEntryMatcher(matcherPath)
> File
> "/usr/lib/python3/dist-packages/DistUpgrade/sourceslist.py", line
> 458, in __init__
> dist = DistInfo(f, base_dir=matcherPath)
> File "/usr/lib/python3/dist-packages/DistUpgrade/distinfo.py",
> line 261, in __init__
> component.set_description(_(value))
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in
> position 23: unexpected end of data
> Error in sys.excepthook:
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/problem_report.py", line
> 416, in add_to_existing
> self.write(f)
> File "/usr/lib/python3/dist-packages/problem_report.py", line
> 371, in write
> crc = zlib.crc32(block, crc)
> TypeError: 'str' does not support the buffer interface
>
> Original exception was:
> Traceback (most recent call last):
> File "/tmp/ubuntu-release-upgrader-e3o8qzo6/vivid", line 8, in
> <module>
> sys.exit(main())
> File
> "/tmp/ubuntu-release-upgrader-e3o8qzo6/DistUpgrade/DistUpgradeMain.py",
> line 240, in main
> if app.run():
> File
> "/tmp/ubuntu-release-upgrader-e3o8qzo6/DistUpgrade/DistUpgradeController.py",
> line 1831, in run
> return self.fullUpgrade()
> File
> "/tmp/ubuntu-release-upgrader-e3o8qzo6/DistUpgrade/DistUpgradeController.py",
> line 1718, in fullUpgrade
> if not self.updateSourcesList():
> File
> "/tmp/ubuntu-release-upgrader-e3o8qzo6/DistUpgrade/DistUpgradeController.py",
> line 756, in updateSourcesList
> self.sources = SourcesList(matcherPath=".")
> File
> "/usr/lib/python3/dist-packages/DistUpgrade/sourceslist.py", line
> 273, in __init__
> self.matcher = SourceEntryMatcher(matcherPath)
> File
> "/usr/lib/python3/dist-packages/DistUpgrade/sourceslist.py", line
> 458, in __init__
> dist = DistInfo(f, base_dir=matcherPath)
> File "/usr/lib/python3/dist-packages/DistUpgrade/distinfo.py",
> line 261, in __init__
> component.set_description(_(value))
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in
> position 23: unexpected end of data
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Grazie a tutti
>
> --
> Diego Monselice
> Dottore in Informatica
>
> - Soluzioni software ad hoc
> - Sviluppo Web
> - Consulenze informatiche
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | Mobile (Tim): 339 25 68 172 <tel:339%2025%2068%20172>
> | Mobile (Vodafone): 347 99 39 028 <tel:347%2099%2039%20028>
> | Skype: diegomonselice
>
> --
> Info/Lamentele/Segnalazioni: andrea.gelmini a gmail.com
> <mailto:andrea.gelmini a gmail.com>
>
>
>
-->
Maggiori informazioni sulla lista
Lug
|