[Bug 1241148] [NEW] do-release-upgrade crashes while updating from 13.04 to 13.10 when locale is ru-RU.UTF8
Ilya Loginov
isloginov at gmail.com
Thu Oct 17 18:53:28 UTC 2013
Public bug reported:
Application crashes with the following stacktrace:
Error in sys.excepthook:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeViewText.py", line 107, in _handleException
"\n".join(lines))
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeViewText.py", line 141, in error
print(twrap(summary))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-6agiri/saucy", line 10, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeMain.py", line 230, in main
app = DistUpgradeController(view, options, datadir=options.datadir)
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeController.py", line 126, in __init__
self._view.updateStatus(_("Reading cache"))
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeViewText.py", line 121, in updateStatus
print(msg)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
When I start do-release-upgrade with LC_ALL=C all works fine.
My locale is:
LANG=ru_RU.UTF-8
LANGUAGE=
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
LC_ALL=C apt-cache policy ubuntu-release-upgrader-core
ubuntu-release-upgrader-core:
Installed: 1:0.205
Candidate: 1:0.205
Version table:
*** 1:0.205 0
500 http://ru.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
100 /var/lib/dpkg/status
(Sorry, I've already upgraded system when upgrader started with LC_ALL=C.)
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ubuntu-release-upgrader-core 1:0.205
ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8
Uname: Linux 3.8.0-31-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CrashDB: ubuntu
Date: Thu Oct 17 22:38:30 2013
InstallationDate: Installed on 2013-06-25 (114 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to saucy on 2013-10-17 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz: Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: pkexec must be setuid root
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug dist-upgrade saucy
--
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/1241148
Title:
do-release-upgrade crashes while updating from 13.04 to 13.10 when
locale is ru-RU.UTF8
Status in “ubuntu-release-upgrader” package in Ubuntu:
New
Bug description:
Application crashes with the following stacktrace:
Error in sys.excepthook:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeViewText.py", line 107, in _handleException
"\n".join(lines))
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeViewText.py", line 141, in error
print(twrap(summary))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-6agiri/saucy", line 10, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeMain.py", line 230, in main
app = DistUpgradeController(view, options, datadir=options.datadir)
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeController.py", line 126, in __init__
self._view.updateStatus(_("Reading cache"))
File "/tmp/ubuntu-release-upgrader-6agiri/DistUpgrade/DistUpgradeViewText.py", line 121, in updateStatus
print(msg)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
When I start do-release-upgrade with LC_ALL=C all works fine.
My locale is:
LANG=ru_RU.UTF-8
LANGUAGE=
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
LC_ALL=C apt-cache policy ubuntu-release-upgrader-core
ubuntu-release-upgrader-core:
Installed: 1:0.205
Candidate: 1:0.205
Version table:
*** 1:0.205 0
500 http://ru.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
100 /var/lib/dpkg/status
(Sorry, I've already upgraded system when upgrader started with LC_ALL=C.)
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ubuntu-release-upgrader-core 1:0.205
ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8
Uname: Linux 3.8.0-31-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CrashDB: ubuntu
Date: Thu Oct 17 22:38:30 2013
InstallationDate: Installed on 2013-06-25 (114 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to saucy on 2013-10-17 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz: Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: pkexec must be setuid root
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1241148/+subscriptions
More information about the foundations-bugs
mailing list