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

Re: --test and --repackage...



> 
> On Mon, Jan 27, 2003 at 10:11:05AM -0500, James Olin Oden wrote:
> > Hi All,
> > 
> > I am using rpm 4.0.4, and when I run:
> > 
> > 	rpm -Uvh --test --repackage somepackage
> > 
> > It does not upgrade the existing package (expected), but
> > it does actually repackage the thing (not expected).  Should --test 
> > cause the repackage not really repackage?  I have no problem with 
> > this (I think).  One could actually use it to generate repackaged
> > packages without an upgrade (probably a real bad idea...).  Just curious
> > if this was intended.
> 
> Yup, --test doesn't factor correctly with --repackage.
> 
> Any fix will be to remove --test, which is pretty useless for
> anthing but checking for rpm segfaults.
>
Don't do that please.  Its actually quite usefull for finding out what 
RPM would do.  Unless of course you want to add some option for showing
what RPM would do package wise and transaction wise, but that probably 
translates to asking it to fry your eggs over easy (-;
...james 
> Seriously, there's *lots* of things to check, and rpm has insufficient
> context to attempt.
> 
> 73 de Jeff
> 
> -- 
> Jeff Johnson	ARS N3NPQ
> jbj@redhat.com (jbj@jbj.org)
> Chapel Hill, NC
> 
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/rpm-list
> 





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