Cannot enable developer mode on read-only image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu |
Fix Released
|
Critical
|
Juhapekka Piiroinen | ||
lxc-android-config (Ubuntu) |
Fix Released
|
High
|
Oliver Grawert | ||
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-touch-meta (Ubuntu) |
Fix Released
|
High
|
Oliver Grawert |
Bug Description
Using the read-only image we currently cannot enable developer mode in QtCreator / Ubuntu SDK.
"E: Unable to write to /var/cache/apt/"
phablet-flash ubuntu-system --no-backup
Open SDK
Click "Enable developer mode"
Detecting device..
/usr/share/
List of devices attached
0071ae7610994b1d device usb:2-1.5 product:occam model:Nexus_4 device:mako
Check device image version..
/usr/share/
* found 1 devices.
Check device image version..
..device version detected.
Check if the device is connected to a network..
/usr/share/
/usr/share/
1
Detecting if openssh-server is installed..
/usr/share/
(none)
..openssh-server was not installed.
Installing openssh-server..
/usr/share/
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
..openssh-server was installed.
Detecting if openssh-server is installed..
/usr/share/
(none)
..openssh-server was not installed.
Related branches
affects: | ubuntu-qtcreator-plugins → qtcreator-plugin-ubuntu |
Changed in qtcreator-plugin-ubuntu: | |
status: | Fix Committed → Fix Released |
It is indeed critical issue. We have two options:
1. get the openssh-server installed by default on the image so the development mode enabling would need to exchange the autehtication keys
2. touch the /userdata/ .writable_ image file on the RO system, reboot, install the openssh-server, remove the /userdata/ .writable_ image file and reboot