[Bug 1106081] Re: TypeError from do-release-upgrade when LANG=C
melchiaros
melchiaros at aol.com
Thu Mar 21 12:32:24 UTC 2013
Hi Martin,
In VarLogDistupgradeMainlog.txt
you have a woanderfull stacktrace:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-406zz2/raring", line 10, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-406zz2/DistUpgrade/DistUpgradeMain.py", line 240, in main
if app.run():
File "/tmp/ubuntu-release-upgrader-406zz2/DistUpgrade/DistUpgradeController.py", line 1769, in run
return self.fullUpgrade()
File "/tmp/ubuntu-release-upgrader-406zz2/DistUpgrade/DistUpgradeController.py", line 1668, in fullUpgrade
if not self.updateSourcesList():
File "/tmp/ubuntu-release-upgrader-406zz2/DistUpgrade/DistUpgradeController.py", line 818, in updateSourcesList
_("Some third party entries in your sources.list "
File "/tmp/ubuntu-release-upgrader-406zz2/DistUpgrade/DistUpgradeViewText.py", line 138, in information
sys.stdin.readline().decode(ENCODING, "backslashreplace")
TypeError: decode() argument 1 must be string, not None
** Tags added: quantal2raring
--
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/1106081
Title:
TypeError from do-release-upgrade when LANG=C
Status in “ubuntu-release-upgrader” package in Ubuntu:
New
Bug description:
When running `do-release-upgrade -d` to upgrade a machine that had
quantal Ubuntu core installed, it failed at several stages. Much of
this is likely fallout from lacking packages that the desktop
environment includes by default, or other configuration that is
normally done during the initial installation.
* python-apt is required but not given as a dependency
* code for determining ENCODING uses getdefaultlocale (and gets None with C) rather than getpreferredencoding
Using `LANG=C.UTF-8` works around the issue that locales have not been
set up in the normal fashion.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubuntu-release-upgrader-core 1:0.190.5
Uname: Linux 3.4.0 armv7l
ApportVersion: 2.6.1-0ubuntu9
Architecture: armhf
Date: Sat Jan 26 14:22:04 2013
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
TERM=linux
PATH=(custom, no user)
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to quantal on 2013-01-26 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz: Error: [Errno 2] No such file or directory: 'pkexec'
VarLogDistupgradeAptlog:
Log time: 2013-01-26 13:56:32.409482
Log time: 2013-01-26 13:56:36.353624
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1106081/+subscriptions
More information about the foundations-bugs
mailing list