You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
install.sh does not restore missing files when the same version is already installed (desktop file deleted by third-party installer)
#1500
A third-party installer (Assinador Serpro 4.5.7 and 4.6.1, the Brazilian government digital signature tool, official .bin installer) deletes /usr/share/applications/toys.linux.LinuxToys.desktop during its "legacy files cleanup" step. After that, the LinuxToys launcher shows a generic icon and Plasma reports "Unknown application folder". The app only runs from the terminal.
This bug belongs to the Serpro installer and has been reported to Serpro. I am reporting it here because the official LinuxToys recovery path does not fix it.
Problem in LinuxToys
Running curl -fsSL https://linux.toys/install.sh | bash does not restore the missing file. On Fedora, osrpm() runs dnf install -y /tmp/<rpm>. When the same version is already installed, dnf does nothing, so the deleted desktop file is not restored. The installer still prints "LinuxToys installed or updated!".
Steps to reproduce
Install LinuxToys 7.7.6 on Fedora 44 using install.sh.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
A third-party installer (Assinador Serpro 4.5.7 and 4.6.1, the Brazilian government digital signature tool, official .bin installer) deletes
/usr/share/applications/toys.linux.LinuxToys.desktopduring its "legacy files cleanup" step. After that, the LinuxToys launcher shows a generic icon and Plasma reports "Unknown application folder". The app only runs from the terminal.Installer output (Assinador Serpro 4.6.1):
Limpando arquivos legados...
Atalho legado removido: /usr/share/applications/toys.linux.LinuxToys.desktop
("Cleaning legacy files... Legacy shortcut removed: ...")
This bug belongs to the Serpro installer and has been reported to Serpro. I am reporting it here because the official LinuxToys recovery path does not fix it.
Problem in LinuxToys
Running
curl -fsSL https://linux.toys/install.sh | bashdoes not restore the missing file. On Fedora,osrpm()runsdnf install -y /tmp/<rpm>. When the same version is already installed, dnf does nothing, so the deleted desktop file is not restored. The installer still prints "LinuxToys installed or updated!".Steps to reproduce
/usr/share/applications/toys.linux.LinuxToys.desktop(or install Assinador Serpro .bin).rpm -V linuxtoysstill reports it missing).Workaround
Suggestion
In
osrpm(), when the same version is already installed, usednf reinstall(orrpm -U --replacepkgs) so install.sh can repair a damaged installation.Environment
All reactions