Hi All,

I had somehow made a mistake with my mariadb-server installation on the
KVM guest.  Removing it and re-installing it failed to setup correctly.

Like many others, I was tearing my hair out and not getting anywhere;
removing and purging the packages, and removing any possible file that
could be a problem.  All without good result.

Others seemed to "luck" their way out of the said problem and none could
explain why it finally worked for them.


TL/DR;

The /tmp directory had, somehow, incorrect permissions, fixed with chmod
1777 /tmp



This was the symptom:

dpkg: error processing package mariadb-server-10.0 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-10.0 (>= 10.0.27-0+deb8u1);
however:
  Package mariadb-server-10.0 is not configured yet.

dpkg: error processing package mariadb-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mariadb-server-10.0
 mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


The "unable to create tempfile" message in a logfile in /var/log (I
think), was the aha moment.  Anyway, it works fine now.

The same problem has been experienced on the Internet for quite a few
years; perhaps the mariadb installer or (dpkg?) can check for write
permissions for the /tmp directory and report what the issue was ....

Kind Regards
AndrewM



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to