I ran "apt install symlinks" on Stretch, even though it was already installed due to a package dependency. When this package dependency changed (the referring package was removed), symlinks was removed automagically. :-( This is not as expected. "apt install mypackage" should mark mypackage as explicitly installed, even if the package is already in. Regards Harri
That's what it already does; unless it is an upgrade, then it does not change the state (or, it only changes the autostate if there is no other state change it can do). FWIW, I disagree with this completely. install should not ever change the auto flag of already installed packages just because I mentioned them, I always end up marking half my system (well, ok, more like 10%) manually installed by accident because I have to specify additional packages to hint in an install request.
Hi Julian, Confirmed. I saw this too late. Nevertheless, aptitude removed the symlinks package. Are there 2 flags in the database indicating whether a package was installed automatically or explicitly? Do you think this report should be reassigned to aptitude? My suggestion here would be to make this configurable. Regards Harri