Bug 7478 - Uninstallation of ThinLinc fails sometimes on Linux
Summary: Uninstallation of ThinLinc fails sometimes on Linux
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Linux
: P2 Normal
Target Milestone: 4.12.0
Assignee: Niko Lehto
URL:
Keywords: aleta_tester, prosaic
Depends on: 4290
Blocks:
  Show dependency treegraph
 
Reported: 2020-03-10 13:12 CET by Niko Lehto
Modified: 2022-04-22 07:59 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments
Ubuntu 18.04 'apt remove thinlinc-*' (98.51 KB, image/png)
2020-03-10 13:12 CET, Niko Lehto
Details

Description Niko Lehto cendio 2020-03-10 13:12:06 CET
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.
Comment 1 Niko Lehto cendio 2020-03-10 13:52:00 CET
(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.
Comment 2 Niko Lehto cendio 2020-03-13 10:05:47 CET
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.
Comment 3 Alex Tanskanen cendio 2020-03-17 16:50:23 CET
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.

Note You need to log in before you can comment on or make changes to this bug.