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

Re: file management with upgrades



On 13 Feb 2001 13:57:57 -0800, Michael A. Peters wrote:
> Is there a way with rpm to tag a file so that it will NOT be replaced or renamed upon an upgrade?
> 
> i.e. rpm -i foobar-1.3.rpm
> 
> installs the files
> 
> /opt/foobar/v1.3/bin/*
> 
> and subsequent install of foobar-1.4 installs the files
> 
> /opt/foobar/v1.4/bin/* W/O removing v1.3 stuff?
> 
> I need this functionallity and I'd prefer not to have the packages have different names.
> Yeah, I could use different names and the virtual provides tag for software that depends upon foobar and works with either, but...

Yeah, don't upgrade.  Just do 'rpm -ivh foobar-1.3.rpm', and then 'rpm
-ivh foobar-1.4.rpm', and that will do what you want.  You can't do an
"upgrade", because that will remove the old package, which is what
you're trying not to do.

    Greg





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