Bug 98670 - Wanted: Package selection + update start via command line
Summary: Wanted: Package selection + update start via command line
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-packages
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2003-07-07 12:33 UTC by Toralf
Modified: 2007-04-18 16:55 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2005-07-29 19:56:35 UTC

Attachments (Terms of Use)

Description Toralf 2003-07-07 12:33:37 UTC
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):
1.1.8-1, 1.1.9-1

Comment 1 Toralf 2003-07-16 11:13:35 UTC
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?

Comment 2 Toralf 2003-09-03 14:24:09 UTC
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.

Comment 3 Jeremy Katz 2005-07-29 19:56:35 UTC
yum is the way to do this

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