ubuntu18.04 へのアップデート中に止まったら


sudo do-release-upgrade


Setting up libnih1:amd64 (1.0.3-6ubuntu2) ...



(念の為 top を見て稼働しているプロセスが無いか見ておくといいかも)

$ sudo reboot


$ sudo apt update


Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:2 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'ap-northeast-1.ec2.archive.ubuntu.com'
Err:3 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'ap-northeast-1.ec2.archive.ubuntu.com'
Err:4 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease
Temporary failure resolving 'ap-northeast-1.ec2.archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
257 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'ap-northeast-1.ec2.archive.ubuntu.com'
W: Failed to fetch http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'ap-northeast-1.ec2.archive.ubuntu.com'
W: Failed to fetch http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Temporary failure resolving 'ap-northeast-1.ec2.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.


sudo dpkg --configure -a
sudo apt --fix-broken install
sudo apt upgrade -y


sudo apt update -y; sudo apt upgrade -y;


sudo reboot


python3.5->python3.6 になっているので、3.5 にリンクする形で venv 作っていると壊れる。

どうせなので python3.6で venv を作り直すといい

python3.6 -m venv venv

MySQL 5.7 のインストールで競合が起きて mysql-server がインストールされないことがある。

Errors were encountered while processing:
Error in function:

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (389.0 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel


sudo apt remove mysql-server


sudo apt install mysql-server

Currently unrated


Recent Tweets

  • ytyng

    ytyng @ytyng

    10 months, 2 weeks ago

  • 安藤拓郎 Takuro Ando

    安藤拓郎 Takuro Ando @takuroando


    これまでいろんなグッズを作ってきたけど、今回は「お米」と聞いて買うしかないなと。今夜の夕食はコシヒカリ!箸もセットだし^^ https://t.co/01ucQx9qtw #腰乃展 #マンガ展 https://t.co/4VL2vOe0Og
    11 months ago

  • ytyng

    ytyng @ytyng

    講談社さんとやった全部入り電子書籍セットがギネスブックに登録されたよー https://t.co/rbkd3IYub0
    11 months ago