[Bug 1066500] [NEW] Update manager breaks update of packages with certain debconf requirements

Robert Arkenin 1066500 at bugs.launchpad.net
Sun Oct 14 13:18:31 UTC 2012


Public bug reported:

In a package which uses Debconf within its postinst, for a license
agreement, the debconf will assume default values during installation,
causing upgrade failures for packages such as in oracle-java6-installer
in the ppa:estewei/java PPA
(https://launchpad.net/~estewei/+archive/java). The problem appears to
be localized to the debconf portion, which the update manager doesn't
like in this case.

Proposed solutions:

1. If a package fails to install due to a failure of a preinst or
postinst with debconf prompts, re-run the installation of that package
with debconf prompts shown.

2. Forde debconf prompting in attended upgrades', deferring unattended
updates of packages that fail a preinst or postinst due to debconf until
the next attended upgrade

Optimally, there should be an option to select between these options.

Note: I am filing this bug on behalf of an Ask Ubuntu user.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apt

** Summary changed:

- Update manager breaks updation ofpackages with certain debconf requirements
+ Update manager breaks update of packages with certain debconf requirements

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

Title:
  Update manager breaks update of packages with certain debconf
  requirements

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

Bug description:
  In a package which uses Debconf within its postinst, for a license
  agreement, the debconf will assume default values during installation,
  causing upgrade failures for packages such as in oracle-
  java6-installer in the ppa:estewei/java PPA
  (https://launchpad.net/~estewei/+archive/java). The problem appears to
  be localized to the debconf portion, which the update manager doesn't
  like in this case.

  Proposed solutions:

  1. If a package fails to install due to a failure of a preinst or
  postinst with debconf prompts, re-run the installation of that package
  with debconf prompts shown.

  2. Forde debconf prompting in attended upgrades', deferring unattended
  updates of packages that fail a preinst or postinst due to debconf
  until the next attended upgrade

  Optimally, there should be an option to select between these options.

  Note: I am filing this bug on behalf of an Ask Ubuntu user.

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




More information about the foundations-bugs mailing list