On Thu, Aug 26, 2010 at 10:36:52PM +0000, T o n g wrote: > On Thu, 26 Aug 2010 22:30:30 +0900, Osamu Aoki wrote: > > >> To hold a Debian package not to be updated by apt-get > >> > >> echo $package hold | dpkg --set-selections > >> > >> Please note that such holding will not work for aptitude. . . > > > > I just tested. It worked for me. > > Please elaborate a bit more. What worked for you? Above dpkg hold, or > something else about aptitude?
$ echo $package hold | dpkg --set-selections This trick also properly altered both aptitide and apt-get. As I checked and recall, lenny had this enabled. (I rarely use apt-get so I had no reason to use dpkg. aptitude hold was enough for me. It is nice to see things work together flawlessly together.) I just updated next debian-eference along this. http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_basic_package_management_operations_with_the_commandline http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#listofadvancedpagementoperations Osamu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100828020617.ga6...@debian.org