Am 13.12.2011 23:56, schrieb Bob Proulx: > To unmark a package as automatically installed. > > # editor /var/lib/apt/extended_states > > Then find the package that you wish to change and take one of two > actions: > > 1) If the package is already listed in the file then modify the > Auto-Installed: setting. It would only be in there if the package > had been installed as an automatic dependency and so normally that > would be flipping the 1 to a 0. It would be possible to remove the > entry completely. > > 2) If the package is not already listed then it is known to be > manually installed. Create an entry to mark it as automatically > installed.
Ah, thanks! Can I safely modify /var/lib/apt/extended_states in a postinst skript, that is while aptitude | apt-get | ... is running? I guess /var/lib/apt/extended_states is not officially documented, so its very unlikely but possible that it might change or disappear in the future? Malte -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

