Where this link ../bin/update-alternatives is located?












0















Trying to fix the problem,



Your python install is corrupted. Please fix the /usr/bin/python symlink.


on ubuntu 16.04 and ended up looking at the update-alternatives file(s) to see if the relevant links are set properly. I ran the below command to find out where this ../bin/update-alternatives is located, but could not find it. Any suggestion please.



mysys:/#  ls -li  `locate update-alternatives ` | grep bin
20337 -rwxr-xr-x 1 ubuntu ubuntu 4341 May 30 2017 /opt/alinos/1.7.2/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/update-alternatives
417463 -rwxr-xr-x 1 ubuntu ubuntu 4341 May 30 2017 /opt/alinos/1.7.2/sysroots/x86_64-pokysdk-linux/usr/bin/update-alternatives
574938 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Jul 13 2016 /opt/alinos/2.1.1/sysroots_base/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/update-alternatives
615757 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Apr 27 2017 /opt/alinos/2.1.1/sysroots_base/x86_64-pokysdk-linux/usr/bin/update-alternatives
64603 -rwxr-xr-x 1 root root 47728 Oct 17 22:34 /usr/bin/update-alternatives
64610 lrwxrwxrwx 1 root root 26 Oct 17 22:34 /usr/sbin/update-alternatives -> ../bin/update-alternatives
30542445 -rwxr-xr-x 1 ubuntu ubuntu 4259 Jun 11 2015 /var/local/alinos-backup/1.7.2_backup/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr bin/update-alternatives
30282936 -rwxr-xr-x 1 ubuntu ubuntu 4259 Jul 7 2016 /var/local/alinos-backup/1.7.2_backup/sysroots/x86_64-pokysdk-linux/usr/bin/update-alternatives
28449225 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Feb 21 2018 /var/local/ngai-jenkins/alr-ngai-bsp-rc1/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
23871049 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Oct 27 2017 /var/local/ngai-jenkins/alr-ngai-bsp-v0.1-rc0/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
24145252 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Feb 20 2018 /var/local/ngai-jenkins/alr-ngai-bsp-v0.1-rc1/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
mysys:/#









share|improve this question

























  • Where does /usr/bin/python point right now ? Do ls -l /usr/bin/python

    – Sergiy Kolodyazhnyy
    Jan 23 at 2:43






  • 1





    This sounds like an XY problem - I don't think the /usr/bin/python symlink is normally under the control of update-alternatives on Ubuntu - unless you manually added it?

    – steeldriver
    Jan 23 at 2:45
















0















Trying to fix the problem,



Your python install is corrupted. Please fix the /usr/bin/python symlink.


on ubuntu 16.04 and ended up looking at the update-alternatives file(s) to see if the relevant links are set properly. I ran the below command to find out where this ../bin/update-alternatives is located, but could not find it. Any suggestion please.



mysys:/#  ls -li  `locate update-alternatives ` | grep bin
20337 -rwxr-xr-x 1 ubuntu ubuntu 4341 May 30 2017 /opt/alinos/1.7.2/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/update-alternatives
417463 -rwxr-xr-x 1 ubuntu ubuntu 4341 May 30 2017 /opt/alinos/1.7.2/sysroots/x86_64-pokysdk-linux/usr/bin/update-alternatives
574938 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Jul 13 2016 /opt/alinos/2.1.1/sysroots_base/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/update-alternatives
615757 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Apr 27 2017 /opt/alinos/2.1.1/sysroots_base/x86_64-pokysdk-linux/usr/bin/update-alternatives
64603 -rwxr-xr-x 1 root root 47728 Oct 17 22:34 /usr/bin/update-alternatives
64610 lrwxrwxrwx 1 root root 26 Oct 17 22:34 /usr/sbin/update-alternatives -> ../bin/update-alternatives
30542445 -rwxr-xr-x 1 ubuntu ubuntu 4259 Jun 11 2015 /var/local/alinos-backup/1.7.2_backup/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr bin/update-alternatives
30282936 -rwxr-xr-x 1 ubuntu ubuntu 4259 Jul 7 2016 /var/local/alinos-backup/1.7.2_backup/sysroots/x86_64-pokysdk-linux/usr/bin/update-alternatives
28449225 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Feb 21 2018 /var/local/ngai-jenkins/alr-ngai-bsp-rc1/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
23871049 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Oct 27 2017 /var/local/ngai-jenkins/alr-ngai-bsp-v0.1-rc0/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
24145252 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Feb 20 2018 /var/local/ngai-jenkins/alr-ngai-bsp-v0.1-rc1/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
mysys:/#









share|improve this question

























  • Where does /usr/bin/python point right now ? Do ls -l /usr/bin/python

    – Sergiy Kolodyazhnyy
    Jan 23 at 2:43






  • 1





    This sounds like an XY problem - I don't think the /usr/bin/python symlink is normally under the control of update-alternatives on Ubuntu - unless you manually added it?

    – steeldriver
    Jan 23 at 2:45














0












0








0








Trying to fix the problem,



Your python install is corrupted. Please fix the /usr/bin/python symlink.


on ubuntu 16.04 and ended up looking at the update-alternatives file(s) to see if the relevant links are set properly. I ran the below command to find out where this ../bin/update-alternatives is located, but could not find it. Any suggestion please.



