package mysql-server-5.7 (not installed) failed to install/upgrade: podproces nowy skrypt pre-installation zwrócił kod błędu 1
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/
Drop-In: /lib/systemd/
Active: failed (Result: exit-code) since Fri 2018-03-16 09:14:14 CET; 15ms ago
Process: 4509 ExecStart=
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/
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/
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:
root@sekkura01:
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:
Synchronizing state of apache2.service with SysV service script with /lib/systemd/
Executing: /lib/systemd/
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: mysql-server-5.7 (not installed)
ProcVersionSign
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
RelatedPackageV
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.
mtime.conffile.
mtime.conffile.
mtime.conffile.
From terminal log:
Aborting downgrade from (at least) 10.1 to 5.7. mysql/debian- *.flag and try installing again.
If are sure you want to downgrade to 5.7, remove the file
/var/lib/