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?
package-management dependencies visual-studio-code
New contributor
add a comment |
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?
package-management dependencies visual-studio-code
New contributor
1: what are the "7 not upgraded"? 2: have you recently runsudo 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
add a comment |
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?
package-management dependencies visual-studio-code
New contributor
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
package-management dependencies visual-studio-code
New contributor
New contributor
New contributor
asked Nov 15 at 6:44
JohnDoe921
1
1
New contributor
New contributor
1: what are the "7 not upgraded"? 2: have you recently runsudo 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
add a comment |
1: what are the "7 not upgraded"? 2: have you recently runsudo 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
add a comment |
active
oldest
votes
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.
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.
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%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
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
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