Excerpts from Rajeev Prasad's message of 2013-07-12 12:26:23 -0700: > hello, > > aptitude shows i have to upgrade: > mysql-client-5.5 > mysql-server-5.5 > mysql-server-core-5.5 > and java > > i want to upgrade all but java. > > how to do it?
echo "java-package-foo hold" | dpkg --set-selections This will make java-package-foo somewhat invisible to dpkg and apt. Then when you are ready to upgrade it: echo "java-package-foo install" | dpkg --set-selections Doing this will let you simply use apt-get as usual (I do not know anything about aptitude, but would be surprised if it ignored holds). If you want a more permanent solution, you can use "pinning" to make sure apt only uses a certain version or source for a package. Google will help you with how to do "apt pinning". -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
