maria-discuss team mailing list archive
Mailing list archive
Re: Cannot install Mariadb-server-5.2
It seems that you already have (parts of) mariadb 5.3 installed. Look at the
output of 'dpkg -l | grep maria' and then apt-get remove all of those. Then
On Thu, Aug 4, 2011 at 04:26, planas <jslozier@xxxxxxxxx> wrote:
> I have been struggling to get mariadb to work. My problems have been either
> the server is very erratic, usually will not start it. After trying a
> complete reinstall I can not install the mariadb-server-5.2 package either
> from the repository or from a deb. I am using Ubuntu/Pinguy 11.04.
> The installation results from apt-get or aptitude are
> sudo aptitude install mariadb-server-5.2
> The following NEW packages will be installed:
> 0 packages upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
> Need to get 13.6 MB of archives. After unpacking 30.8 MB will be used.
> Get:1 http://ftp.osuosl.org/pub/mariadb/repo/5.2/ubuntu/ natty/main
> mariadb-server-5.2 amd64 5.2.7-mariadb101~natty [13.6 MB]
> Fetched 13.6 MB in 4s (2,733 kB/s)
> Preconfiguring packages ...
> (Reading database ... 427308 files and directories currently installed.)
> Unpacking mariadb-server-5.2 (from
> .../mariadb-server-5.2_5.2.7-mariadb101~natty_amd64.deb) ...
> Aborting downgrade from (at least) 5.3 to 5.2.
> If are sure you want to downgrade to 5.2, remove the file
> /var/lib/mysql/debian-*.flag and try installing again.
> dpkg: error processing
> subprocess new pre-installation script returned error exit status 1
> Errors were encountered while processing:
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install. Trying to recover:
> I tried MySQL 5.1.7 from the Ubuntu repository and got the same results.
> Searching various forums/online information has not turned up an answer
> including MySQL and Ubuntu.
> Jay Lozier
> Mailing list: https://launchpad.net/~maria-discuss
> Post to : maria-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-discuss
> More help : https://help.launchpad.net/ListHelp
follow @walterheck on twitter to see what I'm up to!
Check out my new startup: Server Monitoring as a Service @
Follow @tribily on Twitter and/or 'Like' our Facebook page at