<div dir="ltr"><div>Package: samba-common</div><div>Version: 2:4.9.5+dfsg-5</div><div><br></div><div>I maintain a software package (<a href="http://freelcs.sourceforge.net">freelcs.sourceforge.net</a>) that runs on Debian. My software needs samba and installs this among other packages it needs with apt-get. The user runs my GUI installer which uses apt-get in the background to install needed Debian packages unattended. This has worked fine before in Debian releases 7, 8 and 9, but now in Debian 10 the installer fails because the samba-common package won't respect the -q=2 -y swithces on apt-get commandline. The exact commandline I use is:<br></div><div><br></div><div>apt-get -q=2 --reinstall -y  install samba</div><div><br></div><div>another commandline I tried is: <br></div><div><br></div><div>sudo apt-get --reinstall -y --no-install-recommends install samba</div><div><br></div><div>The expected behavior is that samba package is installed without prompting the user for anything. However both of these commands now always open up a prompt asking:<br></div><div><br></div><div>"If your computer gets IP address information from a DHCP server on the network, the DHCP server may also provide information about WINS servers ("NetBIOS name servers") present on the network.  This requires a change to your smb.conf file so<br>that DHCP-provided WINS settings will automatically be read from /var/lib/samba/dhcp.conf.<br>The dhcp-client package must be installed to take advantage of this feature.<br>Modify smb.conf to use WINS settings from DHCP?"</div><div><br></div><div>IMHO this seems like a bug in the samba package, since the behavior has changed from earlier samba - versions and the apt-get switches -q=2 -y and --no-install-recommends should provide default answers for the packages questions and the installation should proceed without any prompts.</div><div><br></div><div>My architecure is:</div><div>uname -a<br>Linux debian10 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u1 (2019-07-19) x86_64 GNU/Linux</div><div><br></div><div>My CPU is AMD Threadripper 2950X<br></div><div><br></div><div>Here is info about the package that I think is responsible for the faulty behavior:</div><div><br></div><div>dpkg -I samba-common_2%3a4.9.5+dfsg-5_all.deb</div><div> new Debian package, version 2.0.<br> size 169456 bytes: control archive=35656 bytes.<br>      79 bytes,     3 lines      conffiles            <br>    2221 bytes,    97 lines   *  config               #!/bin/sh<br>     688 bytes,    19 lines      control              <br>     725 bytes,    10 lines      md5sums              <br>    3190 bytes,   117 lines   *  postinst             #!/bin/sh<br>     734 bytes,    30 lines   *  postrm               #!/bin/sh<br>  101214 bytes,   557 lines      templates            <br> Package: samba-common<br> Source: samba<br> Version: 2:4.9.5+dfsg-5<br> Architecture: all<br> Maintainer: Debian Samba Maintainers <<a href="mailto:pkg-samba-maint@lists.alioth.debian.org">pkg-samba-maint@lists.alioth.debian.org</a>><br> Installed-Size: 281<br> Pre-Depends: dpkg (>= 1.15.6~)<br> Depends: ucf, debconf (>= 0.5) | debconf-2.0<br> Recommends: samba-common-bin<br> Section: net<br> Priority: optional<br> Multi-Arch: foreign<br> Homepage: <a href="http://www.samba.org">http://www.samba.org</a><br> Description: common files used by both the Samba server and client<br>  Samba is an implementation of the SMB/CIFS protocol for Unix systems,<br>  providing support for cross-platform file and printer sharing with<br>  Microsoft Windows, OS X, and other Unix systems.<br>  .<br>  This package contains common files used by all parts of Samba.</div><div><br></div><div>Mikael Hartzell<br></div></div>