Am 28.11.20 um 20:02 Uhr schrieb Syds Bearda:
Hi all,
I just typed 'sudo transactional-update' without a dup, pkg or shell option and it calls automatically for a zypper up, while i was expecting an error that says please add an option.
Also a zypper dup would make more sense then as my MicroOS desktop is based on TW and not Leap.
Is there a reason it calls for zypper up or is it something that could be changed?
Yes, that should be changed, but we haven't found the best way to do it
yet: https://bugzilla.opensuse.org/show_bug.cgi?id=1171473
Options include:
* Taking the value from
https://kubic.opensuse.org/documentation/man-pages/transactional-update.conf...
* Taking the value from the release package
(https://bugzilla.opensuse.org/show_bug.cgi?id=1171463), i.e. trusting
the distribution on how it wants to be updated.
* Hardcode something different or introduce a custom logic as suggested
in the original ticket.
The value in transactional-update.conf is currently only used for the
systemd timer and is set at installation time in the packages' %post
script.
I'd personally lean to just throwing that config value away and trust
what the distribution says, but I haven't implemented that yet. In any
case this would require a new command (such as
`updatewithautomaticallydetectedupdatemethod`) as it still has to be
possible to chain the commands (e.g. `transactional-update shell cleanup
reboot