On Tue, 13 May 2014 11:31:19 +0200 Matthias Urlichs <matth...@urlichs.de> wrote:
> Hi, > > Cameron Norman: > > Is it not possible to tell if the sysvinit or upstart packages were > > installed manually, and give a prompt then (in addition to > > something like you described) ? > > > In theory, yes you could discover whether a package was installed > explicity or has been pulled in as a dependency. > > In practice, however, a "normal" Debian installation marks each and > every package as being installed explicitly. ? huh ? This has never been the case AFAICT. That's how apt-get autoremove works. Each package you specify on an individual apt-get install line gets marked as manually installed - the dependencies of those are not so marked. The marks can also be updated with apt-mark. When the top-level package is removed, apt shows the packages which were not manually installed in a list of packages which are potentially suitable for autoremove. > This may be a deficiency > which we want to do something about, but doesn't help right now. However, apt-mark status is probably not the answer to the original question which needs to be based on what packages are currently installed. -- Neil Williams ============= http://www.linux.codehelp.co.uk/
signature.asc
Description: PGP signature