0

How can I be informed when a new version of a specific package is available for install? Is there a way to have apt-get skip a specific version, but install when the next one is available?

I am running Raspbian on a Raspberry Pi 3, and have determined that the current version of a particular package breaks my set up. I reverted to a backed up image and then used apt-mark hold to prevent that package from being updated as I continue to apt-get update and apt-get upgrade to maintain all other packages on the device.

I see that apt-cache show gives me specific version information about the package that I put on hold, but I can't tell if it is giving me information on the version that is already installed or the version that is available to be installed, but not yet installed. How can I see what version is installed and what is available to be installed?

Aside from getting this information, ideally, is there a way for apt-mark to only hold a specific version, but allow the next one to go? (I'm assuming that my issue will be resolved in the next version.)

Note, I have specifically not mentioned what package I'm having a problem with because I'm not trying (in this question) to troubleshoot that specific issue, but rather learn tools to manage similar issues in the future.

0

I've found apt-cache policy [package name] to give me the version number of the currently installed version and the version number of the version available to install.

Not a complete answer to my question, but a simple, convenient way to get the information I was looking for.

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.