← Back to team overview

openerp-india team mailing list archive

Re: [Question #672677]: cannot install Microsoft vs code in ubuntu

 

Question #672677 on sudo in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/672677

    Status: Open => Answered

Manfred Hampl proposed the following answer:
"0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded" has the
following meaning:

The package management command that you have issued (probably "apt
upgrade" or similar) intends to do the following:

0 packages will be upgraded
0 packages will be added
0 packages will be removed
8 packages can be upgraded, but because of certain restrictions they will not be upgraded

There is a difference between "apt upgrade" and "apt dist-upgrade":
Imagine the following:
You have a package A installed in version 1, and this depends on package B.
There is a new version of A (version 2) available, which now depends on a different package C.
B and C cannot be installed at the same time.
Upgrading from A version 1 to A version 2 now required that package C is installed, which in turn requires that package B is uninstalled.

apt upgrade will never uninstall a package, and so A will not be upgraded to version 2
apt dist-upgrade will do everything.

I suggest that you try the command
sudo apt dist-upgrade

-- 
You received this question notification because your team OpenERP Indian
Team is an answer contact for sudo in Ubuntu.