[Bug]: Miru attempts to update using a deb as super user, using dpkg/apt on Arch Linux #411
Closed
3 tasks done
Labels
bug
Something isn't working
Preflight checklist
What app version are you using?
v4.5.9
What operating system version are you using?
Linux
Arch Linux
Expected Behavior
opening miru it starts looking for updates, it send me a notification every few minutes to update it, it then downloads a .deb file and attempts to install itself as super-user, even though Arch (and others) cannot use a .deb file and doesnt have dpkg or apt.
I understand that I am technically not using the latest version (0.0.1 behind) here and that my scope of use is not something that is explicitly supported by Miru, however, I do think it would be a good idea to either allow a user to disable auto-updates (and maybe acknowledge that this isn't explicitly supported at that point) - or to implement a check to see if the platform is actually Debian or Ubuntu, and if not, then potentially prompt the user to use an official version or send a warning that this isnt supported and disable auto-updates.
I'm sure there is a good solution here and I'd be happy to help with this. I think at the very least, it would be smart to try and detect the platform before using pkexec to run a dpkg command as root. I also think it's perfectly reasonable to not support packages outside what you already do (I know its a ton of work) but I think this requires a little extra care here. Im about to update to the latest version and I will likely just select a different method instead of a manual install but I foresee this likely being an issue in the future as there are multiple Miru packages in the AUR and probably on other non-Debian based distros as well.
Actual Behavior
terminal output of the behavior:
Screenshots
No response
The text was updated successfully, but these errors were encountered: