[Touch-packages] [Bug 1871145] Re: apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

2020-08-13 Thread Balint Reczey
Unattended-upgrades may handle this exception by exiting with failure
and not re-raising it to the top.

** Changed in: unattended-upgrades (Ubuntu)
   Status: Opinion => Triaged

** Changed in: unattended-upgrades (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1871145

Title:
  apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

Status in python-apt package in Ubuntu:
  Opinion
Status in unattended-upgrades package in Ubuntu:
  Triaged

Bug description:
  Unattended-upgrades 2.1 triggers the following crash in python-apt:

File "/usr/bin/unattended-upgrade", line 1706, in try_to_upgrade
  cache.mark_upgrade_adjusted(pkg, from_user=not pkg.is_auto_installed)
File "/usr/bin/unattended-upgrade", line 438, in mark_upgrade_adjusted
  self.call_adjusted(apt.package.Package.mark_upgrade, pkg, **kwargs)
File "/usr/bin/unattended-upgrade", line 397, in call_adjusted
  self.clear()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 700, in clear
  self._depcache.init()
  apt_pkg.Error: E:The package intellij-idea-ultimate needs to be reinstalled, 
but I can't find an archive for it.

  I think .clear() should not raise an error, but if it should u-u can
  catch that.

  ---

  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
unattended-upgrades.  This problem was most recently seen with package version 
2.1, the problem page at 
https://errors.ubuntu.com/problem/798f1ab5a4a2784a0fadd6034a875901345682f9 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1871145/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1871145] Re: apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

2020-04-22 Thread Francis Ginther
** Tags added: id-5e8dd41b421c45209b1bd8e6

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1871145

Title:
  apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

Status in python-apt package in Ubuntu:
  Opinion
Status in unattended-upgrades package in Ubuntu:
  Opinion

Bug description:
  Unattended-upgrades 2.1 triggers the following crash in python-apt:

File "/usr/bin/unattended-upgrade", line 1706, in try_to_upgrade
  cache.mark_upgrade_adjusted(pkg, from_user=not pkg.is_auto_installed)
File "/usr/bin/unattended-upgrade", line 438, in mark_upgrade_adjusted
  self.call_adjusted(apt.package.Package.mark_upgrade, pkg, **kwargs)
File "/usr/bin/unattended-upgrade", line 397, in call_adjusted
  self.clear()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 700, in clear
  self._depcache.init()
  apt_pkg.Error: E:The package intellij-idea-ultimate needs to be reinstalled, 
but I can't find an archive for it.

  I think .clear() should not raise an error, but if it should u-u can
  catch that.

  ---

  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
unattended-upgrades.  This problem was most recently seen with package version 
2.1, the problem page at 
https://errors.ubuntu.com/problem/798f1ab5a4a2784a0fadd6034a875901345682f9 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1871145/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1871145] Re: apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

2020-04-09 Thread Balint Reczey
@juliank Well, I have to agree in this particular case. If the package
archive was available u-u could try to fix it by even calling dpkg to
reinstall it, but the archive was not available.

At least u-u logs this error and includes it in the email now and only
after that it raises it again for apport to get it reported.

The error has also been reported with piper broken, maybe there was an
issue running the maintainer scripts which calls py3compile:

#!/bin/sh   

  
set -e

# Automatically added by dh_python3:

  
if which py3compile >/dev/null 2>&1; then
py3compile -p piper
fi
if which pypy3compile >/dev/null 2>&1; then
pypy3compile -p piper  || true
fi

# End automatically added section


** Tags removed: rls-ff-incoming

** Changed in: unattended-upgrades (Ubuntu)
   Status: New => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1871145

Title:
  apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

Status in python-apt package in Ubuntu:
  Opinion
Status in unattended-upgrades package in Ubuntu:
  Opinion

Bug description:
  Unattended-upgrades 2.1 triggers the following crash in python-apt:

File "/usr/bin/unattended-upgrade", line 1706, in try_to_upgrade
  cache.mark_upgrade_adjusted(pkg, from_user=not pkg.is_auto_installed)
File "/usr/bin/unattended-upgrade", line 438, in mark_upgrade_adjusted
  self.call_adjusted(apt.package.Package.mark_upgrade, pkg, **kwargs)
File "/usr/bin/unattended-upgrade", line 397, in call_adjusted
  self.clear()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 700, in clear
  self._depcache.init()
  apt_pkg.Error: E:The package intellij-idea-ultimate needs to be reinstalled, 
but I can't find an archive for it.

  I think .clear() should not raise an error, but if it should u-u can
  catch that.

  ---

  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
unattended-upgrades.  This problem was most recently seen with package version 
2.1, the problem page at 
https://errors.ubuntu.com/problem/798f1ab5a4a2784a0fadd6034a875901345682f9 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1871145/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1871145] Re: apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

2020-04-08 Thread Julian Andres Klode
If clear() fails, you're a bit lost, but I'm not sure what you'd want to
do here, the system is completely broken at that point.

** Changed in: python-apt (Ubuntu)
   Status: New => Opinion

** Changed in: unattended-upgrades (Ubuntu)
   Status: Opinion => New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1871145

Title:
  apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

Status in python-apt package in Ubuntu:
  Opinion
Status in unattended-upgrades package in Ubuntu:
  New

Bug description:
  Unattended-upgrades 2.1 triggers the following crash in python-apt:

File "/usr/bin/unattended-upgrade", line 1706, in try_to_upgrade
  cache.mark_upgrade_adjusted(pkg, from_user=not pkg.is_auto_installed)
File "/usr/bin/unattended-upgrade", line 438, in mark_upgrade_adjusted
  self.call_adjusted(apt.package.Package.mark_upgrade, pkg, **kwargs)
File "/usr/bin/unattended-upgrade", line 397, in call_adjusted
  self.clear()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 700, in clear
  self._depcache.init()
  apt_pkg.Error: E:The package intellij-idea-ultimate needs to be reinstalled, 
but I can't find an archive for it.

  I think .clear() should not raise an error, but if it should u-u can
  catch that.

  ---

  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
unattended-upgrades.  This problem was most recently seen with package version 
2.1, the problem page at 
https://errors.ubuntu.com/problem/798f1ab5a4a2784a0fadd6034a875901345682f9 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1871145/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1871145] Re: apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

2020-04-07 Thread Balint Reczey
** Tags added: rls-ff-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1871145

Title:
  apt.Cache.clear() -> apt.Cache._depcache.init() raises Error

Status in python-apt package in Ubuntu:
  New
Status in unattended-upgrades package in Ubuntu:
  Opinion

Bug description:
  Unattended-upgrades 2.1 triggers the following crash in python-apt:

File "/usr/bin/unattended-upgrade", line 1706, in try_to_upgrade
  cache.mark_upgrade_adjusted(pkg, from_user=not pkg.is_auto_installed)
File "/usr/bin/unattended-upgrade", line 438, in mark_upgrade_adjusted
  self.call_adjusted(apt.package.Package.mark_upgrade, pkg, **kwargs)
File "/usr/bin/unattended-upgrade", line 397, in call_adjusted
  self.clear()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 700, in clear
  self._depcache.init()
  apt_pkg.Error: E:The package intellij-idea-ultimate needs to be reinstalled, 
but I can't find an archive for it.

  I think .clear() should not raise an error, but if it should u-u can
  catch that.

  ---

  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
unattended-upgrades.  This problem was most recently seen with package version 
2.1, the problem page at 
https://errors.ubuntu.com/problem/798f1ab5a4a2784a0fadd6034a875901345682f9 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1871145/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp