Issue present with my 24.04 -> 26.04 upgrade.  I've never had a problem
with do-release-upgrade before.  I submitted the issue from within do-
release-upgrade.

I was able to continue with the upgrade by following the guidance in
this thread:

In /usr/lib/python3/dist-packages/aptsources/sourceslist.py:
- add `self.section = parent.section` to the `__init__` block of 
`ExplodedDeb822SourceEntry`
- add `section` to `__slots__` in `ExplodedDeb822SourceEntry`

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

Title:
  release upgrade 24.10 -> 25.04 fails: AttributeError:
  'ExplodedDeb822SourceEntry' object has no attribute 'section'

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to