package mariadb-server-10.0 10.0.27-0ubuntu0.16.04.1 failed to install/upgrade: sub-processo novo script pre-installation retornou estado de saída de erro 1

Bug #1647160 reported by Edson Oliveira
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mariadb-10.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

i´ve instaling mariadb, apache2, php7. ssl y phpmyadmin.

i think if is need to uninstall anyone to can use LAMP in Ubuntu desktop 16.04 LTS

or if i reinstall all with a version server.

What i want is a desktop version and a intranet server os page to a blog and mediawiki.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mariadb-server-10.0 10.0.27-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-51.72-generic 4.4.30
Uname: Linux 4.4.0-51-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Dec 4 10:45:04 2016
ErrorMessage: sub-processo novo script pre-installation retornou estado de saída de erro 1
InstallationDate: Installed on 2016-12-04 (0 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet = 16M
MySQLVarLibDirListing: ['ib_logfile0', 'ibdata1', 'aria_log.00000001', 'mysql', 'phpmyadmin', 'mysql_upgrade_info', 'multi-master.info', 'ib_logfile1', 'aria_log_control', 'debian-10.0.flag', 'performance_schema']
ProcCmdline: BOOT_IMAGE=/vmlinuz-4.4.0-51-generic root=UUID=a9c62b9e-58ac-404a-9fa0-90584dad84a4 ro quiet splash vt.handoff=7 1
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.15
SourcePackage: mariadb-10.0
Title: package mariadb-server-10.0 10.0.27-0ubuntu0.16.04.1 failed to install/upgrade: sub-processo novo script pre-installation retornou estado de saída de erro 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Edson Oliveira (elo-edson) wrote :
Revision history for this message
Edson Oliveira (elo-edson) wrote :

i use a process of:
https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-on-ubuntu-16-04-lamp/
and a link os /usr/share/phpmyadmin to /var/www

Revision history for this message
Faustin (fauust) wrote :

Hi Edson,
thank you taking the time to report this bug and helping to make Ubuntu better.

Relevant lines from the terminal are:
a new data directory will be initialized at /var/lib/mysql.
Please manually export/import your data (e.g. with mysqldump) if needed.
mv: impossível obter estado de '/etc/mysql/debian.cnf': Arquivo ou diretório não encontrado
dpkg: erro ao processar o arquivo /var/cache/apt/archives/mariadb-server-10.0_10.0.27-0ubuntu0.16.04.1_amd64.deb (--unpack):
 sub-processo novo script pre-installation retornou estado de saída de erro 1

This indicates that you or someone remove the file /etc/mysql/debian.cnf. Could you please give us the content of /etc/mysql and provide the steps that led to this.

Faustin (fauust)
Changed in mariadb-10.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mariadb-10.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in mariadb-10.0 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.