I need to update my version of OpenSSL and so I looked to implement an "upgrade", but I do not want my versions of php and apache is updated, that I can do to accomplish this?

2 Answers 2



sudo apt-get --only-upgrade install <package>

From man apt-get:

           Do not install new packages; when used in conjunction with install,
           only-upgrade will install upgrades for already installed packages
           only and ignore requests to install new packages. Configuration
           Item: APT::Get::Only-Upgrade.

You can download the packages but not install them. Try:

sudo apt-get -d upgrade packageName

Where -d or --download will download package files but does not install them.

  • Anytime. Enjoy!!
    – ryekayo
    Aug 13, 2014 at 19:19
  • @user3680708: Also can you please upvote my answer? :)
    – ryekayo
    Aug 13, 2014 at 19:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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