Debian with “APT::Install-Recommends ”false“;” wants to autoremove packages installed with --install-recommends

The name of the pictureThe name of the pictureThe name of the pictureClash 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?










share|improve this question



























    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?










    share|improve this question

























      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?










      share|improve this question















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 19 mins ago

























      asked Oct 25 at 19:09









      thierrybo

      62




      62

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          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



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay