[vox-tech] telling aptitude to not automatically remove a package it thinks is unused

hajhouse hajhouse at houseag.com
Fri Mar 23 09:36:12 PDT 2007


I've installed a package (libtcltk-ruby1.8) manually using dpkg (I
compiled it at home) and aptitude keeps trying to remove it on the
grounds that it is unused. (Of course automatically removing unused
libraries is what aptitude is supposed to do, normally.)  Looking
through the manual page, it looks like aptitude unmarkauto <package>
should override this behavior, to be as if I installed the package in
the regular way using aptitude install. Unfortunately it does not work,
as this shell transcript shows:

wotan:~(0)$ sudo aptitude unmarkauto libtcltk-ruby1.8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done             
The following packages are unused and will be REMOVED:
  libtcltk-ruby1.8 
The following packages have been kept back:
  grass grass-dev grass-doc linux-headers-generic linux-image-generic 
0 packages upgraded, 0 newly installed, 1 to remove and 5 not upgraded.
Need to get 0B of archives. After unpacking 7766kB will be freed.
Do you want to continue? [Y/n/?] 

Does anyone know what I am missing here?

-- 
Henry House
+1 530 753 3361 ext. 13
Please don't send me HTML mail! My mail system frequently rejects it.
The unintelligible text that may follow is a digital signature.
See <http://hajhouse.org/pgp> to find out how to use it.
My OpenPGP key: <http://hajhouse.org/hajhouse.asc>.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.lugod.org/pipermail/vox-tech/attachments/20070323/9496805f/attachment.pgp


More information about the vox-tech mailing list