The repository version is from 2021, but the latest version is from 2023, with some bug fixes.
Assigning to QA, Package in 9/Core/Updates_testing: ===================== woeusb-ng-0.2.12-1.mga9.noarch.rpm From SRPMS: woeusb-ng-0.2.12-1.mga9.src.rpm
Assignee: bugsquad => qa-bugsCC: (none) => geiger.david68210
Keywords: (none) => advisory
RH mageia 9 x86_64 LC_ALL=C urpmi woeusb-ng To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "QA Testing (64-bit)") woeusb-ng 0.2.12 1.mga9 noarch (medium "Core Release (distrib1)") python3-termcolor 1.1.0 8.mga9 noarch 555KB of additional disk space will be used. 199KB of packages will be retrieved. Proceed with the installation of the 2 packages? (Y/n) y https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-termcolor-1.1.0-8.mga9.noarch.rpm installing /var/cache/urpmi/rpms/python3-termcolor-1.1.0-8.mga9.noarch.rpm //home/katnatek/qa-testing/x86_64/woeusb-ng-0.2.12-1.mga9.noarch.rpm Preparing... ################################################################################################## 1/2: python3-termcolor ################################################################################################## 2/2: woeusb-ng ################################################################################################## Sorry, need to ask for root rights and fail to aks for them this is due upstream hardcode /usr/local/bin as path, for fix this I add in the spec after the autosetup line sed -e 's:/usr/local:/usr:' -i miscellaneous/com.github.woeusb.woeusb-ng.policy Also you not require grub so you must 1. add grub as require or 2. patch the gui for use by omission the option "skip legacy boot loader" Also as upstream recommends p7zip and parted must be added as require
(In reply to katnatek from comment #2) > Also you not require grub so you must > 1. add grub as require > or > 2. patch the gui for use by omission the option "skip legacy boot loader" > Forget the above , I test with a windows image and works without grub even if not mark the option
David I see you fix the policy other way but something in the changes you did are breaking the ask for root , I can't detect what can be but in AUR have the same issue https://aur.archlinux.org/packages/woeusb-ng#comment-950328 I just know my current package works but is using the "old" way of build python stuff
Assignee: qa-bugs => geiger.david68210
David I find a curious workaround If you change the Exec line in desktop file to Exec=pkexec woeusbgui The application will ask for root password and works! Not have any idea about why this is necessary but works
Perfect. Pkexec works like sudo, but is used in graphical applications. I went to run the current woeusb from the repository and this is the command it executes: com.github.woeusb.woeusb.run-gui-using-pkexec The Xubuntu manual explains why to use pkexec: https://docs.xubuntu.org/latest/user/C/command-line.html
(In reply to Michael Martins from comment #6) > Perfect. Pkexec works like sudo, but is used in graphical applications. > > I went to run the current woeusb from the repository and this is the command > it executes: com.github.woeusb.woeusb.run-gui-using-pkexec > > The Xubuntu manual explains why to use pkexec: > https://docs.xubuntu.org/latest/user/C/command-line.html Usually Is not needed to explicitly call to pkexec in a desktop file when you have defined a policy , I did package this version time ago with the old python build method and do the work without include that, something in the new python build workflow break the polkit work and makes necessary the addition of pkexec Unless David find other way of course :D
Should be fixed in next woeusb-ng-0.2.12-1.1.mga9 update!
RH mageia x86_64 woeusb-ng-0.2.12-1.1.mga9 Installed without issues Click on the icon in the menu now rise the ask for root password dialog Enter root password The application works
CC: (none) => andrewsfarmWhiteboard: (none) => MGA9-64-OK
Advisory updated
Assignee: geiger.david68210 => qa-bugs
Validating.
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0165.html
Status: NEW => RESOLVEDResolution: (none) => FIXED