Bug 250142
Summary: | How to create package skip list with yum client? | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Bob Bugzilla <bugzilla> |
Component: | yum | Assignee: | James Antill <james.antill> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.5 | CC: | casmith, cperry, msuchy |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-10-06 16:26:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bob Bugzilla
2007-07-30 17:27:29 UTC
You can add exclude= into the yum.conf file which can do a similar thing. And then how to override the skip list with yum? With up2date there was: up2date -fu And, how to force download without install? With up2deate there wass: up2date - fud Which could later be followed up with: up2date -fui Useful functionality which was not replicated in yum? In order to force update, you can use. # echo -e "config exclude 0 \n update \n run" | yum -y shell Note that the former command will not ask for confirmation before installing. To see what will be installed before running it, remove the -y option To download without install, you have to install the yum-downloadonly plugin # yum install yum-downloadonly Which gives you the --downloadonly option, then # yum --downloadonly install myPackage which would down the myPackage package. Finally if you want to see what's being skipped when doing a "yum update", use the -d 3 option. e.g. # yum -d 3 update Hope that helps Bob, did Calvin answered your questions? Additionaly, this is more yum problem, not related to yum-rhn-plugin directly. Changing component to yum. yum --disablexcludes=all I think it might be in the 5.2 version, but it's def. in the 5.3/5.4 versions. Miroslav, Calvin answered my questions. However, the answers are more complicated than a simple command line flag as was available with up2date. So, this seems more like a kludge than a functionality equivalence. I theorize a more elegant solution would be to write a series of bash scripts to wrap around the yum, to address the shortfalls when supporting RHEL/RHN. Perhaps using a number of different yum.conf files, one for each functional area would also provide a more robust solution. Just thinking out loud... FYI - I view this as more of a RHN problem, as up2date is/was for supporting RHEL via RHN. Thanks for all of the effort. |