-
Notifications
You must be signed in to change notification settings - Fork 139
Description
- Make a decision how to provide a functionality provided by shell
- interactive shell cannot behave by the same way because the change of Goal workflow (dnf4 -
install <unknown>reports problem directly, but in DNF5 it requires resolve)
- interactive shell cannot behave by the same way because the change of Goal workflow (dnf4 -
Command: shell
Aliases: sh
dnf [options] shell [filename]
Open an interactive shell for conducting multiple commands during a single execution of DNF. These commands can be issued manually or passed to DNF from a file. The commands are much the same as the normal DNF command line options. There are a few additional commands documented below.
config [conf-option] [value]
- Set a configuration option to a requested value. If no value is given it prints the current value.
repo [list|enable|disable] [repo-id]
- list: list repositories and their status
- enable: enable repository
- disable: disable repository
transaction [list|reset|solve|run]
- list: resolve and list the content of the transaction
- reset: reset the transaction
- run: resolve and run the transaction
Note that all local packages must be used in the first shell transaction subcommand (e.g. install /tmp/nodejs-1-1.x86_64.rpm /tmp/acpi-1-1.noarch.rpm) otherwise an error will occur. Any disable, enable, and reset module operations (e.g. module enable nodejs) must also be performed before any other shell transaction subcommand is used.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status