Bug 136978

Summary: yum should upgrade packages
Product: [Fedora] Fedora Reporter: Dawid Gajownik <gajownik>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-26 14:34:06 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:
Attachments:
Description Flags
uotput from yum and rpm none

Description Dawid Gajownik 2004-10-24 17:10:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.8a4)
Gecko/20040927

Description of problem:
I use FC2, but I wanted to upgrade to Rawhide :I I tried updating at
first glibc, but it was complaining about nscd (what is funny, yum
update glibc nscd resolved the problem).

I thought that it would be more sensibly to start with less critical
packages, so I installed kdewebdev. Unfortunatelly, it didn't
unninstall quanta!

"yum update/upgrade kdewebdev" does not work, because this package is
not installed, so it cannot be updated/upgraded.

Version-Release number of selected component (if applicable):
yum-2.1.10-3

How reproducible:
Always

Steps to Reproduce:
1. Install package which is obsolated
2. Run "yum install package_which_obsoletes_previous_one" ;)
3. Run rpm to see, that both packages are in rpm database.
    

Actual Results:  Mess in the system :(

Expected Results:  Yum should by default upgrade packages, not install
them.

Comment 1 Dawid Gajownik 2004-10-24 17:12:57 UTC
Created attachment 105706 [details]
uotput from yum and rpm

This attachment shows steps to reproduce this bug.

Comment 2 Seth Vidal 2004-10-25 03:11:03 UTC
This is two different bug reports.

If you think yum should install packages when you ask it to update
something, then that one will be filed as NOTABUG and WONTFIX. I do
not think it is appropriate to install something that is not installed
when the request is to update it if it is installed.

Now your second comment about the obsoletes being taken into account
for a call to install I'll accept but I'd appreciate it if you filed
that separately and filed it at the yum bugzilla, not at red hat's
bugzilla.

I'll close this upstream.


Comment 3 Dawid Gajownik 2004-11-03 15:30:49 UTC
Well, I have to reopen this bug :( I checked yum-2.1.11-3 with
rpm-4.3.2-21 (this version does not allow to install packages when
file conflicts occurs).

Unfortunatelly, "yum install kdewebdev" gives the same effect as rpm
-ivh --force kdewebdev*.rpm. In the end /usr/bin/quanta belongs to
quanta and kdewebdev :()

kdewebdev obsoletes quanta package, so quanta should be removed
(actually upgraded) from the system.

Comment 4 Dawid Gajownik 2005-01-26 14:34:06 UTC
I didn't have time to check version 2.1.12 but 2.1.13 works correct :-)