无法在 Nexus 4 上安装 Ubuntu Touch。命令“ubuntu-device-flash”挂起

无法在 Nexus 4 上安装 Ubuntu Touch。命令“ubuntu-device-flash”挂起

我遵循了这里的所有步骤: https://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/

并且所有步骤都运行正常,直到:

hmusr@hmusr:~$ ubuntu-device-flash touch --channel=ubuntu-touch/stable/ubuntu --bootstrap
2015/11/15 18:10:21 Expecting the device to be in the bootloader... waiting
2015/11/15 18:10:21 Device is |mako|
2015/11/15 18:10:21 Flashing version 24 from ubuntu-touch/stable/ubuntu channel and server https://system-image.ubuntu.com to device mako
6.29 MB / 6.29 MB [==========================================] 100.00 % 330.51 KB/s 
52.45 MB / 52.45 MB [========================================] 100.00 % 438.29 KB/s 
278.21 MB / 278.21 MB [======================================] 100.00 % 667.55 KB/s 
/home/hmusr/.cache/ubuntuimages/ubuntu-touch/stable/ubuntu/mako/version-24.tar.xz
/home/hmusr/.cache/ubuntuimages/gpg/image-signing.tar.xz
/home/hmusr/.cache/ubuntuimages/gpg/image-master.tar.xz
/home/hmusr/.cache/ubuntuimages/pool/custom-9282f1b27ad6e4c1118551162ef9f9165549ee6ab118c7461d2dcea0a39dc47e.tar.xz
/home/hmusr/.cache/ubuntuimages/pool/device-d16c1032d25d5ebfb02511d6c4513ec0582b0c8f20710128ad53369368d2e28e.tar.xz
2015/11/15 18:17:46 Start pushing /home/hmusr/.cache/ubuntuimages/ubuntu-touch/stable/ubuntu/mako/version-24.tar.xz to device
2015/11/15 18:17:46 Start pushing /home/hmusr/.cache/ubuntuimages/gpg/image-signing.tar.xz to device
2015/11/15 18:17:46 Start pushing /home/hmusr/.cache/ubuntuimages/gpg/image-master.tar.xz to device
2015/11/15 18:17:46 Start pushing /home/hmusr/.cache/ubuntuimages/pool/custom-9282f1b27ad6e4c1118551162ef9f9165549ee6ab118c7461d2dcea0a39dc47e.tar.xz to device
2015/11/15 18:17:46 Start pushing /home/hmusr/.cache/ubuntuimages/pool/device-d16c1032d25d5ebfb02511d6c4513ec0582b0c8f20710128ad53369368d2e28e.tar.xz to device
2015/11/15 18:17:46 Start pushing /home/hmusr/.cache/ubuntuimages/pool/ubuntu-933cfeb2df2c7937de7ed334797c33977f1dced25c732e98b367ed7fedce43da.tar.xz to device
2015/11/15 18:18:12 Done pushing /home/hmusr/.cache/ubuntuimages/ubuntu-touch/stable/ubuntu/mako/version-24.tar.xz to device
2015/11/15 18:18:12 Done pushing /home/hmusr/.cache/ubuntuimages/gpg/image-signing.tar.xz to device
2015/11/15 18:18:12 Done pushing /home/hmusr/.cache/ubuntuimages/gpg/image-master.tar.xz to device

上面显示的最后一行已经存在超过 12 个小时,没有任何进展。不知道该如何处理。

有谁知道解决方法吗?

答案1

您可以尝试通过以下命令清理本地缓存:“ubuntu-device-flash --cleanup-cache touch”。

此后只需重新运行 flash 命令即可。

如果这不是你第一次刷入 UbuntuTouch?那么请尝试不使用“--bootstrap”选项。

相关内容