package mysql-server-8.0 8.0.26-0ubuntu0.20.04.2 failed to install/upgrade: installed mysql-server-8.0 package post-installation script 서브프로세스가 오류 종료 상태 1를 반환했습니다
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
➜ ~ sudo apt-get purge mysql-server
[sudo] dowoon의 암호:
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7 libevent-
mysql-
'sudo apt autoremove'를 이용하여 제거하십시오.
다음 패키지를 지울 것입니다:
mysql-server*
0개 업그레이드, 0개 새로 설치, 1개 제거 및 0개 업그레이드 안 함.
이 작업 후 113 k바이트의 디스크 공간이 비워집니다.
계속 하시겠습니까? [Y/n] y
(데이터베이스 읽는중 ...현재 263897개의 파일과 디렉터리가 설치되어 있습니다.)
mysql-server (8.0.26-
➜ ~ sudo apt-get purge mysql-common
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
acl apg colord-data gnome-control-
libevent-
libieee1284-3 libieee1284-3:i386 libmecab2 libnghttp2-14:i386 libopengl0 libpci3:i386 libpcrecpp0v5 libperl5.30:i386 libproj15 libpsl5:i386 librtmp1:i386 librygel-core-2.6-2 librygel-db-2.6-2
librygel-
mysql-
python3-
'sudo apt autoremove'를 이용하여 제거하십시오.
다음 패키지를 지울 것입니다:
colord* gnome-control-
mysql-server-8.0* mysql-workbench
0개 업그레이드, 0개 새로 설치, 20개 제거 및 0개 업그레이드 안 함.
이 작업 후 218 M바이트의 디스크 공간이 비워집니다.
계속 하시겠습니까? [Y/n] y
(데이터베이스 읽는중 ...현재 263893개의 파일과 디렉터리가 설치되어 있습니다.)
ubuntu-desktop (1.450.2)를 제거합니다...
ubuntu-
gnome-control-
colord (1.4.4-2)를 제거합니다...
hplip (3.20.3+dfsg0-2)를 제거합니다...
libsane-hpaio:amd64 (3.20.3+dfsg0-2)를 제거합니다...
printer-
libhpmud0:amd64 (3.20.3+dfsg0-2)를 제거합니다...
libsane:i386 (1.0.29-
libsnmp35:i386 (5.8+dfsg-
libmysqlclient2
mysql-workbench
sane-utils (1.0.29-
mysql-server-8.0 (8.0.26-
update-
mysql-client-8.0 (8.0.26-
simple-scan (3.36.3-
libsane:amd64 (1.0.29-
libsnmp35:amd64 (5.8+dfsg-
libmysqlclient2
mysql-common (5.8+1.0.5ubuntu2)를 제거합니다...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for cups (2.3.1-9ubuntu1.1) ...
Updating PPD files for cups-filters ...
Updating PPD files for foomatic-
Updating PPD files for openprinting-ppds ...
Updating PPD files for brlaser ...
Updating PPD files for c2esp ...
Updating PPD files for foo2zjs-common ...
Updating PPD files for m2300w ...
Updating PPD files for postscript-hp ...
Updating PPD files for ptouch ...
Updating PPD files for pxljr ...
Updating PPD files for sag-gdi ...
Updating PPD files for splix ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-
Processing triggers for libglib2.0-0:i386 (2.64.6-
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for dbus (1.12.16-
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for udev (245.4-4ubuntu3.11) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
(데이터베이스 읽는중 ...현재 261275개의 파일과 디렉터리가 설치되어 있습니다.)
Purging configuration files for hplip (3.20.3+dfsg0-2) ...
Purging configuration files for mysql-server-8.0 (8.0.26-
Purging configuration files for mysql-common (5.8+1.0.5ubuntu2) ...
dpkg: 경고: mysql-common 제거 도중, 디렉토리 '/etc/mysql'가 비어 있지 않아 제거할 수 없습니다
Purging configuration files for colord (1.4.4-2) ...
Purging configuration files for sane-utils (1.0.29-0ubuntu5.2) ...
Purging configuration files for libsane-hpaio:amd64 (3.20.3+dfsg0-2) ...
Processing triggers for dbus (1.12.16-
Processing triggers for systemd (245.4-4ubuntu3.11) ...
➜ ~ sudo apt-get purge mariadb-server
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
패키지 'mariadb-server'는 설치되어 있지 않아, 지우지 않았습니다.
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
acl apg colord-data gnome-control-
libevent-
libieee1284-3 libieee1284-3:i386 libmecab2 libnghttp2-14:i386 libopengl0 libpci3:i386 libpcrecpp0v5 libperl5.30:i386 libproj15 libpsl5:i386 librtmp1:i386 librygel-core-2.6-2 librygel-db-2.6-2
librygel-
mysql-
python3-
'sudo apt autoremove'를 이용하여 제거하십시오.
0개 업그레이드, 0개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
➜ ~ sudo apt-get purge mariadb-common
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
패키지 'mariadb-common'는 설치되어 있지 않아, 지우지 않았습니다.
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
acl apg colord-data gnome-control-
libevent-
libieee1284-3 libieee1284-3:i386 libmecab2 libnghttp2-14:i386 libopengl0 libpci3:i386 libpcrecpp0v5 libperl5.30:i386 libproj15 libpsl5:i386 librtmp1:i386 librygel-core-2.6-2 librygel-db-2.6-2
librygel-
mysql-
python3-
'sudo apt autoremove'를 이용하여 제거하십시오.
0개 업그레이드, 0개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
➜ ~ rm -rf /var/log/mysql
➜ ~ rm -rf /var/log/mysql.*
zsh: no matches found: /var/log/mysql.*
➜ ~ rm -rf /var/lib/mysql
rm: '/var/lib/mysql'를 지울 수 없음: 허가 거부
➜ ~ sudo rm -rf /var/lib/mysql
➜ ~ sudo rm -rf /var/lib/mysql
➜ ~ sudo rm -rf /etc/mysql
➜ ~ sudo apt-get install mysql-server --fix-missing --fix-broken
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
acl apg colord-data gnome-control-
libgssdp-1.2-0 libgupnp-1.2-0 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3 libieee1284-3 libieee1284-3:i386 libnghttp2-14:i386 libopengl0 libpci3:i386 libpcrecpp0v5 libperl5.30:i386 libproj15 libpsl5:i386
librtmp1:i386 librygel-core-2.6-2 librygel-db-2.6-2 librygel-
network-
python3-tz rygel
'sudo apt autoremove'를 이용하여 제거하십시오.
다음의 추가 패키지가 설치될 것입니다 :
mysql-client-8.0 mysql-common mysql-server-8.0
제안하는 패키지:
mailx tinyca
다음 새 패키지를 설치할 것입니다:
mysql-client-8.0 mysql-common mysql-server mysql-server-8.0
0개 업그레이드, 4개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
7,496 바이트/1,368 k바이트 아카이브를 받아야 합니다.
이 작업 후 1,853 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] y
받기:1 http://
내려받기 7,496 바이트, 소요시간 1초 (10.8 k바이트/초)
패키지를 미리 설정하는 중입니다...
Selecting previously unselected package mysql-common.
(데이터베이스 읽는중 ...현재 261250개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../mysql-
Unpacking mysql-common (5.8+1.0.5ubuntu2) ...
Selecting previously unselected package mysql-client-8.0.
Preparing to unpack .../mysql-
Unpacking mysql-client-8.0 (8.0.26-
mysql-common (5.8+1.0.5ubuntu2) 설정하는 중입니다 ...
update-
Selecting previously unselected package mysql-server-8.0.
(데이터베이스 읽는중 ...현재 261279개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../mysql-
Unpacking mysql-server-8.0 (8.0.26-
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-
Unpacking mysql-server (8.0.26-
mysql-client-8.0 (8.0.26-
mysql-server-8.0 (8.0.26-
update-
Renaming removed key_buffer and myisam-recover options (if present)
mysqld will log errors to /var/log/
mysqld is running as pid 27260
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script 서브프로세스가 오류 종료 상태 1를 반환했습니다
보고서를 작성하지 않습니다. 오류 메시지에 따르면 예전의 실패 때문에 생긴 부수적인 오류입니다.
mysql-server 패키지는 다음 패키지에 의존: mysql-server-8.0: 하지만:
mysql-server-8.0 패키지는 아직 설정하지 않았습니다.
dpkg: error processing package mysql-server (--configure):
의존성 문제 - 설정하지 않고 남겨둠
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.11) ...
처리하는데 오류가 발생했습니다:
mysql-server-8.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
➜ ~ sudo rm /var/lib/
sudo: /usr/bin/rm을(를) 실행할 수 없습니다: 인수 명단이 너무 김
➜ ~ sudo dpkg --configure -a
mysql-server-8.0 (8.0.26-
Renaming removed key_buffer and myisam-recover options (if present)
mysqld will log errors to /var/log/
mysqld is running as pid 27911
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script 서브프로세스가 오류 종료 상태 1를 반환했습니다
dpkg: 종속성 문제로 mysql-server의 구성이 차단되었습니다:
mysql-server 패키지는 다음 패키지에 의존: mysql-server-8.0: 하지만:
mysql-server-8.0 패키지는 아직 설정하지 않았습니다.
dpkg: error processing package mysql-server (--configure):
의존성 문제 - 설정하지 않고 남겨둠
처리하는데 오류가 발생했습니다:
mysql-server-8.0
mysql-server
➜ ~ sudo apt update -y
기존:1 http://
기존:2 http://
받기:3 http://
기존:4 http://
받기:5 http://
받기:6 http://
기존:7 https:/
기존:8 https:/
기존:9 https:/
기존:10 http://
내려받기 328 k바이트, 소요시간 11초 (30.5 k바이트/초)
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
모든 패키지가 최신입니다.
➜ ~ sudo apt-get install mysql-server --fix-missing --fix-broken
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
패키지 mysql-server는 이미 최신 버전입니다 (8.0.26-
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
acl apg colord-data gnome-control-
hplip-data libbrotli1:i386 libcolord-gtk1 libcolorhug2
libcurl3-
libgssdp-1.2-0 libgupnp-1.2-0 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3
libieee1284-3 libieee1284-3:i386 libnghttp2-14:i386 libopengl0
libpci3:i386 libpcrecpp0v5 libperl5.30:i386 libproj15 libpsl5:i386
librtmp1:i386 librygel-core-2.6-2 librygel-db-2.6-2
librygel-
libssh-4:i386 libzip5 mobile-
printer-
python3-protobuf python3-pymacaroons python3-renderpm python3-reportlab
python3-
'sudo apt autoremove'를 이용하여 제거하십시오.
0개 업그레이드, 0개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
2개를 완전히 설치하지 못했거나 지움.
이 작업 후 0 바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] y
mysql-server-8.0 (8.0.26-
Renaming removed key_buffer and myisam-recover options (if present)
mysqld will log errors to /var/log/
mysqld is running as pid 29456
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script 서브프로세스가 오류 종료 상태 1를 반환했습니다
보고서를 작성하지 않습니다. 오류 메시지에 따르면 예전의 실패 때문에 생긴 부수적인 오류입니다.
mysql-server 패키지는 다음 패키지에 의존: mysql-server-8.0: 하지만:
mysql-server-8.0 패키지는 아직 설정하지 않았습니다.
dpkg: error processing package mysql-server (--configure):
의존성 문제 - 설정하지 않고 남겨둠
처리하는데 오류가 발생했습니다:
mysql-server-8.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
➜ ~ mysql --version
mysql Ver 8.0.26-
➜ ~ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: mysql-server-8.0 8.0.26-
ProcVersionSign
Uname: Linux 5.11.0-27-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Fri Aug 27 15:20:48 2021
ErrorMessage: installed mysql-server-8.0 package post-installation script 서브프로세스가 오류 종료 상태 1를 반환했습니다
InstallationDate: Installed on 2021-05-09 (109 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.26-
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #1941842, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.