On Wed, Dec 12, 2018 at 01:47:52PM +0100, Harald Dunkel wrote: > Package: apt > Version: 1.4.8 > > 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.
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. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en

