Bug 1048714

Summary: erase not part of auto completion of yum
Product: [Fedora] Fedora Reporter: Lars E. Pettersson <lars>
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 20CC: admiller, ffesti, firas.alkafri, jzeleny, lars, packaging-team-maint, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: yum-3.4.3-148.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-10 02:57:35 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 Lars E. Pettersson 2014-01-06 08:37:47 UTC
Description of problem:

Writing yum and pressing tab twice show up a number of sub-commands, erase is missing in this list. 

Version-Release number of selected component (if applicable):

yum-3.4.3-128.fc20.noarch

How reproducible:

Always

Steps to Reproduce:
1. yum <press tab twice>
2.
3.

Actual results:

check             groups            load-transaction  search
check-update      help              makecache         shell
clean             history           provides          update
deplist           info              reinstall         upgrade
distro-sync       install           remove            version
downgrade         list              repolist          

Expected results:

check             groups            load-transaction  search
check-update      help              makecache         shell
clean             history           provides          update
deplist           info              reinstall         upgrade
distro-sync       install           remove            version
downgrade         list              repolist          
erase

Additional info:

This s minor issue, but including erase clarifies the usage of yum. erase is also mentioned on the man page, so including it on auto completion could be a good thing.

Comment 1 Fedora Update System 2014-05-22 13:10:56 UTC
yum-3.4.3-148.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-148.fc20

Comment 2 Fedora Update System 2014-05-23 18:55:27 UTC
Package yum-3.4.3-148.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-148.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-6603/yum-3.4.3-148.fc20
then log in and leave karma (feedback).

Comment 3 Lars E. Pettersson 2014-05-24 09:19:01 UTC
[lars@tux ~]$ yum <press tab twice>
autoremove        downgrade         list              repolist
check             groups            load-transaction  search
check-update      help              makecache         shell
clean             history           provides          update
deplist           info              reinstall         upgrade
distro-sync       install           remove            version
[lars@tux ~]$ rpm -q yum 
yum-3.4.3-148.fc20.noarch
[lars@tux ~]$ 

As seen above erase is still missing in auto-completion of yum.

As mentioned before, this is a minor issue, but including it in auto-completion is a good thing.

Comment 4 Valentina Mukhamedzhanova 2014-05-26 12:53:57 UTC
Hi Lars, have you tried it in a new shell?

Comment 5 Lars E. Pettersson 2014-05-26 14:26:09 UTC
Good point. In a new shell I get.

$ yum 
autoremove        erase             list              search
check             fs                load-transaction  shell
check-update      groups            makecache         update
clean             help              provides          upgrade
deplist           history           reinstall         version
distro-sync       info              remove            
downgrade         install           repolist          
$ 

So it works. My bad...

Comment 6 Fedora Update System 2014-06-10 02:57:35 UTC
yum-3.4.3-148.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-07-09 15:23:10 UTC
yum-3.4.3-152.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-152.fc19