I'm using Debian Jessie. I'm installing some software Z from source. Installation instructions inform that it depends on Debian package X. I checked in aptitude and I have this package installed, but it is marked as automatically installed (
So if some day I remove package Y that caused package X to be installed my software Z will stop to work. So my question is, how can I change flags of package from
i. Preferably using aptitude in non-interactive mode. Thanks!