0

Each time I sudo apt-get upgrade I can see many updates from libreoffice packages. Since I have a limited memory laptop, I would like to "disable" the upgrades for all the libreoffice packages (libreoffice-writer, libreoffice-pdfimport...).

How can I achieve that?

0

The command sudo apt-mark hold package-name ... will keep the current version of one or more packages. For example, see PinningHowTo - Introduction to Holding Packages and How To Exclude Packages from Apt-Get Upgrade.

Presumably, "^libreoffice*" (quotes included) will select all packages beginning with libreoffice when using apt-mark, as it would with apt-get, but I wasn't able to locate an explicit example to this effect.

  • sudo apt-mark hold "^libreoffice*" worked, thanks :) – room13 Sep 23 '19 at 9:38

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.