request for help with a plugin

Sean O'Keeffe seanokeeffe797 at gmail.com
Thu Feb 16 15:04:06 UTC 2017


I use the following for accessing the installtime, I bet someone similar
would other rpm attributes

```
pkgs = conduit.getTsInfo().getMembers()
for pkg in pkgs:
    pkg.installtime

```


On Thu, Feb 16, 2017 at 2:36 PM, Marcin Dulak <marcin.dulak at gmail.com>
wrote:

> Hi,
>
> good question: is it possible at all to get the list of all
> removed/installed/modified files belonging to an RPM which includes
> scriptlets which handle those files?
> How one can list the affected files (ignoring the files handled by
> scriptlets) when an RPM is removed?
>
> Best regards,
>
> Marcin
>
> On Thu, Feb 16, 2017 at 3:04 PM, Stefano Zamboni <tdidsg at gmail.com> wrote:
>
>> hi all, new to this list and not a yum guru
>>
>> a little premise: I'm working on a centos derived distro (Koozali SME
>> server)
>> we have a plugin to execute some tasks during yum transaction and, if
>> some kind of rpms is installed/updated/removed, we ask users to reboot the
>> server.
>>
>> this is bad and I'm trying to solve the issue
>>
>> so far, I created a patch to our plugin that almost works, but I didn't
>> manage in retireving the list of removed files when a package is removed..
>>
>> tried to search with google with no luck (maybe I miss the search keys)..
>> do you have any example?
>>
>> TIA
>>
>> Stefano
>> _______________________________________________
>> Yum-devel mailing list
>> Yum-devel at lists.baseurl.org
>> http://lists.baseurl.org/mailman/listinfo/yum-devel
>>
>
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20170216/57c968c2/attachment.html>


More information about the Yum-devel mailing list