[Bug 1310053] Re: 13.10 to 14.04 upgrade: UnicodeEncodeError: 'ascii' codec can't encode character u'\xab' in position 13: ordinal not in range(128) Logged from file DistUpgradeCache.py, line 661 in apt.log

Brian Murray brian at ubuntu.com
Wed Aug 20 22:40:01 UTC 2014


I've gone ahead and recreated this bug following the description by
adding foomatic-filters to the blacklist.  I received the Traceback
indicated with the ubuntu-release-upgrader version 0.220.2, but not with
0.220.3.  I was using French for my test.  Additionally, I did see
unicode characters in my /var/log/dist-upgrade/main.log file.

The message included "ERROR Dist-upgrade failed: 'Le paquet << foomatic-
fitlers >> est marqué". The Dist-upgrade failure should not appear in
/var/log/dist-upgrade/apt.log so I'm not certain what Sebastian was
seeing, but I'm going to mark this as verification done.


** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags removed: verification-failed
** Tags added: verification-done

-- 
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/1310053

Title:
  13.10 to 14.04 upgrade: UnicodeEncodeError: 'ascii' codec can't encode
  character u'\xab' in position 13: ordinal not in range(128) Logged
  from file DistUpgradeCache.py, line 661 in apt.log

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Fix Released
Status in “ubuntu-release-upgrader” source package in Trusty:
  Fix Committed

Bug description:
  TEST CASE:
  - install raring and ubuntu-release-upgrader-qt
  - use a language like de, it or fr
  - run do-release-upgrader --frontend DistUpgradeViewText
  - verify that you see a error message in apt.log as described in the bug (unfortunately not everyone can reproduce this issue, I reproduced it by editing DistUpgradeCache.py to always throw a blacklisted package expection)
  - if the error does not show up, canncel the upgrade, run "vi /tmp/*/removal_blacklist.cfg" and add a package from the removal list that was displayed during the upgrade and run /tmp/*/trusty

  - run the upgrade using "do-release-upgrade --proposed --frontend DistUpgradeViewText"
  - verify that there is no exception in apt.log

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: ubuntu-release-upgrader-core 1:0.205.4
  ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
  Uname: Linux 3.11.0-15-generic i686
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: i386
  CrashDB: ubuntu
  Date: Sat Apr 19 19:50:56 2014
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to saucy on 2014-04-19 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1310053/+subscriptions



More information about the foundations-bugs mailing list