In order to update a single package using the CLI: you need to add the option '--only-upgrade install'
sudo apt-get --only-upgrade install <packagename>
e.g., sudo apt-get --only-upgrade install ack
Reading package lists... Done
Building dependency tree
Reading state information... Done
Skipping **ack**, it is not installed and only upgrades are requested.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get --only-upgrade install <packagename>
e.g., sudo apt-get --only-upgrade install ack
Reading package lists... Done
Building dependency tree
Reading state information... Done
Skipping **ack**, it is not installed and only upgrades are requested.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
No comments:
Post a Comment