Bug 74823 - [RFE] up2date non-interactive mode
Summary: [RFE] up2date non-interactive mode
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-01 22:05 UTC by Mike McLean
Modified: 2015-01-08 00:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-08-06 22:50:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Mike McLean 2002-10-01 22:05:23 UTC
* up2date-3.0.7-1

up2date should really have a non-interactive mode.

With 8.0, the first time you run up2date -u it pops up an interactive dialog,
which makes it a pain to have a machine automatically up2date itself after an
automated install.

Comment 1 Jesse Keating 2002-10-01 22:52:49 UTC
The first time you run up2date you have to register with RHN, since rhn_register
was merged with up2date.  After that I am able to run up2date without any
interaction.  up2date --nox -u works just fine.

Comment 2 Ali-Reza Anghaie 2002-10-02 14:44:40 UTC
I'm thinking that those doing automagical installs should probably be 
registered w/ RHN ahead-of-time and ~perhaps~ the Activation Keys feature of 
RHN will help: 
 
https://rhn.redhat.com/news.pxt 
https://rhn.redhat.com/network/user/activation_keys.pxt 
 
"This command can be easily added to the post-installation process." looks 
pretty promising. 
 
*shrug* I should try it one day. Cheers, -Ali

Comment 3 Mike McLean 2002-10-02 18:36:50 UTC
This system was registered (via rhnreg_ks).  Activations keys are really handy.

Comment 4 Adrian Likins 2003-01-21 04:37:11 UTC
sounds like rhnreg_ks needs to set "networkSetup"=1.

added in 3.1.5 or so

Comment 5 Jay Turner 2003-02-14 15:02:21 UTC
Fix confirmed with up2date-3.1.15-7.

Comment 6 Mike McLean 2003-03-25 22:25:12 UTC
Not quite there yet..

I just ran 'up2date -f -i --nox --nosrc up2date >some_log_file'

At the time I ran this RHN was temporarily offline.  up2date merrily spewed an
ncurses "Fatal Error" dialog to my log file file stating that RHN capabilities
were being upgraded and that full service would be restored within 1 hour. 

The real problem was that up2date sat waiting for a user to click the ncurses
"Ok" button indefinitely.

We really need a clear line drawn between up2date's interactive and
non-interactive modes if it is going to be a useful command line tool.


Comment 7 Adrian Likins 2003-08-06 22:50:22 UTC
I think I'm deferring this. First one cases are geared to make
most users life easier. The use cases described are pretty
unnusual. 


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