Bug 1218574 - post-transaction scripts
Summary: post-transaction scripts
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Leap 15.5
Hardware: x86-64 openSUSE Leap 15.5
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-05 18:14 UTC by Don Hughes
Modified: 2024-01-08 10:15 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
post-transaction scripts (97.47 KB, image/png)
2024-01-05 18:14 UTC, Don Hughes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Hughes 2024-01-05 18:14:19 UTC
Created attachment 871675 [details]
post-transaction scripts

When updating software via yast2 you will frequently get  various pop-ups.  The default pop-up action is what I wnat to do with one exception - Running post-transaction scripts - where the default/only and selected action is abort.  On more than one occation a twitch on the enter key has aborted a running script causing me to have to re-run the update.  

Either the option should NOT be selected by default or you should be taken to an "Are you sure" dialog.
Comment 1 Stefan Hundhammer 2024-01-06 18:31:51 UTC
If you want to run package updates in the background so you can do something else with your computer, why not simply use the 'zypper' command line?

Leap:

  sudo zypper refresh
  sudo zypper patch

TW:

  sudo zypper refresh
  sudo zypper dup

or

  sudo zypper refresh
  sudo zypper dup --download-only
  sudo zypper dup


YaST is designed as an interactive tool, so it expects you to mean your interactions seriously.
Comment 2 Don Hughes 2024-01-07 19:46:14 UTC
I use Yast because I prefer to select the patches that I apply.
I do not want to run package updates in the background.
I use zypper when appropriate.
I think good software should be designed with a minimum 'astonishment factor' i.e a incorrect choice should not do significant preventable damage.
Word is also an interactive program that takes your interactions seriously, but it still verifies if you try to exit without saving.
And finally,  why would I ever want to abort a post transaction script?
Comment 3 Stefan Hundhammer 2024-01-08 10:15:34 UTC
A gazillion confirmation pop-ups contribute to users clicking blindly.

Use YaST, if you prefer that, of course. But then please pay attention and don't hit the "Abort" button if you don't really, really mean it.