Bugzilla – Bug 155851
rug install -y is not working
Last modified: 2006-07-12 02:35:45 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
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.
VERIFIED But note that --no-confirmation has changed to --no-confirm