[Yum] Obsoletes line seems to cause an older package to be marked for upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alright guys, I've tried to do the leg work here and I can't figure
this one out. I might be missing something obvious here, but I'm not
really sure what it is. Here is the situation. I'm building a
spamassassin rpm (from the latest spec file as released w/ the
spamassassin distro) and installing it on a Fedora Core 3 system. For
some reason when I run yum update yum attempts to install the version
from the Fedora Updates repo, even though the one of the system is
newer (Fedora Updates has 3.0.1 - installed version is 3.0.2). Yum
fails at the test trasaction change stage and exits. I suspect this
may be an issue because of the fact that FC3's spamassassin package
Obsoletes perl-Mail-SpamAssassin while the spamassassin 3.0.2 package
from the spec file in the distro requires it.

Here is a little background info:

[root@kronos ~]# rpm -qa | grep -i spamassassin
spamassassin-3.0.2-1.fc3.zvx
perl-Mail-SpamAssassin-3.0.2-1.fc3.zvx

[root@kronos ~]# yum -d 10 update
Yum Version: 2.2.0
COMMAND: yum -d 10 update
Installroot: /
...
Excluding Packages from "Dag RPM Repository for Fedora Core"
Excluding spamassassin - 2.64-2.1.fc3.rf.i386
Finished
Excluding Packages from Fedora Core 3 - i386 - Freshrpms
Finished
Reading Local RPMDB
Building updates object
... snip ....
putting spamassassin in complex update
... snip ....
processing spamassassin.i386
... snip ....
Resolving Dependencies
1109090886.15
--> Populating transaction set with selected packages. Please wait.
Member: spamassassin.i386 0-3.0.1-0.FC3 - u
Adding Package spamassassin - 3.0.1-0.FC3.i386 in mode u
---> Package spamassassin.i386 0:3.0.1-0.FC3 set to be updated
Member: perl-Mail-SpamAssassin.i386 0-3.0.2-1.fc3.zvx - None
--> Running transaction check

Dependencies Resolved
1109090887.6
Transaction Listing:
  Install: spamassassin.i386 0:3.0.1-0.FC3 - updates-released
Total download size: 666 k
Downloading Packages:
Running Transaction Test
Member: spamassassin.i386 0-3.0.1-0.FC3 - u
Adding Package spamassassin - 3.0.1-0.FC3.i386 in mode u
Member: perl-Mail-SpamAssassin.i386 0-3.0.2-1.fc3.zvx - None
Finished Transaction Test
Transaction Check Error:   package spamassassin-3.0.2-1.fc3.zvx (which
is newer than spamassassin-3.0.1-0.FC3) is already installed

As you can see I'm exclude spamassassin from the dag repo, and if I
exclude it from the fedora and fedora-updates repo yum works, but I
cannt figure out why yum thinks this is an upgrade.

-- 
Adam C. Greenfield
<adam.greenfield@xxxxxxxxx>

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux