Bug 155851

Summary: rug install -y is not working
Product: [openSUSE] SUSE Linux 10.1 Reporter: Andreas Jaeger <aj>
Component: ZenworksAssignee: Rian Hunter <rhunter>
Status: VERIFIED FIXED QA Contact: Eric Waldow <ewaldow>
Severity: Normal    
Priority: P5 - None    
Version: Beta 6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Jaeger 2006-03-07 19:40:09 UTC
According to the manual page of rug:

       install (in) [options] [packagename|catalog:packagename] ...
              Install the specified package  or  packages.  If  you  use  catalog:packagename,
              install  a package from a specified catalog. If packagename designates a package
              which is  already installed, but for which a newer version is available, the new
              version is downloaded and installed. Accepts the following option flags:

              -u, --allow-unsubscribed - Allow unsubscribed catalogs.
              -d, --download-only - Only download packages.
              --entire-catalog - Install all of the packages from the catalogs specified.
              -N,  --dry-run  -  Test  and  display, but do not actually perform the requested
              actions.
              -y, --no-confirmation - Do not prompt for confirmation.

So, the following should work - but does not:

aj@x40:~/cvs/nrm-zypp> rug install -y opera
ERROR: Unable to find package '-y' in any subscribed catalog
aj@x40:~/cvs/nrm-zypp> rug install --no-confirmation opera
ERROR: Unable to find package '--no-confirmation' in any subscribed catalog
Comment 1 James Willcox 2006-03-08 22:48:28 UTC
Fixed in svn.  I had removed the option since the default now is to only prompt if it needs to do "extra" stuff.  I've put the option back.
Comment 2 Eric Waldow 2006-07-12 02:35:45 UTC
VERIFIED

But note that --no-confirmation has changed to --no-confirm