Bug 31059 - not upgrade rather install
Summary: not upgrade rather install
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
: 31060 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2001-03-08 10:52 UTC by Levente Farkas
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-08 14:54:14 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Levente Farkas 2001-03-08 10:52:13 UTC
when I upgade from rh 7.0 installer do not upgrade rather install postfix
which means two version were installed after upgrade. (the previous version
was from rh 7.0's powertools) nad I have to remove the older one by

Comment 1 Bernhard Rosenkraenzer 2001-03-08 11:27:45 UTC
This has nothing to do with the package itself. use rpm -U, not rpm -i, to 

Comment 2 Levente Farkas 2001-03-08 11:38:37 UTC
I like when the first response assume I'm such a beginer:-)
I use rpm -Fvh *.rpm in the our local redhat/powertools/wolverine/RedHat/RPMS
directory :-)

Comment 3 Bernhard Rosenkraenzer 2001-03-08 11:43:46 UTC
Then either your rpm database is messed up or there's some strange bug in rpm.
Assigning to rpm

Comment 4 Bernhard Rosenkraenzer 2001-03-08 11:44:35 UTC
*** Bug 31060 has been marked as a duplicate of this bug. ***

Comment 5 Jeff Johnson 2001-03-08 13:58:06 UTC
Check to make sure that you don't have two postfix packages installed by the
splat in "rpm -Fvh *".

Otherwise I need a reproducible test case if you wish me to take a look. Please
this bug if you can reproduce the problem.

Comment 6 Levente Farkas 2001-03-08 14:06:02 UTC
what does this "installed by the splat in "rpm -Fvh *" ?
and how can I "if you wish me to take a look" ?
I'm not anative english speaker:-(((
further info:
so there is just one postfix in that directory (and if you belive me there was
just one postfix installed before 7.0.91). the original system was a fully
updated 7.0. there are just two packages postfix and wine which were duplicated
after upgrade.
one more note both packages has some problem running the postinstall script
during rpm -Fvh (postfix can't find myhostname..., wine has some config file
may this couse the problem ?

Comment 7 Jeff Johnson 2001-03-08 14:16:37 UTC
Apologies. By "splat" I meant the wildcard glob character *, asterisk.

I need more info on how two postfix packages came to be installed.

Usually, multiple packages end up being installed because -i was
used rather than -U, or because a wildcard included two packages
in the same transaction set. I don't know of any "strange bugs"
in rpm that lead to the behavior you see.

Can you supply the exact package names for postfix and rpm
that you had installed? If so, I'll try to reproduce the bug.

Comment 8 Levente Farkas 2001-03-08 14:29:24 UTC
I know about -i <-> -U and that was the reason why I wrote this bug.
I'm sure about rpm -Fvh *.rpm
previously? I don't know, but it have to be from rh 7.0's powertools 20000531-7
or may be rh's rawhide, but I'm 99% that it was 20000531-7. there is a
/tmp/update.log but unfortunately there is no log for rpm -Fvh *.rpm :-(
if you now any place from where I can find out the previous version tell me
(/var/log/maillog don't contain version info and I have no more tipps).
rpm was 4.0.2 (which was upgraded during wolvorine upgrade) at that time,
but now I downgrade to 4.0 since ximian said the incompatibility between 4.0 
and 4.0.2 was the reason behind red-carpet's crash (after upgrade to wolvorine
:-( another sad thing).

Comment 9 Jeff Johnson 2001-03-08 14:54:05 UTC
OK, -F is exactly the same as -U with the additional install policies:
	Skip this package if the package is not currently installed.
	Skip this package if a newer version is already installed.

There is no history log for the rpm command line other than redirecting
stdout/stderr, sorry.

As for ximian and rpm-4.0.2, the resolution (I believe) is going to be to get
to use rpm-4.0.2. That work is underway. Meanwhile, either don't use rpm-4.0.2,
apply a couple 1 line patches to rpm-4.0 and rebuild ximian against rpm-4.0.

Checking postfix package upgrades, back in a moment ...

Comment 10 Jeff Johnson 2001-03-08 15:04:08 UTC
I'm able to upgrade postfix-20000531-7 (from 7.0 powertools) to 
postfix-20010202-4 (from 7.1 powertools) using "rpm -Fvh" from
the command line without problem, and there's only a single entry
in the database.

I'm going to close the bug with WORKSFORME. However, if
you do see the problem again, or can think of a better test to
reproduce the problem, please reopen this bug.

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