Public bug reported:

This is a bug collecting all remaining packages that need to be
converted to noawait in xenial or bionic.

[Impact]
"await" triggers are run before a package is configured. If B activates A, then 
A's trigger code in the postinst must be run before A can be configured.

Triggers do not specify a ordering dependency however, so apt can very
well have A in a state where it is not configurable, and installing B
then fails. This is a limitation of triggers: They are not exposed in
Packages files, so we don't see them.

What this means is that packages with await triggers either need to have
all triggering packages depend on them (e.g. B Depends A), or they need
to be moved to noawait.

This bug is about moving triggers to be noawait, by changing "activate"
to "activate-noawait" and/or "interest" to "interest-noawait". If it
turns out the trigger should be "await", we should explictly use the
"interest-await" and "activate-await" variants in cosmic too.

[Test case]
There is no test case.

[Regression potential]
Packages triggering other packages are now configured even without the package 
being triggered being fully configured (they will be in the triggers-pending 
state).

In most cases, this is not a problem. However, packages should be usable
when configured, so for example, a package installing a gsettings schema
would need to depend on the appropriate gsettings stuff and keep
triggering it via await, as it would crash otherwise despite being
configured.

** Affects: appstream (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: clutter-imcontext (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: dochelp (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: dovecot (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: fusiondirectory (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gdk-pixbuf (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: goopg (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gosa (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: guile-2.0 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: hicolor-icon-theme (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libomxil-bellagio (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: mate-icon-theme (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: octave (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: packagekit (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: pike7.8 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: pike8.0 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: postgresql-common (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: reconf-inetd (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: shared-mime-info (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: sphinx (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: tex-common (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: xpdf (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: yorick (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: appstream (Ubuntu Xenial)
     Importance: Undecided
         Status: Triaged

** Affects: clutter-imcontext (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: dochelp (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: dovecot (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: fusiondirectory (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: gdk-pixbuf (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: glib2.0 (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: goopg (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: gosa (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: guile-2.0 (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: hicolor-icon-theme (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: libomxil-bellagio (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: libreoffice (Ubuntu Xenial)
     Importance: Undecided
         Status: Triaged

** Affects: mate-icon-theme (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: octave (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: packagekit (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: pike7.8 (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: pike8.0 (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: postgresql-common (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: reconf-inetd (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: shared-mime-info (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: sphinx (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: tex-common (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: xpdf (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: yorick (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: appstream (Ubuntu Bionic)
     Importance: Undecided
         Status: Fix Released

** Affects: clutter-imcontext (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: dochelp (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: dovecot (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: fusiondirectory (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: gdk-pixbuf (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: glib2.0 (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: goopg (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: gosa (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: guile-2.0 (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: hicolor-icon-theme (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: libomxil-bellagio (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: libreoffice (Ubuntu Bionic)
     Importance: Undecided
         Status: Fix Released

** Affects: mate-icon-theme (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: octave (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: packagekit (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: pike7.8 (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: pike8.0 (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: postgresql-common (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: reconf-inetd (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: shared-mime-info (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: sphinx (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: tex-common (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: xpdf (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: yorick (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Also affects: appstream (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: appstream (Ubuntu)
       Status: New => Fix Released

** Changed in: appstream (Ubuntu Xenial)
       Status: New => Triaged

** Also affects: clutter-imcontext (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: dochelp (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: dovecot (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: fusiondirectory (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: gdk-pixbuf (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: gosa (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: guile-2.0 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: dovecot (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: gdk-pixbuf (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: gosa (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: clutter-imcontext (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: fusiondirectory (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: guile-2.0 (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: appstream (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: dochelp (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: appstream (Ubuntu Bionic)
       Status: New => Fix Released

** Also affects: glib2.0 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: libomxil-bellagio (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: libreoffice (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: libreoffice (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: libreoffice (Ubuntu Bionic)
       Status: New => Fix Released

** Changed in: libreoffice (Ubuntu)
       Status: New => Fix Released

** Also affects: octave (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: packagekit (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: pike7.8 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: pike8.0 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: postgresql-common (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: reconf-inetd (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: shared-mime-info (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: sphinx (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: tex-common (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: xpdf (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: yorick (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: goopg (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to yorick in Ubuntu.
https://bugs.launchpad.net/bugs/1780996

Title:
  Convert triggers to noawait

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1780996/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~edubuntu-bugs
Post to     : edubuntu-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~edubuntu-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to