I was testing a few snaps on 14.04 today and had some quirky behaviour I’d not seen before.
I installed brave on 14.04 under VirtualBox 5.2 with snap install brave --beta. On first launch it fell over with a bizarre chromium error I sadly didn’t capture. I thought I’d update everything (virtualbox extensions, apt updates etc) and try again. When I rebooted, brave was now ‘broken’ such that I got “internal error, please report” that brave snap was not found. Never seen that before and didn’t know where it came from.
Snap info show the snap is indeed broken.
alan@alan-VirtualBox:~$ snap info brave
name: brave
summary: Browse faster and safer with Brave.
publisher: brave
description: |
The new Brave browser automatically blocks ads and trackers, making it
faster and safer than your current browser. Start supporting publishers
today with our new Brave Payments system.
snap-id: uE3hSmGE91m9MpbDEnUWi2vpeumH6gmv
commands:
- brave
tracking: edge
installed: (8) 0B broken
refreshed: 2017-11-10 12:23:30.05401 +0000 UTC
channels:
stable: –
candidate: –
beta: v0.19.66dev (8) 162MB -
edge: v0.19.66dev (8) 162MB -
I refreshed to try and ‘fix’ it. (surely it shouldn’t get in this state?)
alan@alan-VirtualBox:~$ snap info brave
name: brave
summary: Browse faster and safer with Brave.
publisher: brave
description: |
The new Brave browser automatically blocks ads and trackers, making it
faster and safer than your current browser. Start supporting publishers
today with our new Brave Payments system.
snap-id: uE3hSmGE91m9MpbDEnUWi2vpeumH6gmv
commands:
- brave
tracking: edge
installed: (8) 0B broken
refreshed: 2017-11-10 12:23:30.05401 +0000 UTC
channels:
stable: –
candidate: –
beta: v0.19.66dev (8) 162MB -
edge: v0.19.66dev (8) 162MB -
Still broken.
So I reinstalled.
alan@alan-VirtualBox:~$ snap remove brave
brave removed
alan@alan-VirtualBox:~$ snap install brave --beta
brave (beta) v0.19.66dev from 'brave' installed
alan@alan-VirtualBox:~$ snap changes
ID Status Spawn Ready Summary
30 Done 2017-11-10T12:15:13Z 2017-11-10T12:17:20Z Install "nextcloud" snap
31 Done 2017-11-10T12:15:14Z 2017-11-10T12:17:00Z Auto-refresh 6 snaps
32 Done 2017-11-10T12:23:03Z 2017-11-10T12:23:32Z Install "brave" snap from "edge" channel
33 Done 2017-11-10T12:24:06Z 2017-11-10T12:24:39Z Install "pycharm-community" snap
34 Done 2017-11-10T12:27:23Z 2017-11-10T12:27:33Z Install "snapcraft" snap from "edge" channel
35 Done 2017-11-10T12:55:32Z 2017-11-10T12:55:32Z Refresh "brave" snap from "beta" channel
36 Done 2017-11-10T12:55:55Z 2017-11-10T12:55:56Z Remove "brave" snap
37 Done 2017-11-10T12:56:06Z 2017-11-10T12:56:34Z Install "brave" snap from "beta" channel
Now it’s installed, but I get a new and interesting error.
alan@alan-VirtualBox:~$ brave
cannot perform operation: mount --rbind /dev /tmp/snap.rootfs_JHMoLN//dev: No such file or directory
Wat.