I have put a hold on one of the packages via apt-mark hold cmake
but when installing some dependencies for some software, the software's automatic package update script is trying to update lots of packages via apt-get install package1 package2 cmake etc
. This causes my build script to halt and the software's package update script throws following error:
E: Held packages were changed and -y was used without --allow-change-held-packages. ERROR! apt-get failed to install requested packages, exiting.
I wonder, how can I hold a package and at the same time make apt-get
somehow ignore any new updates on it without breaking?
cmake
entry? (Why is an 'upgrade script' necessary on a deb-based system?)