I want to install some package (apt-get install XXX
) but I don't want that it will be added to the list of manually installed packages (apt-mark showmanual
). How?
In Gentoo, the corresponding flag for emerge
is --oneshot
, which says to not add it to the world file (which corresponds to the list of manually installed packages).
One use case is that I want to write some scripts which would automatically install or reinstall some packages via apt-get install
in order to fix up some messed up system, but I do not want to mark those packages as manually installed.
I imagine there are other use cases as well. As emerge
also has such flag, I wondered if there is a similar flag for apt-get install
.
Maybe the answer is simply no, and I have to manually mark it as auto (apt-mark auto XXX
) afterwards.