LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2019, 08:14 PM   #1
mikedodd
LQ Newbie
 
Registered: Nov 2019
Posts: 7

Rep: Reputation: Disabled
Can't install Mariadb on Debian 10 Buster


I'm setting up a new home server with Debian 10. The current server running Debian 6 is beginnig to show signs of age. I installed mysql-server and imported my databases from the old server, but it appears that the client connector is no longer supported on Debian 10.

I'm told I need to install mariadb-server, so I uninstalled mysql-server, and tried to install mariadb-server.

But I can't. I've read several tutorials on doing this, but none work. I issue the commands:
Code:
apt update
apt upgrade
When I execute this one:
Code:
apt install mariadb-server
I get:
Code:
Reading package lists...
Building dependency tree...
Reading state information...
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 information may help to resolve the situation:

The following packages have unmet dependencies:
 mariadb-server : Depends: mariadb-server-10.4 (>= 1:10.4.10+maria~buster) but it is not going to be installed
No tutorial explains what to do if mariadb-server doesn't install.

Can someone point me in the right direction? This should be easy, but it's not for me.

Thanks.

--- Mike
 
Old 11-16-2019, 10:10 PM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
something not quite right going on

apt show mariadb-server
Code:
Package: mariadb-server
Version: 1:10.3.20-1
Priority: optional
Section: database
Source: mariadb-10.3
Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Installed-Size: 67.6 kB
Depends: mariadb-server-10.3 (>= 1:10.3.20-1)


#
This is on Debian Sid, I would expect that to be ahead of Buster not behind it.

what do you get from
Code:
apt show mariadb-server
apt policy
 
Old 11-17-2019, 08:00 AM   #3
mikedodd
LQ Newbie
 
Registered: Nov 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Firerat View Post
something not quite right going on

apt show mariadb-server
Code:
Package: mariadb-server
Version: 1:10.3.20-1
Priority: optional
Section: database
Source: mariadb-10.3
Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Installed-Size: 67.6 kB
Depends: mariadb-server-10.3 (>= 1:10.3.20-1)


#
This is on Debian Sid, I would expect that to be ahead of Buster not behind it.

what do you get from
Code:
apt show mariadb-server
apt policy

Thank you. Your comments coincide with info I just received from a friend, which is that mariadb-server-10.4 is not yet part of Debian 10. Indeed, apt policy mariadb-server shows 10.3.

LAter today I will try apt-get -s install mariadb-server-10.3 and see what happens. If that works, I'll install 10.3 for real.

Thanks again. I think I'm on track now.

--- Mike
 
Old 11-17-2019, 09:04 AM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
I actually needed the output of

Code:
apt policy
it lists the repositories Debian is using

I suspect you have a third party repo. which is the cause of the problem
 
Old 11-17-2019, 09:34 AM   #5
mikedodd
LQ Newbie
 
Registered: Nov 2019
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Firerat View Post
I actually needed the output of

Code:
apt policy
it lists the repositories Debian is using

I suspect you have a third party repo. which is the cause of the problem
Sorry; the output of
Code:
apt policy
is quite long, so I didn't post it here. However,
Code:
apt policy mariadb-server
produces this:
Code:
mariadb-server:
  Installed: (none)
  Candidate: 1:10.3.17-0+deb10u1
  Version table:
     1:10.3.17-0+deb10u1 500
        500 cdrom://[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-2 20190908-01:09] buster/main amd64 Packages
From this I infer that mariadb-server v10.3.17-0+deb10u1 is the version I should install, and that it is found on the Debian 10 distro DVD.

BTW, all the entries produces by the basic apt policy command contain the same 500 cdrom://[Debian GNU/Linux 10.1.0 _Buster_source, so it appears I'm working with a legit distro.

What do you think?

--- Mike
 
Old 11-17-2019, 09:52 AM   #6
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
have you "manually" downloaded a mariadb-server.deb ?
 
Old 11-17-2019, 10:01 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
Quote:
Originally Posted by mikedodd View Post
Code:
mariadb-server:
  Installed: (none)
  Candidate: 1:10.3.17-0+deb10u1
  Version table:
     1:10.3.17-0+deb10u1 500
        500 cdrom://[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 DVD Binary-2 20190908-01:09] buster/main amd64 Packages
Did you install it (the OS) from a cdrom/pendrive?
How does your /etc/apt/sources.list look like?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To: Remastering Debian Stretch/Buster using Linux-live-debian-050419 into a Live CD/DVD/USB/HDD linus72 Debian 1 10-14-2019 01:25 PM
LXer: KDE Participating in Google Summer of Code 2019, MariaDB Releasing New Open-Source MariaDB Enterprise Server, CentOS Celebrates 15th B LXer Syndicated Linux News 0 02-28-2019 06:50 AM
LXer: Debian 11 "Bullseye" and Debian 12 "Bookworm" Are Coming After Debian 10 "Buster" LXer Syndicated Linux News 0 04-18-2018 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration