Debian with âAPT::Install-Recommends âfalseâ;â wants to autoremove packages installed with --install-recommends
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
right after my system installation, I add
"APT::Install-Recommends "false";"
to APT settings.
Recently I installed "nvidia-driver" package with
# apt install --install-recommends nvidia-driver
because in this case this was what I wanted. There was only two Recommended package (nvidia-settings and nvidia-persistenced), that I could install manually, but doing it this way this install all packages with Recommends recursively.
However I was expecting that recommended packages installed this way were considered main dependencies., but this is not the case. All these packages are marked 'auto', but they are not considered a dependency for their main package, and are all showing as auto-removable. This is a pain because I can't use autoremove any more.
I know I can installed these recommended packages manually to overcome this problem, but my question is about apt, is there any settings that change this behavior for packages installed with "--install-recommends" so they do not appears in autoremove list?
apt
add a comment |Â
up vote
1
down vote
favorite
right after my system installation, I add
"APT::Install-Recommends "false";"
to APT settings.
Recently I installed "nvidia-driver" package with
# apt install --install-recommends nvidia-driver
because in this case this was what I wanted. There was only two Recommended package (nvidia-settings and nvidia-persistenced), that I could install manually, but doing it this way this install all packages with Recommends recursively.
However I was expecting that recommended packages installed this way were considered main dependencies., but this is not the case. All these packages are marked 'auto', but they are not considered a dependency for their main package, and are all showing as auto-removable. This is a pain because I can't use autoremove any more.
I know I can installed these recommended packages manually to overcome this problem, but my question is about apt, is there any settings that change this behavior for packages installed with "--install-recommends" so they do not appears in autoremove list?
apt
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
right after my system installation, I add
"APT::Install-Recommends "false";"
to APT settings.
Recently I installed "nvidia-driver" package with
# apt install --install-recommends nvidia-driver
because in this case this was what I wanted. There was only two Recommended package (nvidia-settings and nvidia-persistenced), that I could install manually, but doing it this way this install all packages with Recommends recursively.
However I was expecting that recommended packages installed this way were considered main dependencies., but this is not the case. All these packages are marked 'auto', but they are not considered a dependency for their main package, and are all showing as auto-removable. This is a pain because I can't use autoremove any more.
I know I can installed these recommended packages manually to overcome this problem, but my question is about apt, is there any settings that change this behavior for packages installed with "--install-recommends" so they do not appears in autoremove list?
apt
right after my system installation, I add
"APT::Install-Recommends "false";"
to APT settings.
Recently I installed "nvidia-driver" package with
# apt install --install-recommends nvidia-driver
because in this case this was what I wanted. There was only two Recommended package (nvidia-settings and nvidia-persistenced), that I could install manually, but doing it this way this install all packages with Recommends recursively.
However I was expecting that recommended packages installed this way were considered main dependencies., but this is not the case. All these packages are marked 'auto', but they are not considered a dependency for their main package, and are all showing as auto-removable. This is a pain because I can't use autoremove any more.
I know I can installed these recommended packages manually to overcome this problem, but my question is about apt, is there any settings that change this behavior for packages installed with "--install-recommends" so they do not appears in autoremove list?
apt
apt
edited 19 mins ago
asked Oct 25 at 19:09
thierrybo
62
62
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477816%2fdebian-with-aptinstall-recommends-false-wants-to-autoremove-packages-inst%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password