I tested the ubuntu-release-upgrader in trusty-proposed (after updating the meta-release-proposed file to point at it) and was able to successfully verify the fix for this bug.
** Description changed: [Test Case] # apt-get install ubuntu-release-upgrader language-pack-ru vim-tiny # export LC_ALL=ru_RU.UTF-8 # export LANG=en_US.UTF-8 # export LANGUAGE=en_US # do-release-upgrade ctrl-c # cd /tmp/ubuntu-release-upgrader-* # vi DistUpgradeCache.py in line 1139 go from 50 to 5000000 # ./dist-upgrade.py - Observe a Traceback ending with a UnicodeDecodeError in - _checkFreeSpace() + Observe a Traceback ending with a UnicodeDecodeError in _checkFreeSpace() + To test the package in -proposed you'll need to use do-release-upgrade -p and switch to the new ubuntu-release-upgrader-* directory and make the modifications there. Original Report --------------- Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-o9yy3k/raring", line 10, in <module> sys.exit(main()) File "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeMain.py", line 240, in main if app.run(): File "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeController.py", line 1777, in run return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeController.py", line 1734, in fullUpgrade if not self.askDistUpgrade(): File "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeController.py", line 968, in askDistUpgrade if not self._checkFreeSpace(): File "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeController.py", line 945, in _checkFreeSpace required.dir)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128) === Command detached from window (Thu Apr 25 16:39:54 2013) === ProblemType: BugDistroRelease: Ubuntu 12.10 Package: ubuntu-release-upgrader-core 1:0.190.6 ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7 Uname: Linux 3.5.0-27-generic i686 NonfreeKernelModules: nvidia ApportVersion: 2.6.1-0ubuntu10 Architecture: i386 Date: Thu Apr 25 16:49:19 2013 MarkForUpload: True PackageArchitecture: all ProcEnviron: TERM=xterm SHELL=/bin/bash PATH=(custom, no user) LANG=nb_NO.UTF-8 LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:enSourcePackage: ubuntu-release-upgrader UpgradeStatus: Upgraded to quantal on 2013-04-25 (0 days ago) ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1172740 Title: Quantal->Raring: UnicodeDecodeError: in NotEnoughFreeSpaceError To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1172740/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
