LoginSignup
1
2

More than 3 years have passed since last update.

Google AIY (RaspberryPi zero)を再installした時に、apt update & upgradeが通らない件の対処

Posted at

時間を直す

あまりにもズレていると同期がとれないとのこと。
これをやらないと通らないかは試していないが、再インストール時に明らかに時間がずれていたので、直した。

$ sudo date --set=" 2019-10-15 23:22:30"
$ sudo dpkg-reconfigure tzdata

[参考]https://white02.hatenablog.com/entry/2018/07/03/015108

nameserverを直す

$ sudo vim /etc/resolv.conf

でnameserverを172.0.0.1 から 8.8.8.8にする。

$ sudo /etc/init.d/networking reload

[参考]http://engetu21.hatenablog.com/entry/2015/04/11/131949
(ここでは8.8.8.8を変えるようにあるが、172.0.0.1を8.8.8.8にしたら直った。)

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2