忘備録-備忘録

技術的な備忘録

google aiy project 再インストール

2018-11-19 20:33:00 | raspberry ...

google aiy voice kit & google aiy vision kit でアップデートがうまくいかなかったため手動でアップデートしました。

1.うまくアップデートできないパッケージを削除します。

$ sudo apt-get remove aiy-voicebonnet-soundcard-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  aiy-vision-dkms avahi-utils
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  aiy-core aiy-full aiy-projects-python aiy-voicebonnet-routes
  aiy-voicebonnet-soundcard-dkms
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
36 not fully installed or removed.
After this operation, 1,963 kB disk space will be freed.
Do you want to continue? [Y/n] y

2.うまく削除されたら再度インストールします。

$ sudo apt-get install aiy-vision-dkms avahi-utils aiy-projects-python  aiy-voicebonnet-soundcard-dkms

3.ドライバを再度インストールします。

$ ls /usr/src
aiy-1.1                        leds-ktd202x-1.1           pwm-soft-1.1
aiy-vision-1.1                 linux-headers-4.14.79+     sense-hat
aiy-voicebonnet-soundcard-1.0  linux-headers-4.14.79-v7+

$ sudo dkms install -m aiy -v 1.1

$ sudo dkms install -m aiy-voicebonnet-soundcard -v 1.0

$ sudo dkms install -m leds-ktd202x -v 1.1

$ sudo dkms install -m pwm-soft -v 1.1

$ sudo dkms install -m aiy-vision -v 1.1

参考