safing / portmaster-packaging

Portmaster packages and installers
GNU General Public License v3.0
49 stars 23 forks source link

Counterintuive behaviour in RPM installer #59

Closed asunekants closed 2 years ago

asunekants commented 2 years ago

When installing the package using DNF (on Fedora 35), the scriptlet output lines (after the "Running scriptlet: portmaster-0.7.0~1-1.x86_64") are not displayed while the action is running, and are only displayed once the installation has finished or when it's interrupted with a Ctrl+C, giving the appearance of a hanging install; The following line: "portmaster: Downloading portmaster modules. This may take a while ..." needs to be displayed before the mentioned while takes place, and not after the installation is finished.

dhaavi commented 2 years ago

Hey @asunekants, thanks for reporting this!

We are aware that this is that way, but unfortunately this is a limitation of how yum/dnf works. We already looked into it when we created the installer, but found no practical solution.

ppacher commented 2 years ago

Hi,

unfortunately this is how RPM/DNF does it. It collects all output while the action is running and displays it once it's done. AFAIK there nothing we can really do about that right now. The only thing that would make this situation better is to not download modules during installation time but rather post-pone that until the portmaster is first started. Though, this is exactly the behaviour we had before the RPM installer and also has some rough corners regarding user experience.

github-actions[bot] commented 2 years ago

Auto-closing this issue after waiting for a fix confirmation for a month. If anyone still experiences this issue, please re-open the issue with updated information so we can continue working on a fix.