[Bug 1068389] Re: P->Q - do-release-upgrade crashed with UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in position 1: ordinal not in range(128) in DistUpgrade/DistUpgradeViewText.py", line 143, in showInPager
Коскин Илья
1068389 at bugs.launchpad.net
Thu Oct 25 09:08:47 UTC 2012
I jist run "do-release-upgrade" and wait until i see
Чтение временных файлов
Проверка менеджера пакетов
Продолжить работу через SSH?
Этот сеанс запущен через ssh. Не рекомендуется выполнять обновление
через ssh, так как в случае неудачи восстановление будет очень
сложным.
Если вы продолжите, дополнительная служба ssh будет запущена на порту
«1022».
Хотите ли вы продолжить?
Продолжить [дН]
and after that I enter letter "д" and it give me error:
Произошла критическая ошибка
Пожалуйста, сообщите об этой ошибке и включите файлы
/var/log/dist-upgrade/main.log и /var/log/dist-upgrade/apt.log в ваш
отчёт. Обновление было отменено.
Ваш оригинальный файл sources.list был сохранён в
/etc/apt/sources.list.distUpgrade.
Traceback (most recent call last):
File "/tmp/update-manager-sw_elb/quantal", line 10, in <module>
sys.exit(main())
File "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeMain.py",
line 240, in main
if app.run():
File
"/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
line 1764, in run
return self.fullUpgrade()
File
"/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
line 1616, in fullUpgrade
if not self.prepare():
File
"/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
line 429, in prepare
self._sshMagic()
File
"/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeController.py",
line 299, in _sshMagic
"Do you want to continue?") % port)
File "/tmp/update-manager-sw_elb/DistUpgrade/DistUpgradeViewText.py",
line 210, in askYesNoQuestion
if res.strip().lower().startswith(_("y")):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position
0: ordinal not in range(128)
=== Command detached from window (Thu Oct 25 13:07:58 2012) ===
=== Command terminated with exit status 1 (Thu Oct 25 13:07:58 2012) ===
i have attached my main.log
** Attachment added: "main.log"
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1068389/+attachment/3412818/+files/main.log
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1068389
Title:
P->Q - do-release-upgrade crashed with UnicodeEncodeError: 'ascii'
codec can't encode character u'\xbb' in position 1: ordinal not in
range(128) in DistUpgrade/DistUpgradeViewText.py", line 143, in
showInPager
Status in “ubuntu-release-upgrader” package in Ubuntu:
In Progress
Status in “ubuntu-release-upgrader” source package in Quantal:
Fix Released
Bug description:
= Test Case =
1. install precise
2. edit /etc/update-manager/release-updates, and set 'Prompt=normal'
3. use a language like german or french
4. run sudo do-release-upgrade --frontend=DistUpgradeViewText
5. You will be asked if you want to update your system (still on Precise). Answer 'oui' or 'ja', as the language may be. The process will now advance to grab the Quantal repositories
6. on the "Forsetzen" (or "_Continuer" (continue) prompt press "d"
7. verify FAIL with a UnicodeEncodeError as seen below
8. Verify /etc/apt/sources.list and correct the entries to point to Precise (instead of Quantal) if needed
9. run sudo do-release-upgrade --proposed --frontend=DistUpgradeViewText
10. repeat 4-6 above
11. verify not FAIL
I started
sudo do-release-upgrade
in 12.04. After downloading new packages list and generating changes it asked me if I want to proceed or see details.:
Fortsetzen [j/N] Details [d]
I pressed 'd' and do-release-upgrade crashed with stack trace, see the
attached /var/log/dist-upgrade/main.log
ProblemType: BugDistroRelease: Ubuntu 12.04
Package: update-manager-core 1:0.156.14.11
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic-pae 3.2.30
Uname: Linux 3.2.0-32-generic-pae i686
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Fri Oct 19 01:51:57 2012
GsettingsChanges:
com.ubuntu.update-manager first-run false
com.ubuntu.update-manager launch-time 1350454575
com.ubuntu.update-manager show-details true
com.ubuntu.update-manager window-height 574
com.ubuntu.update-manager window-width 600
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/zshSourcePackage: update-manager
UpgradeStatus: Upgraded to precise on 2012-10-18 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz: Error: [Errno 13] Keine Berechtigung: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
mtime.conffile..etc.update.manager.release.upgrades: 2012-10-19T01:47:24.264454
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1068389/+subscriptions
More information about the foundations-bugs
mailing list