Richard hates stuff asking questions during installation ;-) - that's *the* 
longest discussion we had, since PackageKit's inception: 
```
What is Hughsie's law?

A joke that started on IRC late one night in '07. Put formally it is: 
Authentication or license prompts can only be done before the transaction has 
started, and messages or notices about the transaction can only be shown after 
the transaction has completed. 
```
(no sure why this isn't on the PK FAQ anymore)

If the aptcc PackageKit backend receives a request to be noninteractive, it 
should set the Debconf frontent to `noninteractive` and disable everything that 
could potentially ask questions.
This should at least prevent the update process to hang on Debconf prompts.
I guess we could enable Debconf prompts for GS though (maybe make it 
configurable, so Fedora and other distros can be non-interactive by default), 
as apparently it seems to work okay at Ubuntu for the current aptd backend.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1643134

Title:
  Switch gnome-software to use PackageKit backend

Status in gnome-software package in Ubuntu:
  In Progress

Bug description:
  This is a tracking bug to switch gnome-software from the Ubuntu-
  specific apt backend to the PackageKit backend used by other distros.
  In particular this is the backend used by Debian.

  To build, just uncomment the commented-out packagekit line in gnome-
  software's debian/rules and remove libapt-pkg-dev from Build-Depends.
  (You can also drop aptdaemon from Depends.)

  Changes
  =======
  - It fixes some annoying bugs lingering in Ubuntu 16.04 LTS: LP: #1551599.

  - It may also allow us to drop sessioninstaller (LP: #1661371)

  - On an individual app page, Source is listed as something like
  'ubuntu-zesty-universe' or ubuntu-yakkety-updates-main' or 'lp-ppa-
  gnome3-team-gnome3-staging-yakkety-main' instead of just 'Ubuntu'

  - On an individual app page, apps from multiverse or restricted will
  show License as 'Proprietary' (example: VirtualBox or Devede ). This
  also happens for locally installed apps (i.e. not matching what's in
  your apt sources). I don't think it happens for PPAs since everything
  in a PPA is in 'main'.

  - If you install an app using GNOME Software (or I assume another
  PackageKit app), it lists the date it was last installed or updated on
  the individual app page with a link to see its update history. (But
  the problem here is that update-manager doesn't use PK nor does apt on
  the command line.)

  - Any update, no matter how small, is only permitted as an offline
  update. The button says "Restart & Install". It does seem to work fine
  though.

  - Another bug is that installing or Removing an app inside GNOME
  Software is enough for it to "forget" about available Updates and
  think that everything is "up to date".

  (It looks like gnome-software 3.24 will let us completely disable
  gnome-software's update mechanism and the Updates tab by default so
  these previous two differences may be irrelevant then.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1643134/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to