https://bugs.kde.org/show_bug.cgi?id=461385

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugzilla.suse.com/s
                   |                            |how_bug.cgi?id=1163737
         Resolution|---                         |UPSTREAM
                URL|                            |https://github.com/PackageK
                   |                            |it/PackageKit/issues/604
             Status|REPORTED                    |RESOLVED
            Summary|The app just does a refresh |When trying to install an
                   |                            |update including packages
                   |                            |that want to ask
                   |                            |interactive questions to
                   |                            |the user, the update fails
                   |                            |silently

--- Comment #30 from Nate Graham <[email protected]> ---
John, it's awfully confusing to have the same bugzilla ticket used to report
multiple issues. Most of the issues you're seeing are actually packaging bugs
in openSUSE that Discover is simply informing you about. Those bugs need to be
fixed by the openSUSE packagers.

Let's re-focus this bugzilla ticket on the original issue:

> STEPS TO REPRODUCE
> 1. The apps shows the updates available
> 2. I hit update all
> 3. It prompts for root password.
> 4. After inputting the password and hitting enter.  

> OBSERVED RESULT
> The app just does a refresh and shows the same updates again.

As far as I can tell, the issue is this:

> I see this error message:
> /12_eaceebcd  error code: no-license-agreement, You've to agree/decline a 
> license

What's happening here is the result of a fundamental mismatch between openSUSE
and graphical software center apps. The openSUSE packaging system relies on
being able to ask the user questions during installation (such as this request
to re-accept a EULA), but this functionality is not supported by the PackageKit
library that graphical software center apps like Discover and GNOME Software
use. See https://bugzilla.suse.com/show_bug.cgi?id=1163737.

*Someone* will have to make some changes before this issue can be resolved:
either openSUSE will need to make their PackageKit plugin take a decision
automatically rather than simply exiting because it can't ask the user a
question, or else the PackageKit library will need to be extended to offer
support for bubbling up questions to the user so that Discover can show them in
the UI.

Because this specific example of the issue concerns a EULA, I don't think there
can be a "sensible default decision" probably for legal reasons, so it will
most likely require PackageKit to acknowledge the use case and permit it
somehow. I've added a comment to
https://github.com/PackageKit/PackageKit/issues/604 mentioning this.

Regardless, all of this needs to happen below Discover, so unfortunately I'm
afraid there's nothing Discover can do about this issue. :( In the meantime I
would recommend not using Discover on openSUSE-based distros and instead use
either YaST or the `zypper` command line tools. Discover simply isn't set up to
offer a good UX on openSUSE, unfortunately.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to