[Bug 441686] Re: "Task cannot be monitored or controlled" alert is unhelpful and scary

Sebastian Heinlein 441686 at bugs.launchpad.net
Sun Dec 16 18:14:00 UTC 2012


I tried to reproduce it. And all works fine: Software-center ignores the
error (ERROR_DAEMON_DIED) silently and a crash report is created. The
only problem is that the user doesn't get a notification about the
failed transaction. The progress bar just vanishes and the install
button re-appears.

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

Title:
  "Task cannot be monitored or controlled" alert is unhelpful and scary

Status in “aptdaemon” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: aptdaemon

  While trying to install an application in the Ubuntu Software Center,
  an error alert appeared with this wording:

      Task cannot be monitored or controlled

      The connection to the daemon was lost.
      Most likely the background daemon crashed
      _
      \/ Details
      It seems that the daemon died.

                                    (  OK  )

  xprop suggests that this alert belongs to software-center, but bug
  438797 shows the same alert also appearing with update-manager, so I
  guess the alert is produced by aptdaemon. (If not, please move this
  report.) This bug report is not about any particular case when the
  alert appears, it is about the alert itself.

  The alert does not satisfy any of the requirements of a good error
  message: it does not say what went wrong, it does not explain why it
  went wrong, and it does not say how to fix or work around the problem.
  It also uses the words "daemon", "crashed", and "died", none of which
  should appear in interfaces intended for ordinary people.

  Unfortunately, because of the first problem (it doesn't say what went wrong), and because the case where it appeared for me is different from bug 438797, I can't yet give a good suggestion on how to redesign the alert. Answers to these questions would help me:
  1. Why does the alert appear? Is it always a bug in aptdaemon, or might it appear for other reasons?
  2. Does aptdaemon know what it was trying to do (e.g. install the "Epiphany Web Browser" application, or update the "initramfs-tools" package) when the problem occurred? If not, what would it take for it to become smart enough to know this?
  3. If "the daemon died", how does it display the alert? Has it restarted?
  4. Would trying the same transaction automatically help? If not, what would?

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




More information about the foundations-bugs mailing list