Bug 55810 - 'up2date --test -u' seems to ignore the --test option
Summary: 'up2date --test -u' seems to ignore the --test option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 7.2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
URL:
Whiteboard:
: 56770 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-06 22:32 UTC by Gregory Leblanc
Modified: 2015-01-07 23:52 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-12-03 16:57:16 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2001:119 0 normal SHIPPED_LIVE New up2date and rhn_register clients available 2001-10-03 04:00:00 UTC

Description Gregory Leblanc 2001-11-06 22:32:31 UTC
Description of Problem:
I just ran up2date --test -u a moment ago, in order to see what up2date was
going to do if I ran it with the -u flag.  It carried along displaying all
of it's output, and I reviewed all of the messages printed to the console.
 The changes looked fine, so I ran 'up2date -u', which should have actually
installed the packages.  Instead, it told me that there were no new
packages.  When I reviewed the versions of installed pacakges, lo and
behold, the ones that it had told me about with --test were actually
installed. 


Version-Release number of selected component (if applicable):
up2date-2.7.2-7.x.6

Steps to Reproduce:

It's a little hard to try to reproduce this, since there aren't any new
packages to get installed right now.

Additional Information:
I've marked this as "high", but it could conceivably be security related, I
guess.

Comment 1 Adrian Likins 2001-11-06 23:23:50 UTC
Well, yeah. The "--test" isnt really intended for a useful purpose (
more of a handy hook for devel time stuff). It wasnt supposed to
even be documented. The new arg parsing stuff autogenerates the
help text though, and it shows "--test" as a valid option. That
wasnt intentional. 

I'll probabaly just remove "--test" entirely, since it doesnt really
do anything. 

Just commited code to remove this option. I might bring it back later
with equilvant function as "--test" of rpm. For now "--list" should
be close enough.

Comment 2 Adrian Likins 2001-12-03 16:57:10 UTC
*** Bug 56770 has been marked as a duplicate of this bug. ***

Comment 3 David M. Cook 2002-02-22 17:23:37 UTC
Fixed in http://www.redhat.com/support/errata/RHBA-2001-119.html


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