• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Error upgrading mariadb-10.1 to 10.2 on debian 9

tazzalatte

New Pleskian
Got this error upgrading mariadb, can you help me proceed?

trying to overwrite '/usr/bin/mysql_install_db', which is also in package mariadb-server-core-10.1 10.1.47-0+deb9u1

apt install mariadb-server-10.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libmariadb3 libmariadbclient18 mariadb-client-10.2 mariadb-client-core-10.2 mariadb-server-core-10.2
Suggested packages:
mariadb-test netcat-openbsd tinyca
Recommended packages:
libhtml-template-perl
The following packages will be REMOVED:
default-mysql-server mariadb-client-10.1 mariadb-client-core-10.1 mariadb-server-10.1 mariadb-server-core-10.1
The following NEW packages will be installed:
libmariadb3 mariadb-client-10.2 mariadb-client-core-10.2 mariadb-server-10.2 mariadb-server-core-10.2
The following packages will be upgraded:
libmariadbclient18
1 upgraded, 5 newly installed, 5 to remove and 10 not upgraded.
Need to get 0 B/11.8 MB of archives.
After this operation, 46.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 97530 files and directories currently installed.)
Removing default-mysql-server (1.0.2) ...
dpkg: mariadb-server-10.1: dependency problems, but removing anyway as you requested:
plesk-mysql-server depends on virtual-mysql-server | mysql-server; however:
Package virtual-mysql-server is not installed.
Package mariadb-server-10.1 which provides virtual-mysql-server is to be removed.
Package mysql-server is not installed.
plesk-mysql-server depends on virtual-mysql-server | mysql-server; however:
Package virtual-mysql-server is not installed.
Package mariadb-server-10.1 which provides virtual-mysql-server is to be removed.
Package mysql-server is not installed.
plesk-mysql-server depends on virtual-mysql-server | mysql-server; however:
Package virtual-mysql-server is not installed.
Package mariadb-server-10.1 which provides virtual-mysql-server is to be removed.
Package mysql-server is not installed.
plesk-mysql-server depends on virtual-mysql-server | mysql-server; however:
Package virtual-mysql-server is not installed.
Package mariadb-server-10.1 which provides virtual-mysql-server is to be removed.
Package mysql-server is not installed.

Removing mariadb-server-10.1 (10.1.47-0+deb9u1) ...
(Reading database ... 97403 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.2_10.2.36+maria~stretch_amd64.deb ...
/var/lib/mysql: found previous version 10.1
Unpacking mariadb-server-10.2 (10.2.36+maria~stretch) ...
dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.2_10.2.36+maria~stretch_amd64.deb (--unpack):
trying to overwrite '/usr/bin/mysql_install_db', which is also in package mariadb-server-core-10.1 10.1.47-0+deb9u1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server-10.2_10.2.36+maria~stretch_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
I tried to remove first mariadb-server-core-10.1 but got this

Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following packages have unmet dependencies: mysql-server : Depends: default-mysql-server psa : PreDepends: pp18.0.32-bootstrapper but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated
 
Back
Top