After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759497 - InstallPackageNames exits immediately
InstallPackageNames exits immediately
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: General
3.25.x
Other Linux
: High major
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks: 754468
 
 
Reported: 2015-12-15 14:40 UTC by Marek Kašík
Modified: 2018-01-24 16:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marek Kašík 2015-12-15 14:40:24 UTC
Method InstallPackageNames exits immediately after calling:

'gdbus call --session --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --method org.freedesktop.PackageKit.Modify2.InstallPackageNames "['hplip']" "" "" "[]"'

(the same goes for calling it from an application using g_dbus_connection_call_sync()).

This makes it hard for applications to install a package and use that package consequently.

The same happens with InstallPrinterDrivers where the order of installation of drivers and installation of printer is essential.

This worked before in 3.14 (with Modify interface).
Comment 1 Richard Hughes 2016-02-22 16:42:00 UTC
I think this is because we're now handling this in the main UI; Kalev is this expected that the DBus method returns before doing the action?
Comment 2 Marek Kašík 2016-08-15 11:38:18 UTC
I'm bumping importance of this bug because it makes it impossible to install some printers.
Comment 3 Marek Kašík 2017-08-08 11:35:24 UTC
Hi, I get more reports which are caused by this bug. Could you have a look at this bug?
Comment 4 Bastien Nocera 2017-08-08 11:42:41 UTC
(In reply to Marek Kašík from comment #3)
> Hi, I get more reports which are caused by this bug. Could you have a look
> at this bug?

NEEDINFO doesn't do what you think it does.
Comment 5 Sebastien Bacher 2017-08-08 12:02:11 UTC
That's still an issue in 3.25 and makes it for a very poor experience, see bug #785970 and the video on https://bug785970.bugzilla-attachments.gnome.org/attachment.cgi?id=357160

Is there any way to get that bug on the roadmap for the next cycles? Do you have any idea what kind of changes would make sense here if somebody was to work on a patch?
Comment 6 Marek Kašík 2017-08-08 12:09:06 UTC
(In reply to Bastien Nocera from comment #4)
> (In reply to Marek Kašík from comment #3)
> > Hi, I get more reports which are caused by this bug. Could you have a look
> > at this bug?
> 
> NEEDINFO doesn't do what you think it does.

Sorry about that, I am used to RH bugzilla where you can set NEEDINFO on assignee and I get a lot of such NEEDINFO on myself.
Comment 7 GNOME Infrastructure Team 2018-01-24 16:59:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/37.