[Bug 1116634] [NEW] bacula-server installation runs dbconfig-common before installing and starting mysql-server
Public bug reported: When installing the meta package bacula-server it will reach the point of configuring the database for bacula-director-mysql with dbconfig- common before mysql-server has installed and started. The only way out is to opt out of the automatic database installation and install manually afterwards. This was previously reported (https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/293515) and marked as fixed, however I've verified this bug is present in all distributions between and including lucid and precise. # apt-get install bacula-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-3.2.0-23-generic linux-headers-3.2.0-23 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: bacula-common bacula-common-mysql bacula-director-common bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql dbconfig-common gawk heirloom-mailx libdbd-mysql-perl libdbi-perl libhtml-template-perl liblzo2-2 libmysqlclient18 libnet-daemon-perl libplrpc-perl libsigsegv2 mtx mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 Suggested packages: bacula-doc bacula-traymonitor dds2tar scsitools sg3-utils mt-st libipc-sharedcache-perl libterm-readkey-perl tinyca mailx The following NEW packages will be installed bacula-common bacula-common-mysql bacula-director-common bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql bacula-server dbconfig-common gawk heirloom-mailx libdbd-mysql-perl libdbi-perl libhtml-template-perl liblzo2-2 libmysqlclient18 libnet-daemon-perl libplrpc-perl libsigsegv2 mtx mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 0 upgraded, 27 newly installed, 0 to remove and 81 not upgraded. Need to get 30.5 MB of archives. After this operation, 107 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-common amd64 5.2.5-0ubuntu6.2 [621 kB] Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.29-0ubuntu0.12.04.1 [13.5 kB] Get:3 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libmysqlclient18 amd64 5.5.29-0ubuntu0.12.04.1 [946 kB] Get:4 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-common-mysql amd64 5.2.5-0ubuntu6.2 [75.4 kB] Get:5 http://gb.archive.ubuntu.com/ubuntu/ precise/main libsigsegv2 amd64 2.9-4ubuntu2 [14.6 kB] Get:6 http://gb.archive.ubuntu.com/ubuntu/ precise/main gawk amd64 1:3.1.8+dfsg-0.1ubuntu1 [465 kB] Get:7 http://gb.archive.ubuntu.com/ubuntu/ precise/universe heirloom-mailx amd64 12.5-1build1 [248 kB] Get:8 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-director-common amd64 5.2.5-0ubuntu6.2 [12.4 kB] Get:9 http://gb.archive.ubuntu.com/ubuntu/ precise/main dbconfig-common all 1.8.47 [458 kB] Get:10 http://gb.archive.ubuntu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB] Get:11 http://gb.archive.ubuntu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB] Get:12 http://gb.archive.ubuntu.com/ubuntu/ precise/main libdbi-perl amd64 1.616-1build2 [849 kB] Get:13 http://gb.archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl amd64 4.020-1build2 [106 kB] Get:14 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 amd64 5.5.29-0ubuntu0.12.04.1 [1,932 kB] Get:15 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-5.5 amd64 5.5.29-0ubuntu0.12.04.1 [8,323 kB] Get:16 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client all 5.5.29-0ubuntu0.12.04.1 [11.6 kB] Get:17 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-director-mysql amd64 5.2.5-0ubuntu6.2 [280 kB] Get:18 http://gb.archive.ubuntu.com/ubuntu/ precise/main liblzo2-2 amd64 2.06-1 [52.1 kB] Get:19 http://gb.archive.ubuntu.com/ubuntu/ precise/main mtx amd64 1.3.12-4ubuntu1 [150 kB] Get:20 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-sd amd64 5.2.5-0ubuntu6.2 [428 kB] Get:21 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-core-5.5 amd64 5.5.29-0ubuntu0.12.04.1 [6,055 kB] Get:22 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-5.5 amd64 5.5.29-0ubuntu0.12.04.1 [8,832 kB] Get:23 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-fd amd64 5.2.5-0ubuntu6.2 [91.5 kB] Get:24 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-sd-mysql amd64 5.2.5-0ubuntu6.2 [403 kB] Get:25 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-server all 5.2.5-0ubuntu6.2 [7,210 B] Get:26 http://gb.archive.ubuntu.com/ubuntu/ precise/main libhtml-template-perl all 2.10-1 [65.0 kB] Get:27
[Bug 1116634] [NEW] bacula-server installation runs dbconfig-common before installing and starting mysql-server
Public bug reported: When installing the meta package bacula-server it will reach the point of configuring the database for bacula-director-mysql with dbconfig- common before mysql-server has installed and started. The only way out is to opt out of the automatic database installation and install manually afterwards. This was previously reported (https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/293515) and marked as fixed, however I've verified this bug is present in all distributions between and including lucid and precise. # apt-get install bacula-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-3.2.0-23-generic linux-headers-3.2.0-23 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: bacula-common bacula-common-mysql bacula-director-common bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql dbconfig-common gawk heirloom-mailx libdbd-mysql-perl libdbi-perl libhtml-template-perl liblzo2-2 libmysqlclient18 libnet-daemon-perl libplrpc-perl libsigsegv2 mtx mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 Suggested packages: bacula-doc bacula-traymonitor dds2tar scsitools sg3-utils mt-st libipc-sharedcache-perl libterm-readkey-perl tinyca mailx The following NEW packages will be installed bacula-common bacula-common-mysql bacula-director-common bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql bacula-server dbconfig-common gawk heirloom-mailx libdbd-mysql-perl libdbi-perl libhtml-template-perl liblzo2-2 libmysqlclient18 libnet-daemon-perl libplrpc-perl libsigsegv2 mtx mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 0 upgraded, 27 newly installed, 0 to remove and 81 not upgraded. Need to get 30.5 MB of archives. After this operation, 107 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-common amd64 5.2.5-0ubuntu6.2 [621 kB] Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.29-0ubuntu0.12.04.1 [13.5 kB] Get:3 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main libmysqlclient18 amd64 5.5.29-0ubuntu0.12.04.1 [946 kB] Get:4 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-common-mysql amd64 5.2.5-0ubuntu6.2 [75.4 kB] Get:5 http://gb.archive.ubuntu.com/ubuntu/ precise/main libsigsegv2 amd64 2.9-4ubuntu2 [14.6 kB] Get:6 http://gb.archive.ubuntu.com/ubuntu/ precise/main gawk amd64 1:3.1.8+dfsg-0.1ubuntu1 [465 kB] Get:7 http://gb.archive.ubuntu.com/ubuntu/ precise/universe heirloom-mailx amd64 12.5-1build1 [248 kB] Get:8 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-director-common amd64 5.2.5-0ubuntu6.2 [12.4 kB] Get:9 http://gb.archive.ubuntu.com/ubuntu/ precise/main dbconfig-common all 1.8.47 [458 kB] Get:10 http://gb.archive.ubuntu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB] Get:11 http://gb.archive.ubuntu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB] Get:12 http://gb.archive.ubuntu.com/ubuntu/ precise/main libdbi-perl amd64 1.616-1build2 [849 kB] Get:13 http://gb.archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl amd64 4.020-1build2 [106 kB] Get:14 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 amd64 5.5.29-0ubuntu0.12.04.1 [1,932 kB] Get:15 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-5.5 amd64 5.5.29-0ubuntu0.12.04.1 [8,323 kB] Get:16 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client all 5.5.29-0ubuntu0.12.04.1 [11.6 kB] Get:17 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-director-mysql amd64 5.2.5-0ubuntu6.2 [280 kB] Get:18 http://gb.archive.ubuntu.com/ubuntu/ precise/main liblzo2-2 amd64 2.06-1 [52.1 kB] Get:19 http://gb.archive.ubuntu.com/ubuntu/ precise/main mtx amd64 1.3.12-4ubuntu1 [150 kB] Get:20 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-sd amd64 5.2.5-0ubuntu6.2 [428 kB] Get:21 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-core-5.5 amd64 5.5.29-0ubuntu0.12.04.1 [6,055 kB] Get:22 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-5.5 amd64 5.5.29-0ubuntu0.12.04.1 [8,832 kB] Get:23 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-fd amd64 5.2.5-0ubuntu6.2 [91.5 kB] Get:24 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-sd-mysql amd64 5.2.5-0ubuntu6.2 [403 kB] Get:25 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main bacula-server all 5.2.5-0ubuntu6.2 [7,210 B] Get:26 http://gb.archive.ubuntu.com/ubuntu/ precise/main libhtml-template-perl all 2.10-1 [65.0 kB] Get:27