[packagekit] PackageKit is suppressing yum plugin output.
Richard Hughes
hughsient at gmail.com
Mon Mar 12 13:44:50 UTC 2018
On 12 March 2018 at 13:31, Julio Faracco <jcfaracco at gmail.com> wrote:
>> You can't do that. At least on RHEL and Fedora its a packaging
>> violation to show output during the package installation stage. What
>> are you trying to do?
> We are trying to filter some packages, show a message and put a kind of EULA.
> Asking user to continue the installation or not.
So you're doing an interactive prompt in the %postinst? if the user
disagrees with the EULA, which they may be unable to read (wrong
language), or legally agree to without access to legal advice, do you
just exit(1) and let yum clean up the half-installed package? If so,
this is going to break a large number of deployments. What would
happen using puppet, ansible, or satellite where there is no user at
the console? What would installing the package using rpm rather than
yum going to show?
Typically the EULA is shown to the *end user* on application
first-start, not to the distributor or person deploying the package.
Richard
More information about the PackageKit
mailing list