Red Hat Bugzilla – Bug 98670
Wanted: Package selection + update start via command line
Last modified: 2007-04-18 12:55:31 EDT
Description of problem:
Another note related to bug 98669: I'd really also like to be able to start
installation directly based on command line arguments. I'm thinking about a mode
where I could say something like
redhat-config-packages --add "Development Tools"
in order to add packages in group "Development Tools" to a system, instead of
starting up, selecting the group via GUI and clicking "Update". For this mode to
be useful, no confirmations at all should be required to start the install
process, and the utility should perhaps also exit automatically on completion.
Version-Release number of selected component (if applicable):
It turns out that yum (http://linux.duke.edu/projects/yum/) contains most of the
functionality I want, so maybe I'll use that instead. I'd really like to see
something like this in a standard (i.e. distributed on Red Hat CDs) tool,
though. Also, maybe the development efforts could be integrated?
Another thought: Maybe you could support anaconda kickstart files, or the
relevant sections of these, i.e. allow e.g.
redhat-config-packages --kickstart ks.cfg
- which would install all groups or packages listed in %packages that aren't
already installed, and possibly also update the ones that are if a new version
is present on the source tree. Without asking any questions, of course.
Installation source might be taken from "url" option in kickstart file, but I
wouldn't mind using specifying it using "--tree", either.
Kickstart files of course have a lot of information that isn't relevant here,
but it would be really nice to be able to use the same information source for
fresh installs and live updates.
yum is the way to do this