无法用sudo apt-get upgrade更新

笔记本/便携移动设备,手机平板等软硬件
回复
plasma2006
帖子: 466
注册时间: 2006-10-19 9:17

无法用sudo apt-get upgrade更新

#1

帖子 plasma2006 » 2015-08-18 8:23

在使用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个小时电池就没电了。

请大家帮助处理。
谢谢。
plasma2006
帖子: 466
注册时间: 2006-10-19 9:17

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

#2

帖子 plasma2006 » 2015-08-18 11:47

等待高手。。。
plasma2006
帖子: 466
注册时间: 2006-10-19 9:17

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

#3

帖子 plasma2006 » 2015-08-18 17:23

终于弄的启动不了了。
只能刷机了,怎么刷?
求教程。。。
plasma2006
帖子: 466
注册时间: 2006-10-19 9:17

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

#4

帖子 plasma2006 » 2015-08-18 17:45

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

不知道这个教程能否成功。。。。。。。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

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

#5

帖子 poloshiao » 2015-08-19 7:59

只能刷机了,怎么刷?
手機還是平板 ?
請提供詳細 硬件品牌與型號
請提供 已安裝作業系統與版本
沒有這些資訊 亂給你建議 恐怕讓你白忙
plasma2006
帖子: 466
注册时间: 2006-10-19 9:17

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

#6

帖子 plasma2006 » 2015-08-19 8:10

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

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