Disable auto clean in apt [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1
















This question already has an answer here:



  • Make debian “apt” (new apt-get / aptitude frontend) cache .deb files in '/var/cache/apt/archives/'

    1 answer



I don't want to clean /var/cache/apt/archives/, I need to stay my deb files there. Which apt option can works for me?










share|improve this question













marked as duplicate by GAD3R, Christopher, telcoM, X Tian, Mr Shunz Feb 7 at 10:47


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






















    1
















    This question already has an answer here:



    • Make debian “apt” (new apt-get / aptitude frontend) cache .deb files in '/var/cache/apt/archives/'

      1 answer



    I don't want to clean /var/cache/apt/archives/, I need to stay my deb files there. Which apt option can works for me?










    share|improve this question













    marked as duplicate by GAD3R, Christopher, telcoM, X Tian, Mr Shunz Feb 7 at 10:47


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















      1












      1








      1









      This question already has an answer here:



      • Make debian “apt” (new apt-get / aptitude frontend) cache .deb files in '/var/cache/apt/archives/'

        1 answer



      I don't want to clean /var/cache/apt/archives/, I need to stay my deb files there. Which apt option can works for me?










      share|improve this question















      This question already has an answer here:



      • Make debian “apt” (new apt-get / aptitude frontend) cache .deb files in '/var/cache/apt/archives/'

        1 answer



      I don't want to clean /var/cache/apt/archives/, I need to stay my deb files there. Which apt option can works for me?





      This question already has an answer here:



      • Make debian “apt” (new apt-get / aptitude frontend) cache .deb files in '/var/cache/apt/archives/'

        1 answer







      debian apt






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 6 at 12:42









      PersianGulfPersianGulf

      6,98243561




      6,98243561




      marked as duplicate by GAD3R, Christopher, telcoM, X Tian, Mr Shunz Feb 7 at 10:47


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









      marked as duplicate by GAD3R, Christopher, telcoM, X Tian, Mr Shunz Feb 7 at 10:47


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






















          1 Answer
          1






          active

          oldest

          votes


















          1














          You need to override the Keep-Downloaded-Packages for apt:



          Binary::apt::APT::Keep-Downloaded-Packages "1";


          in apt.conf or an /etc/apt.conf.d/ snippet, e.g.



          echo 'Binary::apt::APT::Keep-Downloaded-Packages "1";' | sudo tee /etc/apt/apt.conf.d/10apt-keep-downloads


          (apt doesn’t really “auto clean”, it doesn’t keep downloaded packages.)






          share|improve this answer





























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            You need to override the Keep-Downloaded-Packages for apt:



            Binary::apt::APT::Keep-Downloaded-Packages "1";


            in apt.conf or an /etc/apt.conf.d/ snippet, e.g.



            echo 'Binary::apt::APT::Keep-Downloaded-Packages "1";' | sudo tee /etc/apt/apt.conf.d/10apt-keep-downloads


            (apt doesn’t really “auto clean”, it doesn’t keep downloaded packages.)






            share|improve this answer



























              1














              You need to override the Keep-Downloaded-Packages for apt:



              Binary::apt::APT::Keep-Downloaded-Packages "1";


              in apt.conf or an /etc/apt.conf.d/ snippet, e.g.



              echo 'Binary::apt::APT::Keep-Downloaded-Packages "1";' | sudo tee /etc/apt/apt.conf.d/10apt-keep-downloads


              (apt doesn’t really “auto clean”, it doesn’t keep downloaded packages.)






              share|improve this answer

























                1












                1








                1







                You need to override the Keep-Downloaded-Packages for apt:



                Binary::apt::APT::Keep-Downloaded-Packages "1";


                in apt.conf or an /etc/apt.conf.d/ snippet, e.g.



                echo 'Binary::apt::APT::Keep-Downloaded-Packages "1";' | sudo tee /etc/apt/apt.conf.d/10apt-keep-downloads


                (apt doesn’t really “auto clean”, it doesn’t keep downloaded packages.)






                share|improve this answer













                You need to override the Keep-Downloaded-Packages for apt:



                Binary::apt::APT::Keep-Downloaded-Packages "1";


                in apt.conf or an /etc/apt.conf.d/ snippet, e.g.



                echo 'Binary::apt::APT::Keep-Downloaded-Packages "1";' | sudo tee /etc/apt/apt.conf.d/10apt-keep-downloads


                (apt doesn’t really “auto clean”, it doesn’t keep downloaded packages.)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 6 at 12:54









                Stephen KittStephen Kitt

                174k24398473




                174k24398473












                    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