[Bug 1590974] Re: package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

2018-03-01 Thread Faustin
Hi Mike.
> Any advice for future transfers of mysql databases would be appreciated.
This is really not a good approach to copy MySQL or MariaDB data (aka 
/var/lib/mysql) from an OS to another.

The transfert of SQL DB between OS needs to be done with an export of
your DB and an import on the new OS (logical backup).

See https://mariadb.com/kb/en/library/backup-and-restore-overview/ and
Logical vs Physical backups.

** Changed in: mariadb-10.0 (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590974

Title:
  package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1590974/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1590974] Re: package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

2017-01-28 Thread Andrew
Also affects me with mariadb-common 10.0.29-0ubuntu0.16.04.1 and mysql-
common 5.7.17-0ubuntu0.16.04.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590974

Title:
  package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1590974/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1590974] Re: package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

2016-08-30 Thread Alberto Salvia Novella
** Changed in: mariadb-10.0 (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590974

Title:
  package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1590974/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1590974] Re: package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

2016-06-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: mariadb-10.0 (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590974

Title:
  package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1590974/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1590974] Re: package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

2016-06-15 Thread Mike Drew
Otto,

Thanks for the reply.  I was finally able to get the 5.7 update to
complete.  At least no more errors occurred.  The problems started during
the upgrade from Ubuntu 15.10 to 16.04 and MariaDB did not quite install
properly.  It was probably my fault because I copied the /var/lib/mysql
folder from openSUSE Tumbleweed to the Ubuntu 15.10 environment.  I somehow
got through that hurdle and 16.04 worked and so did the mysql databases.
All seemed to work okay until the 5.7 update of MariaDB.  I probably still
don't have a 'clean' Ubuntu 16.04 environment.  Anyway, I used touch to
create /etc/mysql/mariadb.cnf and reran the update.  It almost worked
except for the binary update.  I renamed /var/lib/mysql-5.7 to
mysql-5.7.old and ran the update again.  I did apt-get install -f and got
no more errors.  Then I ran the Software Updater and it said my computer
was up to date.  I know I probably didn't do this the 'right' way, being
that I'm no Ubuntu or Linux expert.  I know just enough to be dangerous.
Any advice for future transfers of mysql databases would be appreciated.
And I'll read up on it in the meantime.  Thanks.

On Fri, Jun 10, 2016 at 1:32 AM, Otto Kekäläinen <1590...@bugs.launchpad.net
> wrote:

> The dpkg terminal seems to have said:
> Processing triggers for menu (2.1.47ubuntu1) ...
> Setting up mariadb-common (10.0.25-0ubuntu0.16.04.1) ...
> update-alternatives: error: alternative path /etc/mysql/mariadb.cnf
> doesn't exist
>
> What was the previous MariaDB version you upgraded from? What does your
> /etc/mysql contents look like? Why was the failed file not found in
> /etc/mysql, have you manually deleted it?
>
> Please provide more information. Try to debug yourself so that the basic
> information would be available in this bug report.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1590974
>
> Title:
>   package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to
>   install/upgrade: subprocess installed post-installation script
>   returned error exit status 2
>
> Status in mariadb-10.0 package in Ubuntu:
>   New
>
> Bug description:
>   System updater error.
>
>   ProblemType: Package
>   DistroRelease: Ubuntu 16.04
>   Package: mariadb-common 10.0.25-0ubuntu0.16.04.1
>   ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
>   Uname: Linux 4.4.0-22-generic x86_64
>   ApportVersion: 2.20.1-0ubuntu2.1
>   Architecture: amd64
>   Date: Thu Jun  9 16:39:05 2016
>   Dependencies: mysql-common 5.7.12-0ubuntu1
>   ErrorMessage: subprocess installed post-installation script returned
> error exit status 2
>   InstallationDate: Installed on 2016-02-28 (102 days ago)
>   InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64
> (20151021)
>   Logs.var.log.daemon.log:
>
>   Logs.var.log.mysql.error.log:
>   MySQLConf.etc.mysql.mariadb.cnf: Error: [Errno 2] No such file or
> directory: '/etc/mysql/mariadb.cnf'
>   PackageArchitecture: all
>   ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic
> root=UUID=6d65e6f7-0b17-4332-81ec-8e35569ac818 ro quiet splash vt.handoff=7
>   RelatedPackageVersions:
>dpkg 1.18.4ubuntu1.1
>apt  1.2.12~ubuntu16.04.1
>   SourcePackage: mariadb-10.0
>   Title: package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to
> install/upgrade: subprocess installed post-installation script returned
> error exit status 2
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   modified.conffile..etc.mysql.mariadb.cnf: [deleted]
>   modified.conffile..etc.mysql.mariadb.conf.d.50-mysqld_safe.cnf: [deleted]
>   modified.conffile..etc.mysql.mariadb.conf.d.50-server.cnf: [deleted]
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1590974/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590974

Title:
  package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1590974/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1590974] Re: package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

2016-06-10 Thread Otto Kekäläinen
The dpkg terminal seems to have said:
Processing triggers for menu (2.1.47ubuntu1) ...
Setting up mariadb-common (10.0.25-0ubuntu0.16.04.1) ...
update-alternatives: error: alternative path /etc/mysql/mariadb.cnf doesn't 
exist

What was the previous MariaDB version you upgraded from? What does your
/etc/mysql contents look like? Why was the failed file not found in
/etc/mysql, have you manually deleted it?

Please provide more information. Try to debug yourself so that the basic
information would be available in this bug report.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1590974

Title:
  package mariadb-common 10.0.25-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-10.0/+bug/1590974/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs