Bug 42602 - pkcon simulate feature request
Summary: pkcon simulate feature request
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: low enhancement
Assignee: Richard Hughes
QA Contact:
Depends on:
Reported: 2011-11-04 12:28 UTC by Anthony Nordquist
Modified: 2018-08-21 15:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Anthony Nordquist 2011-11-04 12:28:06 UTC
I would like to request that a simulate or -s function gets added to pkcon. A function that simply displays what it would do if you actually ran the command, the same way aptitude -s does on Debian systems. I am aware that it does a simulation and asks if you want to proceed, but the way it is written is fairly useless when trying to call pkcon from a bash script and get information from it.
Comment 1 Richard Hughes 2011-11-07 02:05:07 UTC
Are you able to write a patch for this? It should be a pretty simple patch to client/pk-console.co -- thanks.
Comment 2 Anthony Nordquist 2011-11-07 11:20:04 UTC
Sorry, I cannot write a patch for this.  If its not written in Bash, PHP, Python or Java I am really quite useless (Except for filing bug reports). I came across the lack of this feature while writing an apt-url like implementation on top of pkcon.  Currently I have a "very" rough version using Zenity as the GTK front-end, with plans to write an xterm version and a Kdialog version (Appease everyone style). I am using Debian sid as the development environment and therefore have been using aptitude -s as a place holder where eventually I need to use pkcon simulate or -s. 
                                                     Cheers, Anthony.
Comment 3 Richard Hughes 2018-08-21 15:52:39 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.