Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two general questions how to show updates content and how to make partial update for example I want to update only nginx and don't touch other environment.

share|improve this question
up vote 1 down vote accepted

The more traditional way to show upgrades without running them is apt-get upgrade -s

Another useful tool is apt-show-versions which will show "upgradeable" in the 2nd field if it needs an upgrade.

As with SvW's post, run apt-get update before both.

share|improve this answer

To display list of available upgrades:

apt-get update
apt-get upgrade 

and hit n to not actually upgrade.

apt-get changelog <packagename> 

will list the changelog, if available.

To upgrade just one package:

apt-get install <packagename>

will install or upgrade just this package.

Note however that this might fail if an update is dependent on other updated packages.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.