Pre-seeding debconf doesn't impact install of libdvd-pkg

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








up vote
3
down vote

favorite
1












I'm raising this here as I'm not sure if this is a bug or if I'm just going crazy. But when I'm installing a new Ubuntu Desktop I like to use chunks of copy&paste-able lines to get useful stuff installed really quick... e.g...



echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true | sudo debconf-set-selections
sudo apt-get -y install ttf-mscorefonts-installer


Which works fine.



But when it comes to libdvd-pkg, I just can't get it to shut up (I don't want to use 'DEBIAN_FRONTEND=noninteractive'). Here is what I've tried...



echo libdvd-pkg libdvd-pkg/first-install note | sudo debconf-set-selections
echo libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true | sudo debconf-set-selections
sudo apt-get -y install libdvd-pkg


You always get this screen...



enter image description here



I've seen this happen on 12+ machines now, so it's not just a one off.



This is on Ubuntu 16.04 by the way.



Any ideas what I might be doing wrong to try and silence this?



I've inspected the DEBIAN/templates file within the .deb package and can't find anything unusual.










share|improve this question

























    up vote
    3
    down vote

    favorite
    1












    I'm raising this here as I'm not sure if this is a bug or if I'm just going crazy. But when I'm installing a new Ubuntu Desktop I like to use chunks of copy&paste-able lines to get useful stuff installed really quick... e.g...



    echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true | sudo debconf-set-selections
    sudo apt-get -y install ttf-mscorefonts-installer


    Which works fine.



    But when it comes to libdvd-pkg, I just can't get it to shut up (I don't want to use 'DEBIAN_FRONTEND=noninteractive'). Here is what I've tried...



    echo libdvd-pkg libdvd-pkg/first-install note | sudo debconf-set-selections
    echo libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true | sudo debconf-set-selections
    sudo apt-get -y install libdvd-pkg


    You always get this screen...



    enter image description here



    I've seen this happen on 12+ machines now, so it's not just a one off.



    This is on Ubuntu 16.04 by the way.



    Any ideas what I might be doing wrong to try and silence this?



    I've inspected the DEBIAN/templates file within the .deb package and can't find anything unusual.










    share|improve this question























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      I'm raising this here as I'm not sure if this is a bug or if I'm just going crazy. But when I'm installing a new Ubuntu Desktop I like to use chunks of copy&paste-able lines to get useful stuff installed really quick... e.g...



      echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true | sudo debconf-set-selections
      sudo apt-get -y install ttf-mscorefonts-installer


      Which works fine.



      But when it comes to libdvd-pkg, I just can't get it to shut up (I don't want to use 'DEBIAN_FRONTEND=noninteractive'). Here is what I've tried...



      echo libdvd-pkg libdvd-pkg/first-install note | sudo debconf-set-selections
      echo libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true | sudo debconf-set-selections
      sudo apt-get -y install libdvd-pkg


      You always get this screen...



      enter image description here



      I've seen this happen on 12+ machines now, so it's not just a one off.



      This is on Ubuntu 16.04 by the way.



      Any ideas what I might be doing wrong to try and silence this?



      I've inspected the DEBIAN/templates file within the .deb package and can't find anything unusual.










      share|improve this question













      I'm raising this here as I'm not sure if this is a bug or if I'm just going crazy. But when I'm installing a new Ubuntu Desktop I like to use chunks of copy&paste-able lines to get useful stuff installed really quick... e.g...



      echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true | sudo debconf-set-selections
      sudo apt-get -y install ttf-mscorefonts-installer


      Which works fine.



      But when it comes to libdvd-pkg, I just can't get it to shut up (I don't want to use 'DEBIAN_FRONTEND=noninteractive'). Here is what I've tried...



      echo libdvd-pkg libdvd-pkg/first-install note | sudo debconf-set-selections
      echo libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true | sudo debconf-set-selections
      sudo apt-get -y install libdvd-pkg


      You always get this screen...



      enter image description here



      I've seen this happen on 12+ machines now, so it's not just a one off.



      This is on Ubuntu 16.04 by the way.



      Any ideas what I might be doing wrong to try and silence this?



      I've inspected the DEBIAN/templates file within the .deb package and can't find anything unusual.







      debconf






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 23 at 11:45









      Lantizia

      73114




      73114




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          Install manually the first time, then use debconf-get-selections | grep "^libdvd-pkg" to see what debian confirm uses. After that, put the result in a script and execute debconf-set-selections before installing the package.



          1) Run deb-conf-get-selections on a installed machine:



          #$ debconf-get-selections | grep "^libdvd-pkg"
          libdvd-pkg libdvd-pkg/build boolean true
          libdvd-pkg libdvd-pkg/upgrade note
          libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
          libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
          libdvd-pkg libdvd-pkg/first-install note


          2) Put these lines in a installer script, before installing:



          #!/bin/bash

          echo "Installing libdvd-pkg ... "

          cat <<EndOfConfig | sudo debconf-set-selections
          libdvd-pkg libdvd-pkg/build boolean true
          libdvd-pkg libdvd-pkg/upgrade note
          libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
          libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
          libdvd-pkg libdvd-pkg/first-install note
          EndOfConfig

          sudo apt-get install libdvd-pkg


          Done!



          You can do this in all packages who has dialogs and user interaction.






          share|improve this answer








          New contributor




          mperon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.

















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2faskubuntu.com%2fquestions%2f1018524%2fpre-seeding-debconf-doesnt-impact-install-of-libdvd-pkg%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            Install manually the first time, then use debconf-get-selections | grep "^libdvd-pkg" to see what debian confirm uses. After that, put the result in a script and execute debconf-set-selections before installing the package.



            1) Run deb-conf-get-selections on a installed machine:



            #$ debconf-get-selections | grep "^libdvd-pkg"
            libdvd-pkg libdvd-pkg/build boolean true
            libdvd-pkg libdvd-pkg/upgrade note
            libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
            libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
            libdvd-pkg libdvd-pkg/first-install note


            2) Put these lines in a installer script, before installing:



            #!/bin/bash

            echo "Installing libdvd-pkg ... "

            cat <<EndOfConfig | sudo debconf-set-selections
            libdvd-pkg libdvd-pkg/build boolean true
            libdvd-pkg libdvd-pkg/upgrade note
            libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
            libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
            libdvd-pkg libdvd-pkg/first-install note
            EndOfConfig

            sudo apt-get install libdvd-pkg


            Done!



            You can do this in all packages who has dialogs and user interaction.






            share|improve this answer








            New contributor




            mperon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















              up vote
              2
              down vote













              Install manually the first time, then use debconf-get-selections | grep "^libdvd-pkg" to see what debian confirm uses. After that, put the result in a script and execute debconf-set-selections before installing the package.



              1) Run deb-conf-get-selections on a installed machine:



              #$ debconf-get-selections | grep "^libdvd-pkg"
              libdvd-pkg libdvd-pkg/build boolean true
              libdvd-pkg libdvd-pkg/upgrade note
              libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
              libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
              libdvd-pkg libdvd-pkg/first-install note


              2) Put these lines in a installer script, before installing:



              #!/bin/bash

              echo "Installing libdvd-pkg ... "

              cat <<EndOfConfig | sudo debconf-set-selections
              libdvd-pkg libdvd-pkg/build boolean true
              libdvd-pkg libdvd-pkg/upgrade note
              libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
              libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
              libdvd-pkg libdvd-pkg/first-install note
              EndOfConfig

              sudo apt-get install libdvd-pkg


              Done!



              You can do this in all packages who has dialogs and user interaction.






              share|improve this answer








              New contributor




              mperon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.



















                up vote
                2
                down vote










                up vote
                2
                down vote









                Install manually the first time, then use debconf-get-selections | grep "^libdvd-pkg" to see what debian confirm uses. After that, put the result in a script and execute debconf-set-selections before installing the package.



                1) Run deb-conf-get-selections on a installed machine:



                #$ debconf-get-selections | grep "^libdvd-pkg"
                libdvd-pkg libdvd-pkg/build boolean true
                libdvd-pkg libdvd-pkg/upgrade note
                libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
                libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
                libdvd-pkg libdvd-pkg/first-install note


                2) Put these lines in a installer script, before installing:



                #!/bin/bash

                echo "Installing libdvd-pkg ... "

                cat <<EndOfConfig | sudo debconf-set-selections
                libdvd-pkg libdvd-pkg/build boolean true
                libdvd-pkg libdvd-pkg/upgrade note
                libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
                libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
                libdvd-pkg libdvd-pkg/first-install note
                EndOfConfig

                sudo apt-get install libdvd-pkg


                Done!



                You can do this in all packages who has dialogs and user interaction.






                share|improve this answer








                New contributor




                mperon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                Install manually the first time, then use debconf-get-selections | grep "^libdvd-pkg" to see what debian confirm uses. After that, put the result in a script and execute debconf-set-selections before installing the package.



                1) Run deb-conf-get-selections on a installed machine:



                #$ debconf-get-selections | grep "^libdvd-pkg"
                libdvd-pkg libdvd-pkg/build boolean true
                libdvd-pkg libdvd-pkg/upgrade note
                libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
                libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
                libdvd-pkg libdvd-pkg/first-install note


                2) Put these lines in a installer script, before installing:



                #!/bin/bash

                echo "Installing libdvd-pkg ... "

                cat <<EndOfConfig | sudo debconf-set-selections
                libdvd-pkg libdvd-pkg/build boolean true
                libdvd-pkg libdvd-pkg/upgrade note
                libdvd-pkg libdvd-pkg/post-invoke_hook-remove boolean false
                libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true
                libdvd-pkg libdvd-pkg/first-install note
                EndOfConfig

                sudo apt-get install libdvd-pkg


                Done!



                You can do this in all packages who has dialogs and user interaction.







                share|improve this answer








                New contributor




                mperon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                mperon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 14 hours ago









                mperon

                212




                212




                New contributor




                mperon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                mperon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                mperon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1018524%2fpre-seeding-debconf-doesnt-impact-install-of-libdvd-pkg%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Which professions warranted travel in Medieval times?

                    Trouble downloading packages list due to a “Hash sum mismatch” error

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?