mysys:/#  ls -li  `locate update-alternatives ` | grep bin
20337 -rwxr-xr-x 1 ubuntu ubuntu 4341 May 30 2017 /opt/alinos/1.7.2/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/update-alternatives
417463 -rwxr-xr-x 1 ubuntu ubuntu 4341 May 30 2017 /opt/alinos/1.7.2/sysroots/x86_64-pokysdk-linux/usr/bin/update-alternatives
574938 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Jul 13 2016 /opt/alinos/2.1.1/sysroots_base/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/update-alternatives
615757 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Apr 27 2017 /opt/alinos/2.1.1/sysroots_base/x86_64-pokysdk-linux/usr/bin/update-alternatives
64603 -rwxr-xr-x 1 root root 47728 Oct 17 22:34 /usr/bin/update-alternatives
64610 lrwxrwxrwx 1 root root 26 Oct 17 22:34 /usr/sbin/update-alternatives -> ../bin/update-alternatives
30542445 -rwxr-xr-x 1 ubuntu ubuntu 4259 Jun 11 2015 /var/local/alinos-backup/1.7.2_backup/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr bin/update-alternatives
30282936 -rwxr-xr-x 1 ubuntu ubuntu 4259 Jul 7 2016 /var/local/alinos-backup/1.7.2_backup/sysroots/x86_64-pokysdk-linux/usr/bin/update-alternatives
28449225 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Feb 21 2018 /var/local/ngai-jenkins/alr-ngai-bsp-rc1/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
23871049 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Oct 27 2017 /var/local/ngai-jenkins/alr-ngai-bsp-v0.1-rc0/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
24145252 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Feb 20 2018 /var/local/ngai-jenkins/alr-ngai-bsp-v0.1-rc1/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
mysys:/#









share|improve this question
















Trying to fix the problem,



Your python install is corrupted. Please fix the /usr/bin/python symlink.


on ubuntu 16.04 and ended up looking at the update-alternatives file(s) to see if the relevant links are set properly. I ran the below command to find out where this ../bin/update-alternatives is located, but could not find it. Any suggestion please.



mysys:/#  ls -li  `locate update-alternatives ` | grep bin
20337 -rwxr-xr-x 1 ubuntu ubuntu 4341 May 30 2017 /opt/alinos/1.7.2/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/update-alternatives
417463 -rwxr-xr-x 1 ubuntu ubuntu 4341 May 30 2017 /opt/alinos/1.7.2/sysroots/x86_64-pokysdk-linux/usr/bin/update-alternatives
574938 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Jul 13 2016 /opt/alinos/2.1.1/sysroots_base/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/update-alternatives
615757 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Apr 27 2017 /opt/alinos/2.1.1/sysroots_base/x86_64-pokysdk-linux/usr/bin/update-alternatives
64603 -rwxr-xr-x 1 root root 47728 Oct 17 22:34 /usr/bin/update-alternatives
64610 lrwxrwxrwx 1 root root 26 Oct 17 22:34 /usr/sbin/update-alternatives -> ../bin/update-alternatives
30542445 -rwxr-xr-x 1 ubuntu ubuntu 4259 Jun 11 2015 /var/local/alinos-backup/1.7.2_backup/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr bin/update-alternatives
30282936 -rwxr-xr-x 1 ubuntu ubuntu 4259 Jul 7 2016 /var/local/alinos-backup/1.7.2_backup/sysroots/x86_64-pokysdk-linux/usr/bin/update-alternatives
28449225 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Feb 21 2018 /var/local/ngai-jenkins/alr-ngai-bsp-rc1/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
23871049 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Oct 27 2017 /var/local/ngai-jenkins/alr-ngai-bsp-v0.1-rc0/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
24145252 -rwxr-xr-x 1 ngai-jenkins ngai-jenkins 4341 Feb 20 2018 /var/local/ngai-jenkins/alr-ngai-bsp-v0.1-rc1/build/tmp/sysroots/x86_64-linux/usr/bin/update-alternatives
mysys:/#






update-alternatives






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 23 at 2:42









Sergiy Kolodyazhnyy

73.8k9154323




73.8k9154323










asked Jan 23 at 2:36









Sam KosaSam Kosa

1




1













  • Where does /usr/bin/python point right now ? Do ls -l /usr/bin/python

    – Sergiy Kolodyazhnyy
    Jan 23 at 2:43






  • 1





    This sounds like an XY problem - I don't think the /usr/bin/python symlink is normally under the control of update-alternatives on Ubuntu - unless you manually added it?

    – steeldriver
    Jan 23 at 2:45



















  • Where does /usr/bin/python point right now ? Do ls -l /usr/bin/python

    – Sergiy Kolodyazhnyy
    Jan 23 at 2:43






  • 1





    This sounds like an XY problem - I don't think the /usr/bin/python symlink is normally under the control of update-alternatives on Ubuntu - unless you manually added it?

    – steeldriver
    Jan 23 at 2:45

















Where does /usr/bin/python point right now ? Do ls -l /usr/bin/python

– Sergiy Kolodyazhnyy
Jan 23 at 2:43





Where does /usr/bin/python point right now ? Do ls -l /usr/bin/python

– Sergiy Kolodyazhnyy
Jan 23 at 2:43




1




1





This sounds like an XY problem - I don't think the /usr/bin/python symlink is normally under the control of update-alternatives on Ubuntu - unless you manually added it?

– steeldriver
Jan 23 at 2:45





This sounds like an XY problem - I don't think the /usr/bin/python symlink is normally under the control of update-alternatives on Ubuntu - unless you manually added it?

– steeldriver
Jan 23 at 2:45










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112113%2fwhere-this-link-bin-update-alternatives-is-located%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112113%2fwhere-this-link-bin-update-alternatives-is-located%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents