[Bug 1844326] Re: do-release-upgrade crashed with AttributeError in tryMarkObsoleteForRemoval(): 'Package' object has no attribute 'section'

Brian Murray brian at ubuntu.com
Sat Oct 12 17:33:39 UTC 2019


This bug was fixed by the changes in the following upload of ubuntu-
release-upgrader.

ubuntu-release-upgrader (1:19.10.14) eoan; urgency=medium

  * DistUpgrade/DistUpgradeCache.py: New python3-apt bindings no longer provide
    Package.section, so switch to using Package.{candidate,installed}.section
    whenever applicable. This fixes broken partial upgrades. (LP: #1841675)

 -- Ɓukasz 'sil2100' Zemczak <lukasz.zemczak at ubuntu.com>  Thu, 10 Oct
2019 09:59:30 +0200

** Information type changed from Private to Public

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

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

Title:
  do-release-upgrade crashed with AttributeError in
  tryMarkObsoleteForRemoval(): 'Package' object has no attribute
  'section'

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released

Bug description:
  do-release-upgrade crashed with AttributeError in
  tryMarkObsoleteForRemoval(): 'Package' object has no attribute
  'section'

  ProblemType: Crash
  DistroRelease: Ubuntu 19.10
  Package: ubuntu-release-upgrader-core 1:19.10.12
  ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
  Uname: Linux 5.3.0-10-generic x86_64
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  CrashDB: ubuntu
  Date: Tue Sep 17 16:16:02 2019
  ExecutablePath: /usr/bin/do-release-upgrade
  InstallationDate: Installed on 2018-12-20 (270 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20181214)
  InterpreterPath: /usr/bin/python3.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/lib/ubuntu-release-upgrader/do-partial-upgrade --frontend=DistUpgradeViewGtk3
  Python3Details: /usr/bin/python3.7, Python 3.7.4+, python3-minimal, 3.7.3-1
  PythonArgs: ['/usr/bin/do-release-upgrade', '--frontend=DistUpgradeViewGtk3']
  PythonDetails: N/A
  SourcePackage: ubuntu-release-upgrader
  Title: do-release-upgrade crashed with AttributeError in tryMarkObsoleteForRemoval(): 'Package' object has no attribute 'section'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  VarLogDistupgradeTermlog:

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



More information about the foundations-bugs mailing list