What's the differences between yum list updates and yum list obsoletes?Yum Check Available Package...
Did anyone try to find the little box that held Professor Moriarty and his wife after the Enterprise D crashed?
How should I face my manager if I make a mistake because a senior coworker explained something incorrectly to me?
Handling Disruptive Student on the Autistic Spectrum
Compelling story with the world as a villain
Position a tabular on the corner of a slide
Why isn't "I've" a proper response?
How to find out the average duration of the peer-review process for a given journal?
Heat reduction based on compression
Why do all fields in a QFT transform like *irreducible* representations of some group?
What is the best type of paint to paint a shipping container?
How to prevent clipped screen edges on my TV, HDMI-connected?
Is a player able to change alignment midway through an adventure?
Nothing like a good ol' game of ModTen
Heyacrazy: Careening
Can a Rogue PC teach an NPC to perform Sneak Attack?
Why would an IIS hosted site prompt for AD account credential if accessed through a hostname or IP, but not through servername?
Justifying the use of directed energy weapons
LeetCode: Group Anagrams C#
Handwriting Music
Is there any practical application for performing a double Fourier transform? ...or an inverse Fourier transform on a time-domain input?
French abbreviation for comparing two items ("vs")
Avoiding racist tropes in fantasy
Is there any example of one country devastating a third?
How much authority do teachers get from *In Loco Parentis*?
What's the differences between yum list updates and yum list obsoletes?
Yum Check Available Package UpdatesWhat is the purpose of the command “yum list extras”?How to list packages and their urls in yum repository?Yum security model OR Why can a hostile proxy deny updates without a warning?Does it make a difference whether I update packages via Apper or the Software Center in Debian?How to update yum repository automaticallyWhat is the behavior of “yum install” when modifying an existing package?yum + print all available security updates that are not installed
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
The document states:
yum list obsoletes
List the packages installed on the system that are obsoleted by packages in any yum repository listed in the config file.
yum list updates
List all packages with updates available in the yum repositories.
As I understand, if a package has update available, it is obsolete, right? So what's the differences between them?
yum software-updates
add a comment |
The document states:
yum list obsoletes
List the packages installed on the system that are obsoleted by packages in any yum repository listed in the config file.
yum list updates
List all packages with updates available in the yum repositories.
As I understand, if a package has update available, it is obsolete, right? So what's the differences between them?
yum software-updates
add a comment |
The document states:
yum list obsoletes
List the packages installed on the system that are obsoleted by packages in any yum repository listed in the config file.
yum list updates
List all packages with updates available in the yum repositories.
As I understand, if a package has update available, it is obsolete, right? So what's the differences between them?
yum software-updates
The document states:
yum list obsoletes
List the packages installed on the system that are obsoleted by packages in any yum repository listed in the config file.
yum list updates
List all packages with updates available in the yum repositories.
As I understand, if a package has update available, it is obsolete, right? So what's the differences between them?
yum software-updates
yum software-updates
asked yesterday
Just a learnerJust a learner
7171 gold badge6 silver badges17 bronze badges
7171 gold badge6 silver badges17 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You usually don't have all the packages from the repository on your local system but only a subset of them.
yum list updates
lists all packages in the repositories that have updates. This is a superset of the packages on your system that have updates available.
The usual command for checking whether there are updates for the packages on your system is yum check-update
, which has the following description in the man page (emphasis mine):
Implemented so you could know if your machine had any updates
that needed to be applied without running it interactively.
Returns exit value of 100 if there are packages available for
an update. Also returns a list of the packages to be updated
in list format. Returns 0 if no packages are available for
update. Returns 1 if an error occurred. Running in verbose
mode also shows obsoletes.
One interesting difference between yum list obsoletes
and yum check-update
is that the former command also accepts a glob expression to narrow down the list of packages that may be obsoleted by packages in the repositories. yum check-update
does not accept such a glob expression.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f536832%2fwhats-the-differences-between-yum-list-updates-and-yum-list-obsoletes%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You usually don't have all the packages from the repository on your local system but only a subset of them.
yum list updates
lists all packages in the repositories that have updates. This is a superset of the packages on your system that have updates available.
The usual command for checking whether there are updates for the packages on your system is yum check-update
, which has the following description in the man page (emphasis mine):
Implemented so you could know if your machine had any updates
that needed to be applied without running it interactively.
Returns exit value of 100 if there are packages available for
an update. Also returns a list of the packages to be updated
in list format. Returns 0 if no packages are available for
update. Returns 1 if an error occurred. Running in verbose
mode also shows obsoletes.
One interesting difference between yum list obsoletes
and yum check-update
is that the former command also accepts a glob expression to narrow down the list of packages that may be obsoleted by packages in the repositories. yum check-update
does not accept such a glob expression.
add a comment |
You usually don't have all the packages from the repository on your local system but only a subset of them.
yum list updates
lists all packages in the repositories that have updates. This is a superset of the packages on your system that have updates available.
The usual command for checking whether there are updates for the packages on your system is yum check-update
, which has the following description in the man page (emphasis mine):
Implemented so you could know if your machine had any updates
that needed to be applied without running it interactively.
Returns exit value of 100 if there are packages available for
an update. Also returns a list of the packages to be updated
in list format. Returns 0 if no packages are available for
update. Returns 1 if an error occurred. Running in verbose
mode also shows obsoletes.
One interesting difference between yum list obsoletes
and yum check-update
is that the former command also accepts a glob expression to narrow down the list of packages that may be obsoleted by packages in the repositories. yum check-update
does not accept such a glob expression.
add a comment |
You usually don't have all the packages from the repository on your local system but only a subset of them.
yum list updates
lists all packages in the repositories that have updates. This is a superset of the packages on your system that have updates available.
The usual command for checking whether there are updates for the packages on your system is yum check-update
, which has the following description in the man page (emphasis mine):
Implemented so you could know if your machine had any updates
that needed to be applied without running it interactively.
Returns exit value of 100 if there are packages available for
an update. Also returns a list of the packages to be updated
in list format. Returns 0 if no packages are available for
update. Returns 1 if an error occurred. Running in verbose
mode also shows obsoletes.
One interesting difference between yum list obsoletes
and yum check-update
is that the former command also accepts a glob expression to narrow down the list of packages that may be obsoleted by packages in the repositories. yum check-update
does not accept such a glob expression.
You usually don't have all the packages from the repository on your local system but only a subset of them.
yum list updates
lists all packages in the repositories that have updates. This is a superset of the packages on your system that have updates available.
The usual command for checking whether there are updates for the packages on your system is yum check-update
, which has the following description in the man page (emphasis mine):
Implemented so you could know if your machine had any updates
that needed to be applied without running it interactively.
Returns exit value of 100 if there are packages available for
an update. Also returns a list of the packages to be updated
in list format. Returns 0 if no packages are available for
update. Returns 1 if an error occurred. Running in verbose
mode also shows obsoletes.
One interesting difference between yum list obsoletes
and yum check-update
is that the former command also accepts a glob expression to narrow down the list of packages that may be obsoleted by packages in the repositories. yum check-update
does not accept such a glob expression.
answered yesterday
Christophe StrobbeChristophe Strobbe
2861 gold badge3 silver badges14 bronze badges
2861 gold badge3 silver badges14 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f536832%2fwhats-the-differences-between-yum-list-updates-and-yum-list-obsoletes%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown