From Fedora Project Wiki
(removed groupupdate) |
m (disabled updates on install to get older package to update) |
||
Line 5: | Line 5: | ||
# Search for a package: {{command|yum search ksh}} | # Search for a package: {{command|yum search ksh}} | ||
# List a package: {{command|yum list ksh}} | # List a package: {{command|yum list ksh}} | ||
# Install | # Install an older package: {{command|rpm -e ksh; yum --disablerepo=updates install ksh}} | ||
# Upgrade a package: {{command| rpm -e ksh | # Upgrade a package: {{command| rpm -e ksh; yum update ksh}} | ||
# Remove a package: {{command|yum remove ksh}} | # Remove a package: {{command|yum remove ksh}} | ||
# Group list: {{command|yum grouplist}} | # Group list: {{command|yum grouplist}} |
Revision as of 20:59, 2 August 2011
Description
This test verifies basic yum functionality including searching, installing, updating, removing, and group functions.
How to test
- Ensure you have yum installed with:
rpm -q yum
- Search for a package:
yum search ksh
- List a package:
yum list ksh
- Install an older package:
{{{1}}}
- Upgrade a package:
rpm -e ksh; yum update ksh
- Remove a package:
yum remove ksh
- Group list:
yum grouplist
- Group install:
yum groupinstall <some group>
- Group remove:
yum groupremove <some group>
Expected Results
- All commands above should finish as expected. There should not be a traceback.