Vengineerの妄想(準備期間)

人生は短いけど、長いです。人生を楽しみましょう!

ChromebookでUbuntuが使えなくなったよ


今日やることの
 1)、原稿の校正
 2)、原稿書き
 3)、ブログ
が終わったので、
 4)、AWS EC2 F1の調査
をしようと思って、USB HDDを接続し、Ubuntuを立ち上げしようとしたら、

Changing wayland GID from 999 to 601...
Password: 
と。

パスワード、わかんないよ。

どうやら、OSのアップデートがあり、Waylandになったからだよ。

croutonにも、
Can't start (or update, or anything else) chroot, everything appears to be broken #3221
に、同じような現象が発生して、ダメだと。。。

結局、諦めたようだけど。


再インストールしようとしても、
sudo sh ./crouton -u
Password: 
/usr/local/chroots/xenial already exists; updating it...
Preparing chroot environment...
Installing brightness into the chroot...
Installing croutonpowerd into the chroot...
Installing croutonversion into the chroot...
Installing host-dbus into the chroot...
Installing host-wayland into the chroot...
Installing volume into the chroot...
Installing pulseaudio-default.pa into the chroot...
Installing croutoncycle into the chroot...
Installing croutontriggerd into the chroot...
Installing croutonxinitrc-wrapper into the chroot...
Installing setres into the chroot...
Installing xinit into the chroot...
Installing xbindkeysrc.scm into the chroot...
Installing xorg-intel-sna.conf into the chroot...
Installing xserverrc into the chroot...
Installing xserverrc-xorg into the chroot...
Installing xserverrc-local.example into the chroot...
Installing startxfce4 into the host...
Installing crouton-noroot into the chroot...
Installing startxfce4 into the chroot...
Installing enter-chroot into the host...
Installing delete-chroot into the host...
Installing edit-chroot into the host...
Installing mount-chroot into the host...
Installing unmount-chroot into the host...
Installing crash_reporter_wrapper into the host...
Changing wayland GID from 999 to 601...
Password: 
が出てしますよ。

あー、参ったな。。。

追記)、2017.06.17(土)
Changing wayland GID from 999 to 601...
の部分は、
Ubuntu側の/etc/group のwaylandのGIDを999から601に変えることで出なくなりました。
でも、Passwdは出てくるの。

Ubuntu 14.04LTS用に変えて、
    $ sudo sh -e ~/Downloads/crouton -r trusty -u
って、やったら、なんか、アップデート開始して、上手く出来ちゃった。

あーよかった。でもね。Ubuntu 16.04LTSではダメなのよね。
    $ sudo sh -e ~/Downloads/crouton -r xenial -u

と思って、再起動して、接続し直したら、またできなくなったよ。。。。

再度、
    $ sudo sh -e ~/Downloads/crouton -r xenial -u
を実行したら、なんかアップデートが始まりました。
Password:
Downloading latest crouton installer...
/usr/local/chroots/xenial already exists; updating it...
Preparing chroot environment...
Installing brightness into the chroot...
Installing croutonpowerd into the chroot...
Installing croutonversion into the chroot...
Installing host-dbus into the chroot...
Installing host-wayland into the chroot...
Installing volume into the chroot...
Installing pulseaudio-default.pa into the chroot...
Installing croutoncycle into the chroot...
Installing croutontriggerd into the chroot...
Installing croutonxinitrc-wrapper into the chroot...
Installing setres into the chroot...
Installing xinit into the chroot...
Installing xbindkeysrc.scm into the chroot...
Installing xorg-intel-sna.conf into the chroot...
Installing xserverrc into the chroot...
Installing xserverrc-xorg into the chroot...
nstalling xserverrc-local.example into the chroot...
Installing startunity into the host...
Installing crouton-noroot into the chroot...
Installing startunity into the chroot...
Installing gnome-session-wrapper into the chroot...
Installing crouton-unity-autostart into the chroot...
Installing unity-autostart.desktop into the chroot...
Installing unity-profiled into the chroot...
Installing croutonclip into the chroot...
Installing croutonnotify into the chroot...
Installing croutonurlhandler into the chroot...
Installing startxfce4 into the host...
Installing crouton-noroot into the chroot...
Installing startxfce4 into the chroot...
Installing enter-chroot into the host...
Installing delete-chroot into the host...
Installing edit-chroot into the host...
Installing mount-chroot into the host...
Installing unmount-chroot into the host...
Installing crash_reporter_wrapper into the host...
Installing target core...
Preparing environment...
Preparing software sources...
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Fetched 204 kB in 6s (32.8 kB/s)                                       
Reading package lists... Done
Ensuring system is up-to-date...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ca-certificates is already the newest version (20160104ubuntu1).
apt-transport-https is already the newest version (1.2.20).
sudo is already the newest version (1.8.16-0ubuntu1.4).
wget is already the newest version (1.17.1-1ubuntu1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Syncing timezone...
Installing target audio...
Fetching CRAS (branch 85e70ffda3f2b47a6665adca0fd4e885ab032a9c)...
--2017-06-17 11:44:30--  https://chromium.googlesource.com/chromiumos/third_party/adhd/+archive/85e70ffda3f2b47a6665adca0fd4e885ab032a9c.tar.gz
Resolving chromium.googlesource.com (chromium.googlesource.com)... 108.177.97.82
Connecting to chromium.googlesource.com (chromium.googlesource.com)|108.177.97.82|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: '/tmp/crouton-cras.i9Pjq4/adhd.tar.gz'

     0K .......... .......... .......... .......... ..........  612K
    50K .......... .......... .......... .......... .......... 1012K
   100K .......... .......... .......... .......... .......... 1.39M
   150K .......... .......... .......... .......... .......... 1.68M
   200K .......... .......... .......... .......... .......... 2.65M
   250K .......... .......... .......... .......... .......... 1.90M
   300K .......... .......... .......... .......... .......... 1.89M
   350K .......... .......... .......... .......... .......... 5.57M
   400K .......... .......... .......... .......... .......... 2.36M
   450K .......... .......... .......... .......... .......... 3.25M
   500K .......... .......... .......... .......... .......... 2.94M
   550K .......... .......... .......... .......... .......... 4.35M
   600K .......... .........                                   3.26M=0.3s

2017-06-17 11:44:32 (1.76 MB/s) - '/tmp/crouton-cras.i9Pjq4/adhd.tar.gz' saved [634634]


いろいろやった後に、
Errors were encountered while processing:
 gir1.2-accounts-1.0:amd64
 gir1.2-dee-1.0
 gir1.2-signon-1.0
 gir1.2-unity-5.0:amd64
 unity-lens-photos
 unity-scope-calculator
 unity-scope-chromiumbookmarks
 unity-scope-colourlovers
 unity-scope-devhelp
 unity-scope-firefoxbookmarks
 unity-scope-manpages
 unity-scope-openclipart
 unity-scope-texdoc
 unity-scope-tomboy
 unity-scope-virtualbox
 unity-scope-yelp
 unity-scope-zotero
 unity-scope-gdrive
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to complete chroot setup.
Unmounting /media/removable/USB_UBUNTU/chroots/xenial...

が出て、アップデートに失敗だってよ。

その後、何度か再起動しているうちに、ChromeOS が 58から 59になった模様。

再度、インストールしてみても、Ubuntu 14.04LTS / Ubuntu 16.04LTS共に同じところでエラーになり、
インストール失敗。

あー、Windows 10 PC (モバイルPC)を購入するか。