The following packages have unmet dependencies: Depends: libnss3 (>= 2:3.26) but 2:3.21-1ubuntu4 is to be...











up vote
0
down vote

favorite












I am trying to install visual studio on ubuntu 16.04.
But when I execute the instructed command steps in here i get the above error and unable to install it.
The command steps I followed :



1. curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
2. sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
3. sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
4. sudo apt update
5. sudo apt install code


I even tried to fixed the missing dependencies by executing this command :



sudo apt-get install -f


which gave me no upgrades as follows :



0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.


What should I do to fix this and install Visual Studio?










share|improve this question







New contributor




JohnDoe921 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • 1: what are the "7 not upgraded"? 2: have you recently run sudo apt full-upgrade? 3: What is the full context of "The following packages have unmet dependencies: Depends: libnss3 (>= 2:3.26) but 2:3.21-1ubuntu4 is to be installed"? 4: have you installed ppas? Which ones?
    – DK Bose
    2 days ago















up vote
0
down vote

favorite












I am trying to install visual studio on ubuntu 16.04.
But when I execute the instructed command steps in here i get the above error and unable to install it.
The command steps I followed :



1. curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
2. sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
3. sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
4. sudo apt update
5. sudo apt install code


I even tried to fixed the missing dependencies by executing this command :



sudo apt-get install -f


which gave me no upgrades as follows :



0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.


What should I do to fix this and install Visual Studio?










share|improve this question







New contributor




JohnDoe921 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • 1: what are the "7 not upgraded"? 2: have you recently run sudo apt full-upgrade? 3: What is the full context of "The following packages have unmet dependencies: Depends: libnss3 (>= 2:3.26) but 2:3.21-1ubuntu4 is to be installed"? 4: have you installed ppas? Which ones?
    – DK Bose
    2 days ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to install visual studio on ubuntu 16.04.
But when I execute the instructed command steps in here i get the above error and unable to install it.
The command steps I followed :



1. curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
2. sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
3. sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
4. sudo apt update
5. sudo apt install code


I even tried to fixed the missing dependencies by executing this command :



sudo apt-get install -f


which gave me no upgrades as follows :



0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.


What should I do to fix this and install Visual Studio?










share|improve this question







New contributor




JohnDoe921 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I am trying to install visual studio on ubuntu 16.04.
But when I execute the instructed command steps in here i get the above error and unable to install it.
The command steps I followed :



1. curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
2. sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
3. sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
4. sudo apt update
5. sudo apt install code


I even tried to fixed the missing dependencies by executing this command :



sudo apt-get install -f


which gave me no upgrades as follows :



0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.


What should I do to fix this and install Visual Studio?







package-management dependencies visual-studio-code






share|improve this question







New contributor




JohnDoe921 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




JohnDoe921 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




JohnDoe921 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 15 at 6:44









JohnDoe921

1




1




New contributor




JohnDoe921 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





JohnDoe921 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






JohnDoe921 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • 1: what are the "7 not upgraded"? 2: have you recently run sudo apt full-upgrade? 3: What is the full context of "The following packages have unmet dependencies: Depends: libnss3 (>= 2:3.26) but 2:3.21-1ubuntu4 is to be installed"? 4: have you installed ppas? Which ones?
    – DK Bose
    2 days ago


















  • 1: what are the "7 not upgraded"? 2: have you recently run sudo apt full-upgrade? 3: What is the full context of "The following packages have unmet dependencies: Depends: libnss3 (>= 2:3.26) but 2:3.21-1ubuntu4 is to be installed"? 4: have you installed ppas? Which ones?
    – DK Bose
    2 days ago
















1: what are the "7 not upgraded"? 2: have you recently run sudo apt full-upgrade? 3: What is the full context of "The following packages have unmet dependencies: Depends: libnss3 (>= 2:3.26) but 2:3.21-1ubuntu4 is to be installed"? 4: have you installed ppas? Which ones?
– DK Bose
2 days ago




1: what are the "7 not upgraded"? 2: have you recently run sudo apt full-upgrade? 3: What is the full context of "The following packages have unmet dependencies: Depends: libnss3 (>= 2:3.26) but 2:3.21-1ubuntu4 is to be installed"? 4: have you installed ppas? Which ones?
– DK Bose
2 days ago















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',
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
});


}
});






JohnDoe921 is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093076%2fthe-following-packages-have-unmet-dependencies-depends-libnss3-23-26-but%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








JohnDoe921 is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















JohnDoe921 is a new contributor. Be nice, and check out our Code of Conduct.













JohnDoe921 is a new contributor. Be nice, and check out our Code of Conduct.












JohnDoe921 is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093076%2fthe-following-packages-have-unmet-dependencies-depends-libnss3-23-26-but%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

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei