Bug 20495

Summary: icewm alternatives are kept after uninstall
Product: Mageia Reporter: katnatek <j.alberto.vc>
Component: RPM PackagesAssignee: Shlomi Fish <shlomif>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jani.valimaa, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: icewm-1.3.12-12.mga6.src.rpm CVE:
Status comment:

Description katnatek 2017-03-15 23:41:56 CET
Description of problem:

I try to reduce the packages installed after the switch to cauldron so i uninstall icewm but i found that the ice* files in /var/lib/alternatives are still present after uninstall icewm

Version-Release number of selected component (if applicable):
icewm-1.3.12-12


Steps to Reproduce:
1. uninstall icewm
2. ls /var/lib/alternatives
3. see the ice* files
Comment 1 Marja Van Waes 2017-03-16 09:26:01 CET
Assigning to the registered maintainer.

CC: (none) => marja11
Assignee: bugsquad => shlomif

Shlomi Fish 2017-03-16 12:09:52 CET

Summary: icewm alternatives are keeped after uninstall => icewm alternatives are kept after uninstall

Comment 2 Jani Välimaa 2017-03-17 19:55:01 CET
Do you still have icewm-light installed?

CC: (none) => jani.valimaa

Comment 3 katnatek 2017-03-18 00:12:02 CET
(In reply to Jani Välimaa from comment #2)
> Do you still have icewm-light installed?

Negative

rpm -qa --nosignature|grep ice
libnice10-0.1.13-3.mga6
libreoffice-opensymbol-fonts-5.3.1.2-1.mga6
libimobiledevice6-1.2.0-5.mga6
netprofile-plugin-services-0.28-8.mga6
libice6-1.0.9-5.mga6
iceauth-1.0.7-2.mga6
libk3bdevice7-2.10.0-5.mga6.tainted
icedtea-web-1.6.2-1.mga6
common-licenses-1.1-8.mga6
libkf5service5-5.32.0-1.mga6
accountsservice-0.6.43-1.mga6
libimobiledevice-1.2.0-5.mga6
cdrkit-icedax-1.1.11-9.mga6
libstaroffice0.0_0-0.0.3-4.mga6
libqt5egldeviceintegration5-5.6.2-6.mga6
Comment 4 Jani Välimaa 2017-03-18 16:52:08 CET
Alternatives state file leftovers are now correctly handled. It was issue only when updating mga5 or old cauldron installations to current cauldron.

Tested several cases and updating to latest icewm{,-light}-1.3.12-13.mga6 should work flawless even there're no state file leftovers.

However, if icewm was already removed, new icewm doesn't remove anything and one needs to clean state files by hand.

Status: NEW => RESOLVED
Resolution: (none) => FIXED