yum: gcc trying to install i686 architecture on x86_64 server
Trying to YUM install gcc gcc-g++ make and it fails with:
Package: glibc-2.17-260.el7.i686 (RHEL_SEC_7)
Requires: glibc-common = 2.17-260.el7
Installed: glibc-common-2.17-260.el7_6.3.x86_64 (@anaconda/7.6)
glibc-common = 2.17-260.el7_6.3
Available: glibc-common-2.17-55.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7
Available: glibc-common-2.17-55.el7_0.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.1
Available: glibc-common-2.17-55.el7_0.3.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.3
Available: glibc-common-2.17-55.el7_0.5.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.5
Available: glibc-common-2.17-78.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-78.el7
Available: glibc-common-2.17-105.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-105.el7
Available: glibc-common-2.17-106.el7_2.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.1
Available: glibc-common-2.17-106.el7_2.4.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.4
Available: glibc-common-2.17-106.el7_2.6.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.6
Available: glibc-common-2.17-106.el7_2.8.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.8
Available: glibc-common-2.17-157.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7
Available: glibc-common-2.17-157.el7_3.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.1
Available: glibc-common-2.17-157.el7_3.2.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.2
Available: glibc-common-2.17-157.el7_3.4.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.4
Available: glibc-common-2.17-157.el7_3.5.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.5
Available: glibc-common-2.17-196.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-196.el7
Available: glibc-common-2.17-196.el7_4.2.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-196.el7_4.2
Available: glibc-common-2.17-222.el7.x86_64 (RHEL_7.6)
glibc-common = 2.17-222.el7
Available: glibc-common-2.17-260.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-260.el7
However, output of
yum list --showduplicates glibc shows:
Installed Packages
glibc.x86_64 2.17-260.el7_6.3 @anaconda/7.6
and
yum list --showduplicates glibc-commonshows:
Installed Packages
glibc-common.x86_64 2.17-260.el7_6.3 @anaconda/7.6
A snippet of the output of yum -v -y install gcc gcc-c++ make shows:
Package glibc.i686 0:2.17-260.el7 will be installed
Why does yum try to mix architectures? How can I force yum to install only x86_64 dependencies?
yum x86
add a comment |
Trying to YUM install gcc gcc-g++ make and it fails with:
Package: glibc-2.17-260.el7.i686 (RHEL_SEC_7)
Requires: glibc-common = 2.17-260.el7
Installed: glibc-common-2.17-260.el7_6.3.x86_64 (@anaconda/7.6)
glibc-common = 2.17-260.el7_6.3
Available: glibc-common-2.17-55.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7
Available: glibc-common-2.17-55.el7_0.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.1
Available: glibc-common-2.17-55.el7_0.3.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.3
Available: glibc-common-2.17-55.el7_0.5.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.5
Available: glibc-common-2.17-78.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-78.el7
Available: glibc-common-2.17-105.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-105.el7
Available: glibc-common-2.17-106.el7_2.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.1
Available: glibc-common-2.17-106.el7_2.4.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.4
Available: glibc-common-2.17-106.el7_2.6.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.6
Available: glibc-common-2.17-106.el7_2.8.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.8
Available: glibc-common-2.17-157.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7
Available: glibc-common-2.17-157.el7_3.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.1
Available: glibc-common-2.17-157.el7_3.2.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.2
Available: glibc-common-2.17-157.el7_3.4.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.4
Available: glibc-common-2.17-157.el7_3.5.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.5
Available: glibc-common-2.17-196.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-196.el7
Available: glibc-common-2.17-196.el7_4.2.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-196.el7_4.2
Available: glibc-common-2.17-222.el7.x86_64 (RHEL_7.6)
glibc-common = 2.17-222.el7
Available: glibc-common-2.17-260.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-260.el7
However, output of
yum list --showduplicates glibc shows:
Installed Packages
glibc.x86_64 2.17-260.el7_6.3 @anaconda/7.6
and
yum list --showduplicates glibc-commonshows:
Installed Packages
glibc-common.x86_64 2.17-260.el7_6.3 @anaconda/7.6
A snippet of the output of yum -v -y install gcc gcc-c++ make shows:
Package glibc.i686 0:2.17-260.el7 will be installed
Why does yum try to mix architectures? How can I force yum to install only x86_64 dependencies?
yum x86
add a comment |
Trying to YUM install gcc gcc-g++ make and it fails with:
Package: glibc-2.17-260.el7.i686 (RHEL_SEC_7)
Requires: glibc-common = 2.17-260.el7
Installed: glibc-common-2.17-260.el7_6.3.x86_64 (@anaconda/7.6)
glibc-common = 2.17-260.el7_6.3
Available: glibc-common-2.17-55.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7
Available: glibc-common-2.17-55.el7_0.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.1
Available: glibc-common-2.17-55.el7_0.3.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.3
Available: glibc-common-2.17-55.el7_0.5.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.5
Available: glibc-common-2.17-78.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-78.el7
Available: glibc-common-2.17-105.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-105.el7
Available: glibc-common-2.17-106.el7_2.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.1
Available: glibc-common-2.17-106.el7_2.4.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.4
Available: glibc-common-2.17-106.el7_2.6.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.6
Available: glibc-common-2.17-106.el7_2.8.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.8
Available: glibc-common-2.17-157.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7
Available: glibc-common-2.17-157.el7_3.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.1
Available: glibc-common-2.17-157.el7_3.2.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.2
Available: glibc-common-2.17-157.el7_3.4.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.4
Available: glibc-common-2.17-157.el7_3.5.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.5
Available: glibc-common-2.17-196.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-196.el7
Available: glibc-common-2.17-196.el7_4.2.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-196.el7_4.2
Available: glibc-common-2.17-222.el7.x86_64 (RHEL_7.6)
glibc-common = 2.17-222.el7
Available: glibc-common-2.17-260.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-260.el7
However, output of
yum list --showduplicates glibc shows:
Installed Packages
glibc.x86_64 2.17-260.el7_6.3 @anaconda/7.6
and
yum list --showduplicates glibc-commonshows:
Installed Packages
glibc-common.x86_64 2.17-260.el7_6.3 @anaconda/7.6
A snippet of the output of yum -v -y install gcc gcc-c++ make shows:
Package glibc.i686 0:2.17-260.el7 will be installed
Why does yum try to mix architectures? How can I force yum to install only x86_64 dependencies?
yum x86
Trying to YUM install gcc gcc-g++ make and it fails with:
Package: glibc-2.17-260.el7.i686 (RHEL_SEC_7)
Requires: glibc-common = 2.17-260.el7
Installed: glibc-common-2.17-260.el7_6.3.x86_64 (@anaconda/7.6)
glibc-common = 2.17-260.el7_6.3
Available: glibc-common-2.17-55.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7
Available: glibc-common-2.17-55.el7_0.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.1
Available: glibc-common-2.17-55.el7_0.3.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.3
Available: glibc-common-2.17-55.el7_0.5.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-55.el7_0.5
Available: glibc-common-2.17-78.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-78.el7
Available: glibc-common-2.17-105.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-105.el7
Available: glibc-common-2.17-106.el7_2.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.1
Available: glibc-common-2.17-106.el7_2.4.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.4
Available: glibc-common-2.17-106.el7_2.6.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.6
Available: glibc-common-2.17-106.el7_2.8.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-106.el7_2.8
Available: glibc-common-2.17-157.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7
Available: glibc-common-2.17-157.el7_3.1.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.1
Available: glibc-common-2.17-157.el7_3.2.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.2
Available: glibc-common-2.17-157.el7_3.4.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.4
Available: glibc-common-2.17-157.el7_3.5.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-157.el7_3.5
Available: glibc-common-2.17-196.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-196.el7
Available: glibc-common-2.17-196.el7_4.2.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-196.el7_4.2
Available: glibc-common-2.17-222.el7.x86_64 (RHEL_7.6)
glibc-common = 2.17-222.el7
Available: glibc-common-2.17-260.el7.x86_64 (RHEL_SEC_7)
glibc-common = 2.17-260.el7
However, output of
yum list --showduplicates glibc shows:
Installed Packages
glibc.x86_64 2.17-260.el7_6.3 @anaconda/7.6
and
yum list --showduplicates glibc-commonshows:
Installed Packages
glibc-common.x86_64 2.17-260.el7_6.3 @anaconda/7.6
A snippet of the output of yum -v -y install gcc gcc-c++ make shows:
Package glibc.i686 0:2.17-260.el7 will be installed
Why does yum try to mix architectures? How can I force yum to install only x86_64 dependencies?
yum x86
yum x86
asked Feb 1 at 22:00
memoryStreammemoryStream
124
124
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The gcc package is somewhat special, because the compiler in it can produce both 32-bit and 64-bit libraries. For that to work, it needs some basic i686 system libraries (libgcc and glibc). There's not much you can do about it, apart from recompiling the compiler to disable 32-bit support.
You'd better figure out why glibc.i686 fails to install. Looks like a release mismatch, possibly due to an incompatible mix of repos (you have the el7_6.3 release of glibc-common installed, but the glibc.i686 package wants el7).
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%2f498215%2fyum-gcc-trying-to-install-i686-architecture-on-x86-64-server%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
The gcc package is somewhat special, because the compiler in it can produce both 32-bit and 64-bit libraries. For that to work, it needs some basic i686 system libraries (libgcc and glibc). There's not much you can do about it, apart from recompiling the compiler to disable 32-bit support.
You'd better figure out why glibc.i686 fails to install. Looks like a release mismatch, possibly due to an incompatible mix of repos (you have the el7_6.3 release of glibc-common installed, but the glibc.i686 package wants el7).
add a comment |
The gcc package is somewhat special, because the compiler in it can produce both 32-bit and 64-bit libraries. For that to work, it needs some basic i686 system libraries (libgcc and glibc). There's not much you can do about it, apart from recompiling the compiler to disable 32-bit support.
You'd better figure out why glibc.i686 fails to install. Looks like a release mismatch, possibly due to an incompatible mix of repos (you have the el7_6.3 release of glibc-common installed, but the glibc.i686 package wants el7).
add a comment |
The gcc package is somewhat special, because the compiler in it can produce both 32-bit and 64-bit libraries. For that to work, it needs some basic i686 system libraries (libgcc and glibc). There's not much you can do about it, apart from recompiling the compiler to disable 32-bit support.
You'd better figure out why glibc.i686 fails to install. Looks like a release mismatch, possibly due to an incompatible mix of repos (you have the el7_6.3 release of glibc-common installed, but the glibc.i686 package wants el7).
The gcc package is somewhat special, because the compiler in it can produce both 32-bit and 64-bit libraries. For that to work, it needs some basic i686 system libraries (libgcc and glibc). There's not much you can do about it, apart from recompiling the compiler to disable 32-bit support.
You'd better figure out why glibc.i686 fails to install. Looks like a release mismatch, possibly due to an incompatible mix of repos (you have the el7_6.3 release of glibc-common installed, but the glibc.i686 package wants el7).
answered Feb 1 at 22:13
TooTeaTooTea
669110
669110
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%2f498215%2fyum-gcc-trying-to-install-i686-architecture-on-x86-64-server%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