Bug 1243141

Summary: dnf does not have 'dnf shell'
Product: [Fedora] Fedora Reporter: Adam Miller <admiller>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsilhan, mluscon, packaging-team-maint, pbrobinson, pnemade, praiskup, rholy, rjsm, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-15 06:06:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Miller 2015-07-14 21:14:20 UTC
Description of problem:
yum provides a shell mechanism to allow for the construction of operations within a single transaction, dnf is meant to be a drop in replacement for yum but lacks this functionality entirely.

Version-Release number of selected component (if applicable):
dnf-1.0.1-3.fc23.noarch


How reproducible:
Always


Steps to Reproduce:
1. dnf shell

Actual results:
sh-4.3# dnf shell
No such command: shell. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(shell)'"


Expected results:
Functionality similar to the following:

sh-4.3# yum-deprecated shell
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.

Loaded plugins: fastestmirror
>

Comment 1 Radek Holy 2015-07-15 06:06:19 UTC
Maybe you could share a use case? I think that the "--allowerasing" option is a good replacement.

BTW, AFAIK, DNF is not meant to be a drop in replacement. Did I miss an official document which claims this?

*** This bug has been marked as a duplicate of bug 963137 ***