Bug 122155

Summary: switchdesk 4.0.2-1 may not upgrade correctly from 3.9.8-18
Product: [Fedora] Fedora Reporter: Andrew Farris <lordmorgul>
Component: switchdeskAssignee: Than Ngo <than>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: lordmorgul
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-01 21:34:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Farris 2004-05-01 00:23:47 UTC
Description of problem:
The latest (4.0.2-1) switchdesk and -gui components have odd behavior
when updating from switchdesk for FC1.  The switchdesk-3.x package is
removed/updated by rpm but the gui components for the old version are
not removed (they apparently do not depend on the 3.x package). 
Upgrade of the new switchdesk-gui package does remove the old gui
packages (-kde and -gnome) but install of the new -gui package does
NOT remove the old packages (obseletes?).  The install and upgrade
behavior for the new -gui package should be the same.

I have not verified this happens with the update yet, it may be dealt
with already by anaconda.  This is run on a rawhide system with
switchdesk removed prior to this exercise.

-#-> rpm -i switchdesk-*3*18*

-#-> rpm -qa | grep switchdesk
switchdesk-gnome-3.9.8-18
switchdesk-kde-3.9.8-18
switchdesk-3.9.8-18

-#-> rpm -U switchdesk-4.0.2-1.noarch.rpm

-#-> rpm -qa | grep switchdesk
switchdesk-gnome-3.9.8-18
switchdesk-kde-3.9.8-18
switchdesk-4.0.2-1

-#-> rpm -i switchdesk-gui-4.0.2-1.noarch.rpm

-#-> rpm -qa | grep switchdesk
switchdesk-gnome-3.9.8-18
switchdesk-kde-3.9.8-18
switchdesk-4.0.2-1
switchdesk-gui-4.0.2-1

-#-> rpm -e switchdesk-gui

-#-> rpm -U switchdesk-gui-4.0.2-1.noarch.rpm

-#-> rpm -qa | grep switchdesk
switchdesk-gui-4.0.2-1
switchdesk-4.0.2-1

Comment 1 Than Ngo 2004-05-01 21:34:54 UTC
using "rpm -i packages" only installs new package but does not update !
that means that only package will be not removed.

If you want to update your package you have to use rpm -U instead -i.