Thank you Andreas. Here is the output as you requested:
thabani@thabani-HP-ENVY-x360-Convertible:~$ sudo apt update
[sudo] password for thabani:
Err:1 http://archive.getdeb.net/ubuntu xenial-getdeb InRelease
Could not resolve 'archive.getdeb.net'
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Hit:4 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable Release
Hit:8 http://ua.archive.ubuntu.com/ubuntu bionic InRelease
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main amd64
DEP-11 Metadata [204 B]
Get:10 http://ua.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe
amd64 DEP-11 Metadata [6 832 B]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe
DEP-11 48x48 Icons [9 088 B]
Hit:7 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Get:13 http://ua.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:14 http://ua.archive.ubuntu.com/ubuntu bionic-updates/main i386
Packages [358 kB]
Get:15 http://ua.archive.ubuntu.com/ubuntu bionic-updates/main amd64
Packages [398 kB]
Get:16 http://ua.archive.ubuntu.com/ubuntu bionic-updates/main
Translation-en [149 kB]
Get:17 http://ua.archive.ubuntu.com/ubuntu bionic-updates/main amd64
DEP-11 Metadata [170 kB]
Get:18 http://ua.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11
48x48 Icons [40,8 kB]
Get:19 http://ua.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11
64x64 Icons [76,7 kB]
Get:20 http://ua.archive.ubuntu.com/ubuntu bionic-updates/restricted
amd64 Packages [7 028 B]
Get:21 http://ua.archive.ubuntu.com/ubuntu bionic-updates/restricted
i386 Packages [6 976 B]
Get:22 http://ua.archive.ubuntu.com/ubuntu bionic-updates/restricted
Translation-en [3 076 B]
Get:23 http://ua.archive.ubuntu.com/ubuntu bionic-updates/universe
amd64 Packages [559 kB]
Get:24 http://ua.archive.ubuntu.com/ubuntu bionic-updates/universe
i386 Packages [554 kB]
Get:25 http://ua.archive.ubuntu.com/ubuntu bionic-updates/universe
Translation-en [145 kB]
Get:26 http://ua.archive.ubuntu.com/ubuntu bionic-updates/universe
amd64 DEP-11 Metadata [183 kB]
Get:27 http://ua.archive.ubuntu.com/ubuntu bionic-updates/universe
DEP-11 48x48 Icons [179 kB]
Get:28 http://ua.archive.ubuntu.com/ubuntu bionic-updates/universe
DEP-11 64x64 Icons [289 kB]
Get:29 http://ua.archive.ubuntu.com/ubuntu bionic-updates/multiverse
i386 Packages [5 864 B]
Get:30 http://ua.archive.ubuntu.com/ubuntu bionic-updates/multiverse
amd64 Packages [5 720 B]
Get:31 http://ua.archive.ubuntu.com/ubuntu bionic-updates/multiverse
Translation-en [3 176 B]
Get:32 http://ua.archive.ubuntu.com/ubuntu bionic-updates/multiverse
amd64 DEP-11 Metadata [2 468 B]
Get:33 http://ua.archive.ubuntu.com/ubuntu bionic-backports/universe
amd64 DEP-11 Metadata [5 104 B]
Fetched 3 403 kB in 4s (805 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
22 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch
http://archive.getdeb.net/ubuntu/dists/xenial-getdeb/InRelease Could
not resolve 'archive.getdeb.net'
W: Some index files failed to download. They have been ignored, or old
ones used instead.
thabani@thabani-HP-ENVY-x360-Convertible:~$ sudo apt install
--reinstall mysql-server-5.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ant ant-optional default-jdk default-jdk-headless eclipse-platform-data
libecj-java libtomcat8-java linux-headers-4.15.0-33 openjdk-11-jdk
openjdk-11-jdk-headless
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 22 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for mysql-server-5.7:amd64
thabani@thabani-HP-ENVY-x360-Convertible:~$ sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ant ant-optional default-jdk default-jdk-headless eclipse-platform-data
libecj-java libtomcat8-java linux-headers-4.15.0-33 openjdk-11-jdk
openjdk-11-jdk-headless
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.7 (5.7.23-0ubuntu0.18.04.1) ...
chown: invalid user: ‘mysql:mysql’
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script
subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a
followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
thabani@thabani-HP-ENVY-x360-Convertible:~$
On 10/8/18, Andreas Hasenack <[email protected]> wrote:
> Thanks for filing this bug in Ubuntu.
>
> The mysql user is created by the mysql-server-5.7 package in its preinst
> script. The logs you attached unfortunately don't contain the details
> about what happened at that time, only that the user wasn't available
> when the postinst script came along (the failed chown call).
>
> Could you please try these commands, and paste their output here in the
> bug:
>
> sudo apt update
> sudo apt install --reinstall mysql-server-5.7
> sudo apt -f install
>
> THanks
>
>
> ** Changed in: mysql-5.7 (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1796569
>
> Title:
> package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 failed to
> install/upgrade: installed mysql-server-5.7 package post-installation
> script subprocess returned error exit status 1
>
> Status in mysql-5.7 package in Ubuntu:
> Incomplete
>
> Bug description:
> I tried installing ammps and I don't what went wrong. Problem has been
> persistent
>
> ProblemType: Package
> DistroRelease: Ubuntu 18.04
> Package: mysql-server-5.7 5.7.23-0ubuntu0.18.04.1
> ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
> Uname: Linux 4.15.0-36-generic x86_64
> ApportVersion: 2.20.9-0ubuntu7.4
> AptOrdering:
> linux-headers-4.15.0-33-generic:amd64: Remove
> NULL: ConfigurePending
> Architecture: amd64
> Date: Sun Oct 7 10:56:02 2018
> DpkgTerminalLog:
> Removing linux-headers-4.15.0-33-generic (4.15.0-33.36) ...
> Setting up mysql-server-5.7 (5.7.23-0ubuntu0.18.04.1) ...
> chown: invalid user: ‘mysql:mysql’
> dpkg: error processing package mysql-server-5.7 (--configure):
> installed mysql-server-5.7 package post-installation script subprocess
> returned error exit status 1
> DuplicateSignature:
> package:mysql-server-5.7:5.7.23-0ubuntu0.18.04.1
> Setting up mysql-server-5.7 (5.7.23-0ubuntu0.18.04.1) ...
> chown: invalid user: ‘mysql:mysql’
> dpkg: error processing package mysql-server-5.7 (--configure):
> installed mysql-server-5.7 package post-installation script subprocess
> returned error exit status 1
> ErrorMessage: installed mysql-server-5.7 package post-installation script
> subprocess returned error exit status 1
> InstallationDate: Installed on 2018-07-09 (90 days ago)
> InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64
> (20180426)
> 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
> MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf:
> [mysqld_safe]
> syslog
> MySQLVarLibDirListing: ['mysql_upgrade_info', 'ib_logfile0',
> 'ib_buffer_pool', 'debian-5.7.flag', 'performance_schema', 'ibdata1',
> 'ib_logfile1', 'mysql', 'sys', 'auto.cnf']
> ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic
> root=UUID=afd3be24-3650-418b-beba-fc8d654da086 ro quiet splash vt.handoff=1
> Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal,
> 3.6.5-3ubuntu1
> PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal,
> 2.7.15~rc1-1
> RelatedPackageVersions:
> dpkg 1.19.0.5ubuntu2
> apt 1.6.3ubuntu0.1
> SourcePackage: mysql-5.7
> Title: package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 failed to
> install/upgrade: installed mysql-server-5.7 package post-installation script
> subprocess returned error exit status 1
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1796569/+subscriptions
>
--
Thabani Dube
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1796569
Title:
package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 failed to
install/upgrade: installed mysql-server-5.7 package post-installation
script subprocess returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1796569/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs