FedoraForum.org - Fedora Support Forums and Community
Results 1 to 1 of 1
  1. #1
    Join Date
    Jun 2005

    pre transaction actions?

    There is a yum-plugin-post-transaction-actions plugin that runs things after a package is updated.

    Is there one to run tasks before a package is upgraded?


    I would like to run a script that I am making to save all my virtual machine's state's, and stop them before upgrading virtualbox.
    I am making a second script to restore and start the machines that were running after upgrading virtualbox.
    I know how to create the two scripts to do both parts if anyone would find them useful I can post them.
    I have a way to do the second part using yum-plugin-post-transaction-actions.
    if I could do the first part before starting the upgrade of virtualbox nicely then I'm all set.
    I even have a way to detect if there is a virtual box upgrade waiting via "dnf list virtualbox".

    Currently thought of method Is to use an alias for dnf that I can check before running the system dnf.
    Limitation: That only works if I run as a user that has the alias.

    Added current solution to https://bitbucket.org/jeffsadowski/v...store_scripts/
    Last edited by Jeff Sadowski; 6th March 2018 at 06:23 AM.

Similar Threads

  1. Thunar Actions
    By xzj8b3 in forum Using Fedora
    Replies: 0
    Last Post: 16th January 2016, 10:40 PM
  2. is there sudo like for GUI actions ?
    By m.nassar in forum Using Fedora
    Replies: 6
    Last Post: 23rd September 2008, 01:52 AM
  3. Different actions in USB automount
    By Kiwon Um in forum Hardware & Laptops
    Replies: 0
    Last Post: 13th August 2007, 06:05 PM
  4. nautilus-actions
    By linux_paul in forum Using Fedora
    Replies: 0
    Last Post: 12th February 2006, 05:00 PM
  5. Where is the actions log
    By EliteXR in forum Security and Privacy
    Replies: 1
    Last Post: 23rd September 2005, 10:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts