Created attachment 927 [details] Ubuntu 18.04 'apt remove thinlinc-*' Sometimes when trying to uninstall ThinLinc using 'dnf remove thinlinc-*' an error will occur trying to uninstall tlwebaccess and tlwebadm. This happens because 'remove_service' is needed to uninstall these and it is a part of tlmisc, which sometimes gets uninstalled before tlwebaccess/tlwebadm. This problem seems to be more prevalent in Debian systems, so the screenshot is taken on Ubuntu 18.04, but I have encountered the problem on Fedora 30 and 31.
(In reply to Niko Lehto from comment #0) > Created attachment 927 [details] > Ubuntu 18.04 'apt remove thinlinc-*' > > This problem seems to be more prevalent in Debian systems, so the screenshot > is taken on Ubuntu 18.04, but I have encountered the problem on Fedora 30 > and 31. Noticed this image depicts another problem (Bug 6235). This bug is actually happening only on rpm systems (Fedora). And the Ubuntu part of what I described above is part of bug 6235.
This bug cannot be reproduced at the time for testing purposes. However the changes in r34911 should theoretically fix this issue because the remove_service functionality is moved to the code calling it instead. This makes it so that the uninstallation are no longer dependent on a file in another package.
I was able to reproduce this on RHEL8 on version 4.11.0 and when I uninstalled the latest build (6420) all packages was removed without any failures so this seems to work fine now. Also checked that no traces of remove_service is still in the build tree by using grep.