package mysql-server-5.7 (not installed) failed to install/upgrade: podproces nowy skrypt pre-installation zwrócił kod błędu 1

Bug #1756275 reported by Paweł Tomczyk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Fri 2018-03-16 09:14:14 CET; 15ms ago
  Process: 4509 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

mar 16 09:14:13 sekkura01 systemd[1]: Starting The Apache HTTP Server...
mar 16 09:14:14 sekkura01 apachectl[4509]: AH00526: Syntax error on line 229 of /etc/apache2/apache2.conf:
mar 16 09:14:14 sekkura01 apachectl[4509]: Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
mar 16 09:14:14 sekkura01 apachectl[4509]: Action 'start' failed.
mar 16 09:14:14 sekkura01 apachectl[4509]: The Apache error log may have more information.
mar 16 09:14:14 sekkura01 systemd[1]: apache2.service: Control process exited, code=exited status=1
mar 16 09:14:14 sekkura01 systemd[1]: Failed to start The Apache HTTP Server.
mar 16 09:14:14 sekkura01 systemd[1]: apache2.service: Unit entered failed state.
mar 16 09:14:14 sekkura01 systemd[1]: apache2.service: Failed with result 'exit-code'.

mar 16 09:14:13 sekkura01 systemd[1]: Starting The Apache HTTP Server...
mar 16 09:14:14 sekkura01 apachectl[4509]: AH00526: Syntax error on line 229 of /etc/apache2/apache2.conf:
mar 16 09:14:14 sekkura01 apachectl[4509]: Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
mar 16 09:14:14 sekkura01 apachectl[4509]: Action 'start' failed.
mar 16 09:14:14 sekkura01 apachectl[4509]: The Apache error log may have more information.
mar 16 09:14:14 sekkura01 systemd[1]: apache2.service: Control process exited, code=exited status=1
mar 16 09:14:14 sekkura01 systemd[1]: Failed to start The Apache HTTP Server.
mar 16 09:14:14 sekkura01 systemd[1]: apache2.service: Unit entered failed state.
mar 16 09:14:14 sekkura01 systemd[1]: apache2.service: Failed with result 'exit-code'.
root@sekkura01:/home/pawelt# sudo systemctl stop apache2.service
root@sekkura01:/home/pawelt# sudo systemctl start apache2.service
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
root@sekkura01:/home/pawelt# sudo systemctl enable apache2.service
Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable apache2

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: mysql-server-5.7 (not installed)
ProcVersionSignature: Ubuntu 4.13.0-36.40-generic 4.13.13
Uname: Linux 4.13.0-36-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Fri Mar 16 00:20:15 2018
ErrorMessage: podproces nowy skrypt pre-installation zwrócił kod błędu 1
InstallationDate: Installed on 2018-02-25 (18 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt 1.5.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 (not installed) failed to install/upgrade: podproces nowy skrypt pre-installation zwrócił kod błędu 1
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.apparmor.d.usr.sbin.mysqld: 2018-01-02T12:51:23
mtime.conffile..etc.init.d.mysql: 2018-01-02T12:51:23
mtime.conffile..etc.logrotate.d.mysql-server: 2018-01-02T12:51:23
mtime.conffile..etc.mysql.debian-start: 2018-01-02T12:51:23

Revision history for this message
Paweł Tomczyk (pawel023t) wrote :
Revision history for this message
Joshua Powers (powersj) wrote :

From terminal log:

Aborting downgrade from (at least) 10.1 to 5.7.
If are sure you want to downgrade to 5.7, remove the file
/var/lib/mysql/debian-*.flag and try installing again.

Revision history for this message
Joshua Powers (powersj) wrote :

Thank you for taking the time to file a bug report.

Per the log message above, the mysql install has failed because you are
attempting to downgrade the version. If you really do wish to do this, then
follow the steps in the message to force the downgrade. However, be warned
this may cause unexpected behavior.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

Changed in mysql-5.7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in mysql-5.7 (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.