포장 풀기 준비 중 업그레이드 프로세스가 멈춤… / mysql-server-5.7_5.7.12-0ubuntu1.1_amd64.deb


11

업그레이드를 시도했는데 너무 오래 (20 분) 포장 풀기가 정상입니까? ctrl+ C에도 응답하지 않습니다 . 다음에 할일?

shubhendu@shubhendu-HP-Pavilion-g6-Notebook-PC:/opt$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic
  linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
  linux-signed-image-4.4.0-21-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  boot-repair boot-sav boot-sav-extra dnsmasq-base file-roller fwupd
  gnome-shell-common google-chrome-stable initramfs-tools initramfs-tools-bin
  initramfs-tools-core libdfu1 libexpat1 libexpat1-dev libfwupd1 libglib2.0-0
  libglib2.0-bin libglib2.0-data libmysqlclient20 libnm-gtk-common libnm-gtk0
  libnma-common libnma0 mysql-client-5.7 mysql-client-core-5.7 mysql-common
  mysql-server mysql-server-5.7 mysql-server-core-5.7 network-manager-gnome
  python3-software-properties shared-mime-info snapd
  software-properties-common software-properties-gtk valgrind wget
37 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 87.9 MB of archives.
After this operation, 3,378 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://dl.google.com/linux/chrome/deb stable/main amd64 google-chrome-stable amd64 51.0.2704.103-1 [49.2 MB]
Get:2 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 boot-sav all 4ppa38 [416 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1-dev amd64 2.1.0-7ubuntu0.16.04.2 [115 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1 amd64 2.1.0-7ubuntu0.16.04.2 [71.3 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-data all 2.48.1-1~ubuntu16.04.1 [132 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-bin amd64 2.48.1-1~ubuntu16.04.1 [39.4 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-0 amd64 2.48.1-1~ubuntu16.04.1 [1,118 kB]
Get:8 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 boot-repair all 4ppa38 [11.5 kB]
Get:9 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial/main amd64 boot-sav-extra all 4ppa38 [142 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 wget amd64 1.17.1-1ubuntu1.1 [298 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-client-core-5.7 amd64 5.7.12-0ubuntu1.1 [6,120 kB]
Get:12 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-common all 5.7.12-0ubuntu1.1 [17.0 kB]                                    
Get:13 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-client-5.7 amd64 5.7.12-0ubuntu1.1 [1,695 kB]                             
Get:14 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server-5.7 amd64 5.7.12-0ubuntu1.1 [2,587 kB]                             
Get:15 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server-core-5.7 amd64 5.7.12-0ubuntu1.1 [7,503 kB]                        
Get:16 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools all 0.122ubuntu8.1 [8,602 B]                                    
Get:17 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-core all 0.122ubuntu8.1 [42.2 kB]                               
Get:18 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-bin amd64 0.122ubuntu8.1 [10.8 kB]                              
Get:19 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 shared-mime-info amd64 1.5-2ubuntu0.1 [405 kB]                                  
Get:20 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dnsmasq-base amd64 2.75-1ubuntu0.16.04.1 [294 kB]                               
Get:21 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 file-roller amd64 3.16.5-0ubuntu1.1 [303 kB]                                    
Get:22 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdfu1 amd64 0.7.0-0ubuntu4.2 [42.4 kB]                                        
Get:23 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfwupd1 amd64 0.7.0-0ubuntu4.2 [27.7 kB]                                      
Get:24 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 fwupd amd64 0.7.0-0ubuntu4.2 [86.4 kB]                                          
Get:25 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 gnome-shell-common all 3.18.5-0ubuntu0.1 [609 kB]                           
Get:26 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient20 amd64 5.7.12-0ubuntu1.1 [811 kB]                               
Get:27 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnm-gtk0 amd64 1.2.0-0ubuntu0.16.04.3 [70.0 kB]                               
Get:28 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnm-gtk-common all 1.2.0-0ubuntu0.16.04.3 [5,344 B]                           
Get:29 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 network-manager-gnome amd64 1.2.0-0ubuntu0.16.04.3 [290 kB]                     
Get:30 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnma0 amd64 1.2.0-0ubuntu0.16.04.3 [66.0 kB]                                  
Get:31 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnma-common all 1.2.0-0ubuntu0.16.04.3 [5,328 B]                              
Get:32 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server all 5.7.12-0ubuntu1.1 [10.1 kB]                                    
Get:33 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.1 [9,428 B]                              
Get:34 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-gtk all 0.96.20.1 [47.2 kB]                                 
Get:35 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.1 [19.6 kB]                             
Get:36 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 snapd amd64 2.0.9 [4,355 kB]                                                    
Get:37 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 valgrind amd64 1:3.11.0-1ubuntu4.1 [11.0 MB]                                    
Fetched 87.9 MB in 24min 24s (60.0 kB/s)                                                                                                             
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 275711 files and directories currently installed.)
Preparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.16.04.2_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.2) over (2.1.0-7ubuntu0.16.04.1) ...
Preparing to unpack .../libexpat1_2.1.0-7ubuntu0.16.04.2_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2) over (2.1.0-7ubuntu0.16.04.1) ...
Preparing to unpack .../libglib2.0-data_2.48.1-1~ubuntu16.04.1_all.deb ...
Unpacking libglib2.0-data (2.48.1-1~ubuntu16.04.1) over (2.48.0-1ubuntu4) ...
Preparing to unpack .../libglib2.0-bin_2.48.1-1~ubuntu16.04.1_amd64.deb ...
Unpacking libglib2.0-bin (2.48.1-1~ubuntu16.04.1) over (2.48.0-1ubuntu4) ...
Preparing to unpack .../libglib2.0-0_2.48.1-1~ubuntu16.04.1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.48.1-1~ubuntu16.04.1) over (2.48.0-1ubuntu4) ...
Preparing to unpack .../wget_1.17.1-1ubuntu1.1_amd64.deb ...
Unpacking wget (1.17.1-1ubuntu1.1) over (1.17.1-1ubuntu1) ...
Preparing to unpack .../google-chrome-stable_51.0.2704.103-1_amd64.deb ...
Unpacking google-chrome-stable (51.0.2704.103-1) over (51.0.2704.84-1) ...
Preparing to unpack .../mysql-client-core-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-client-core-5.7 (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Preparing to unpack .../mysql-common_5.7.12-0ubuntu1.1_all.deb ...
Unpacking mysql-common (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Preparing to unpack .../mysql-client-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-client-5.7 (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 changed doc-base file...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up mysql-common (5.7.12-0ubuntu1.1) ...
(Reading database ... 275711 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.7_5.7.12-0ubuntu1.1_amd64.deb ...

1
여전히이 문제에 직면하고 있습니까? 당신은 출력의 추가 할 수 있습니다 df, 그것은 여유 공간 문제가 될 수
user.dz

마지막으로 이런 종류의 문제가 발생했을 때 서버의 복제 문제로 인해 Exoscale 호스팅 서비스가 원인이었습니다. 새로운 서버에서 지원이 바뀌었고 모든 것이 원활하게 다시 실행되었습니다.
ob2

답변:


9

로 우분투 16.04에서 패키지를 업그레이드 할 때도 같은 문제에 직면했습니다 sudo apt upgrade.

수동으로 mysql 서비스를 중지 하여이 문제를 해결했습니다.

$ sudo service mysql stop

이 작업에는 다소 시간이 걸리지 만 서비스가 중지 된 후에는 업그레이드 프로세스가 계속됩니다.


1
이 아이디어에 감사드립니다! 서비스 중지 시간이 오래 걸렸습니다. 그래서 "ps aux | grep mysql"로 mysql 프로세스를 찾아서 -9'ed하고 그것을 계속했습니다 (같은 아이디어) ..
gare

우분투 17.10 및 mysql 5.7.22와 동일한 문제가 있었지만 sudo kill {id_of_the_process}해당 프로세스 를 실행 하기 에 충분했습니다 .
D. Dan

14.04에서 16.04로 do-release 업그레이드 중에 Samba4와 동일한 문제가 발생했습니다. nmbd stop과정은 중단되었다; 킬 -9가 그것을 분류하고 업그레이드가 즉시 계속되었습니다.
Jim Salter

우와 나중에 동일한 업그레이드 중에 Samba 4.3 프로세스를 수동으로 종료해야했습니다. 업그레이드가 끝날 무렵 "화면 정리"에 매달 렸습니다. 참고로
Jim Salter 2018 년
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.