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

Re: How to pretend an update



Soory, I should have sayed that I'm using -Uhv but rpm does not give this information into the %pre %post scripts ($1).
 
So -Uhv does not work it out.
 
M


Von: rpm-list-bounces redhat com [mailto:rpm-list-bounces redhat com] Im Auftrag von Jeff Johnson
Gesendet: Freitag, 22. September 2006 13:26
An: RPM Package Manager
Betreff: Re: How to pretend an update


On Sep 22, 2006, at 5:38 AM, Gordian, Martin wrote:

Hello *,
 
unfortunately the rpm-packagenames of my software have changed.
I'm using "Obsoletes:" to get the old packages out of the rpm-db.
 
When I'm installaing the version where the packagenames changes the old ones disappear but rpm acts like it is a new installation and not like it is an update.
 
Is there a possibility to force rpm to assume that this installationcase is an pdate?
 

Use rpm -Uvh. not -ivh or --install. Installing (rather than upgrading) does not do Obsolets:.

73 de Jeff


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