<div dir="ltr"><div>Package: mysql-server</div><div>Severity: important</div><div><br></div><div>Dear Maintainer,</div><div><br></div><div>Error installing mysql-server on Debian 9 Stretch (dependency problems).<br></div><div>Using Debian 9.5, fresh install. I want to install mysql-server, but I run into dependency problems.</div><div><br></div><div><br></div><div>The following packages have unmet dependencies:</div><div> mysql-server : Depends: default-mysql-server but it is not going to be installed</div><div>E: Unable to correct problems, you have held broken packages.</div><div><br></div><div>apt-get install mysql-server default-mysql-server</div><div>Reading package lists... Done</div><div>Building dependency tree</div><div>Reading state information... Done</div><div>Some packages could not be installed. This may mean that you have</div><div>requested an impossible situation or if you are using the unstable</div><div>distribution that some required packages have not yet been created</div><div>or been moved out of Incoming.</div><div>The following information may help to resolve the situation:</div><div><br></div><div>The following packages have unmet dependencies:</div><div> default-mysql-server : Depends: mariadb-server-10.1 but it is not going to be installed</div><div>E: Unable to correct problems, you have held broken packages.</div><div><br></div><div>sudo apt-get install mysql-server default-mysql-server mariadb-server-10.1</div><div>Reading package lists... Done</div><div>Building dependency tree</div><div>Reading state information... Done</div><div>Some packages could not be installed. This may mean that you have</div><div>requested an impossible situation or if you are using the unstable</div><div>distribution that some required packages have not yet been created</div><div>or been moved out of Incoming.</div><div>The following information may help to resolve the situation:</div><div><br></div><div>The following packages have unmet dependencies:</div><div> mariadb-server-10.1 : Depends: libdbi-perl but it is not going to be installed</div><div>                       Recommends: libhtml-template-perl but it is not going to be installed</div><div>E: Unable to correct problems, you have held broken packages.</div><div><br></div><div>sudo apt-get install mysql-server default-mysql-server mariadb-server-10.1 libhtml-template-perl</div><div>Reading package lists... Done</div><div>Building dependency tree</div><div>Reading state information... Done</div><div>Some packages could not be installed. This may mean that you have</div><div>requested an impossible situation or if you are using the unstable</div><div>distribution that some required packages have not yet been created</div><div>or been moved out of Incoming.</div><div>The following information may help to resolve the situation:</div><div><br></div><div>The following packages have unmet dependencies:</div><div> libhtml-template-perl : Depends: libcgi-pm-perl but it is not going to be installed or</div><div>                                  perl (< 5.19) but 5.26.2-7 is to be installed</div><div> mariadb-server-10.1 : Depends: libdbi-perl but it is not going to be installed</div><div>E: Unable to correct problems, you have held broken packages.</div><div><br></div><div>sudo apt-get install mysql-server default-mysql-server mariadb-server-10.1 libdbi-perl</div><div>Reading package lists... Done</div><div>Building dependency tree</div><div>Reading state information... Done</div><div>Some packages could not be installed. This may mean that you have</div><div>requested an impossible situation or if you are using the unstable</div><div>distribution that some required packages have not yet been created</div><div>or been moved out of Incoming.</div><div>The following information may help to resolve the situation:</div><div><br></div><div>The following packages have unmet dependencies:</div><div> libdbi-perl : Depends: perlapi-5.24.1</div><div>E: Unable to correct problems, you have held broken packages.</div><div><br></div><div><br></div><div>apt-cache policy</div><div>Package files:</div><div> 100 /var/lib/dpkg/status</div><div>     release a=now</div><div> 500 <a href="http://security.debian.org/debian-security" target="_blank">http://security.debian.org/debian-security</a> stretch/updates/contrib amd64 Packages</div><div>     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=amd64</div><div>     origin <a href="http://security.debian.org/" target="_blank">security.debian.org</a></div><div> 500 <a href="http://security.debian.org/debian-security" target="_blank">http://security.debian.org/debian-security</a> stretch/updates/main amd64 Packages</div><div>     release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64</div><div>     origin <a href="http://security.debian.org/" target="_blank">security.debian.org</a></div><div> 500 <a href="http://deb.debian.org/debian" target="_blank">http://deb.debian.org/debian</a> stretch-updates/main amd64 Packages</div><div>     release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64</div><div>     origin <a href="http://deb.debian.org/" target="_blank">deb.debian.org</a></div><div> 500 <a href="http://deb.debian.org/debian" target="_blank">http://deb.debian.org/debian</a> stretch/main amd64 Packages</div><div>     release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64</div><div>     origin <a href="http://deb.debian.org/" target="_blank">deb.debian.org</a></div><div>Pinned packages:</div><div><br></div><div><br></div><div>apt policy perl perl-base</div><div>perl:</div><div>  Installed: 5.26.2-7</div><div>  Candidate: 5.26.2-7</div><div>  Version table:</div><div> *** 5.26.2-7 100</div><div>        100 /var/lib/dpkg/status</div><div>     5.24.1-3+deb9u4 500</div><div>        500 <a href="http://deb.debian.org/debian" target="_blank">http://deb.debian.org/debian</a> stretch/main amd64 Packages</div><div>        500 <a href="http://security.debian.org/debian-security" target="_blank">http://security.debian.org/debian-security</a> stretch/updates/main amd64 Packages</div><div>perl-base:</div><div>  Installed: 5.26.2-7</div><div>  Candidate: 5.26.2-7</div><div>  Version table:</div><div> *** 5.26.2-7 100</div><div>        100 /var/lib/dpkg/status</div><div>     5.24.1-3+deb9u4 500</div><div>        500 <a href="http://deb.debian.org/debian" target="_blank">http://deb.debian.org/debian</a> stretch/main amd64 Packages</div><div>        500 <a href="http://security.debian.org/debian-security" target="_blank">http://security.debian.org/debian-security</a> stretch/updates/main amd64 Packages</div><div><br></div><div>        </div><div>-- System Information:</div><div>Debian Release: 9.5</div><div>  APT prefers stable</div><div>  APT policy: (500, 'stable')</div><div>Architecture: amd64 (x86_64)</div><div><br></div><div>Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)</div><div>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)</div><div>Shell: /bin/sh linked to /bin/dash</div><div>Init: systemd (via /run/systemd/system)</div></div>