[Bug 991728] Re: dist-upgrade from 11.10 to 12.04 through Update Manager stops midway

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Mon Apr 30 08:59:59 UTC 2012


Thanks for your report.

Errors from the log:
2012-04-28 23:56:46,913 ERROR not handled exception in KDE frontend:
Traceback (most recent call last):
  File "/tmp/update-manager-rieTLl/DistUpgradeViewKDE.py", line 220, in pulse
    self.status.setText(_("Fetching file %li of %li at %sB/s") % (current_item, self.total_items, apt_pkg.size_to_str(self.current_cps)))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)


and then
2012-04-29 00:00:54,202 ERROR not handled exception in KDE frontend:
Traceback (most recent call last):
  File "/tmp/update-manager-rieTLl/precise", line 7, in <module>
    sys.exit(main())
  File "/tmp/update-manager-rieTLl/DistUpgradeMain.py", line 220, in main
    if app.run():
  File "/tmp/update-manager-rieTLl/DistUpgradeController.py", line 1721, in run
    return self.fullUpgrade()
  File "/tmp/update-manager-rieTLl/DistUpgradeController.py", line 1690, in fullUpgrade
    if not self.doDistUpgrade():
  File "/tmp/update-manager-rieTLl/DistUpgradeController.py", line 1065, in doDistUpgrade
    res = self.cache.commit(fprogress,iprogress)
  File "/tmp/update-manager-rieTLl/DistUpgradeCache.py", line 256, in commit
    apt.Cache.commit(self, fprogress, iprogress)
  File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
    return func(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 473, in commit
    res = self.install_archives(pm, install_progress)
  File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
    return func(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 436, in install_archives
    res = install_progress.run(pm)
  File "/tmp/update-manager-rieTLl/DistUpgradeView.py", line 211, in run
    res = os.WEXITSTATUS(self.wait_child())
  File "/tmp/update-manager-rieTLl/DistUpgradeViewKDE.py", line 415, in wait_child
    self.update_interface()
  File "/tmp/update-manager-rieTLl/DistUpgradeViewKDE.py", line 396, in update_interface
    logging.error("got ValueError from InstallProgress.update_interface. Line was '%s' (%s)" % (self.read, e))
AttributeError: 'KDEInstallProgressAdapter' object has no attribute 'read'

** Changed in: update-manager (Ubuntu)
   Importance: Undecided => High

** Changed in: update-manager (Ubuntu)
       Status: New => Won't Fix

** Changed in: update-manager (Ubuntu)
       Status: Won't Fix => Confirmed

** Summary changed:

- dist-upgrade from 11.10 to 12.04 through Update Manager stops midway
+ DistUpgradeViewKDE.py", line 220, in pulse self.status.setText : UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/991728

Title:
  DistUpgradeViewKDE.py", line 220, in pulse self.status.setText :
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
  1: ordinal not in range(128)

Status in “update-manager” package in Ubuntu:
  Confirmed

Bug description:
  I am using Kubuntu 12.04, and before that I used 9.10, 10.04, 10.10,
  11.04 and 11.10 consequently. Every single time upgrade from one
  distro to the next through update manager failed midway and I am
  forced to upgrade manually.

  The updates download and extract fine, it is the installation phase
  where the process halts. The manager window becomes blank and disk
  activity ceases.

  I have attached the contents of the 'dist-upgrade' folder below.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: update-manager-kde 1:0.156.14
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Mon Apr 30 01:23:45 2012
  InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=ru_RU
   TERM=xterm
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to precise on 2012-04-28 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/991728/+subscriptions




More information about the foundations-bugs mailing list