ubuntuのchromeがアップデートされない

 gmailを開いたら「このバージョンのChromeはサポートされていません」と表示される。手動アップデートしても変化なし。

 検索してみた。

sicklylife.hatenablog.com

 /etc/apt/sources/list.d/を除いてみたら

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
# deb http://dl.google.com/linux/chrome/deb/ stable main

 とコメントアウトされている。この#を外したら無事アップデートされた。


 この過程で「deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial mainが/etc/apt/sources.listと/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.listの両方で登録されとるがな」とウォーニングが。phpのバージョンをubuntuオフィシャルより新しいものにした時の影響か。
doroyamada.hatenablog.jp

 /etc/apt/sources.listの方をコメントアウトしたが、mbstring系のものが削除されたように表示された。

/etc/apt/sources.list.d/ondrej-ubuntu-php-xenial.listの中身は

deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main

 となっていた。deb-srcがコメントアウトされてしまったのが原因か。こちらのコメントアウトを外した。