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

Clash Royale CLAN TAG#URR8PPP up vote
3
down vote
favorite
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...

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
add a comment |Â
up vote
3
down vote
favorite
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...

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
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
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...

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
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...

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
debconf
asked Mar 23 at 11:45
Lantizia
73114
73114
add a comment |Â
add a comment |Â
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.
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.
add a comment |Â
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.
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.
add a comment |Â
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.
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.
add a comment |Â
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.
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.
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.
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.
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2faskubuntu.com%2fquestions%2f1018524%2fpre-seeding-debconf-doesnt-impact-install-of-libdvd-pkg%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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