JFTR, in case anyone is looking at this:
The fix for xenial and trusty has been merged into the fix for 1737441,
and was fixed there, as the regression that manifested in this bug due
to the fix for 1737441 never manifested in those releases, as there was
no upload with just that fix.
--
You
** Description changed:
- == xenial / trusty ==
- [Impact]
- Some applications, like unattended-upgrades or update-manager, reopen the apt
cache. They also keep around old apt.Package objects however, and operate on
them after reopening. Under the hood, this means that
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: update-manager (Ubuntu Trusty)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
** Also affects: python-apt (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: update-manager (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: python-apt (Ubuntu Trusty)
Importance: Undecided
Status: New
** Also affects:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python-apt (Ubuntu Xenial)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: python-apt (Ubuntu Trusty)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: update-manager (Ubuntu Xenial)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
This update causes a regression that is tracked in bug 1780099 - notably
the __hash__ of an apt.Package can change after opening, so if used in a
set, or as a dict key, the package won't be found anymore. The
regression is less worse than the previous state, but will be fixed
shortly.
--
You
This bug was fixed in the package python-apt - 1.6.1
---
python-apt (1.6.1) unstable; urgency=medium
* apt: Fix typing errors to get CI pass again
* apt.Cache: Remap objects when reopening cache (LP: #1773316)
* apt_pkg.DepCache: Raise CacheMismatchError if argument belongs to
I also ran unattended-upgrades and aptdcon --system-upgrade, both of
which performed normally.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1773316
Title:
Object of
Fix works fine:
root@bionic:~# python3 -c "import apt; c=apt.Cache(); p=c['aptitude'];
c.open(); p.mark_install()"
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3/dist-packages/apt/package.py", line 1469, in
mark_install
Hello errors.ubuntu.com, or anyone else affected,
Accepted python-apt into bionic-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/python-apt/1.6.1 in
a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
This bug was fixed in the package python-apt - 1.7.0~alpha0~ubuntu3
---
python-apt (1.7.0~alpha0~ubuntu3) cosmic; urgency=medium
* apt.Cache: Fix error in apt.Package caching
* apt: Fix typing errors and use mypy --strict
* Correctly handle missing candidate in
** Description changed:
+ [Impact]
+ python-apt 1.6 raises an exception when objects of an old cache are passed to
a apt_pkg.DepCache methods for a different cache. Prior to that, those would
either segfault, succeed, or silently operate on a different object, as they
use package/version ids,
** Summary changed:
-
/usr/bin/update-manager:ValueError:foreach_cb:packages_are_selected:is_selected:marked_install
+ Object of different cache passed as argument to apt_pkg.DepCache method
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which
15 matches
Mail list logo