← Back to team overview

ubuntu-phone team mailing list archive

Re: Updating using apt-get

 

On Fri, 2013-05-31 at 00:07 +0800, Ricky Chan wrote:
> I tried to sudo apt-get update and upgrade inside the ubuntu_chroot
> session. After reboot the screen was lit but in black with adb
> working.

That generally works for me, with 2 caveats. Looking at the daily
changelog, apt-get upgrade doesn't always remove the packages that have
been removed from the daily build. This shouldn't cause any problems
though, just wastes space.

Second, and this may cause issues, it seems that if the dependencies on
a package change, then apt-get upgrade doesn't update those packages.
You can apt-get install these packages, which will update it to the
latest version and grab the new dependencies.

Failing to install the packages which apt-get upgrade keeps behind
(which it will warn you about), could result in some packages being
updated and others not. If those packages work together, you might end
up with a non-functioning system.

Whether that is what caused your problem or not, I don't know. If you
can still access the CLI, then run apt-get upgrade again, and check for
any 'kept behind' packages, and apt-get install them.

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References