分页: 1 / 1

无法用sudo apt-get upgrade更新

发表于 : 2015-08-18 8:23
plasma2006
在使用sudo apt-get upgrade的时,出现
dpkg:在处理powerd的时,无法安装/usr/share/device_configs/config-default.xml:device or resource busy.
在处理时有错误发生:
powerd
E:sub-process /usr/bin/dpkg returned an error code(1)

更新了一点,导致屏幕亮度不再随环境变化,而且待机屏幕还有微亮。待机2、3个小时电池就没电了。

请大家帮助处理。
谢谢。

Re: 无法用sudo apt-get upgrade更新

发表于 : 2015-08-18 11:47
plasma2006
等待高手。。。

Re: 无法用sudo apt-get upgrade更新

发表于 : 2015-08-18 17:23
plasma2006
终于弄的启动不了了。
只能刷机了,怎么刷?
求教程。。。

Re: 无法用sudo apt-get upgrade更新

发表于 : 2015-08-18 17:45
plasma2006
For production Ubuntu Phone devices, adb has been disabled in recovery, and this affects ubuntu-device-flash operation.

You must supply a recovery image with adb enabled, which ubuntu-device-flash will use temporarily while doing its work:

For BQ Aquaris E4.5 Ubuntu Edition (aka krillin), use recovery-krillin.img
For BQ Aquaris E5 Ubuntu Edition (aka vegetahd), use recovery-vegetahd.img

ubuntu-device-flash can then be supplied with the --recovery-image argument, eg:

ubuntu-device-flash touch --channel ubuntu-touch/stable/bq-aquaris.en --bootstrap --recovery-image path/to/downloaded/recovery.img

Note that when the command prompts you with:

Expecting the device to be in the bootloader... waiting

You can put a Aquaris E4.5 and Aquaris E5 in the 'bootloader' by holding down Power + Volume Up for a few seconds, releasing the Power button when the red LED lights as the machine reboots, and then selecting 'fastboot' from the device's boot menu.
unknown flag `recovery-image'

If you get this error, that means you are still using an older version of ubuntu-device-flash. Please install the latest version using the ppa

sudo add-apt-repository ppa:phablet-team/tools
sudo apt-get update; sudo apt-get upgrade

不知道这个教程能否成功。。。。。。。

Re: 无法用sudo apt-get upgrade更新

发表于 : 2015-08-19 7:59
poloshiao
只能刷机了,怎么刷?
手機還是平板 ?
請提供詳細 硬件品牌與型號
請提供 已安裝作業系統與版本
沒有這些資訊 亂給你建議 恐怕讓你白忙

Re: 无法用sudo apt-get upgrade更新

发表于 : 2015-08-19 8:10
plasma2006
poloshiao 写了:
只能刷机了,怎么刷?
手機還是平板 ?
請提供詳細 硬件品牌與型號
請提供 已安裝作業系統與版本
沒有這些資訊 亂給你建議 恐怕讓你白忙

哈哈,谢谢仁兄。
我的是BQ E4.5。
按上面教程已刷好。