← Back to team overview

ubuntu-phone team mailing list archive

Re: Updating using apt-get

 

thank you both so much for the detailed explaination! i'll stay away from
upgrading this way for now then.

On Friday, May 31, 2013, Sergio Schvezov wrote:

> On Thu, May 30, 2013 at 2:00 PM, Sam Bull <sam.hacking@xxxxxxxx<javascript:_e({}, 'cvml', 'sam.hacking@xxxxxxxx');>
> > wrote:
>
>> 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.
>
>
> If you see a hybris or platform-api package in the list of updates... it
> probably means an android side update is needed. These packages are dual
> homed.
>
> There are plans to solve this for when saucy is released (not switched to
> as we clarified with Oliver).
>

References