MediaTek-Labs / linkit-smart-7688-feed

190 stars 152 forks source link

update ubuntu package first. #19

Closed appleboy closed 1 year ago

blogic commented 8 years ago

why is an upgrade required ? aptitude will automatically upgrade required dependencies.

appleboy commented 8 years ago

I create 14.04 environment using docker file and I will get some errors if I don't run upgrade command.

blogic commented 8 years ago

ok, that is a bug in your docker file i would guess and not the lks instructions. the upgrade effect all packages installed on your 14.04 installation and not only those required for CC. can you show us the error that this is supposed to fix ?

appleboy commented 8 years ago

I try to start the compilation process using docker. The following steps are docker commands.

$ docker pull ubuntu:14.04.3
$ docker run -ti --name test ubuntu:14.04.3 /bin/bash

then run the step 1 to install dependency packages.

$ apt-get install git g++ make libncurses5-dev subversion libssl-dev gawk libxml-parser-perl unzip wget python xz-utils

got the following errors

screen shot 2016-04-17 at 11 51 18 pm

How to fix? Run the following command to update all packages first.

$ apt-get update && apt-get upgrade

Thanks

blogic commented 8 years ago

apt-get update should be enough. calling upgrade will upgrade unrelated packages and cause side effects. please retry with only the update call.

appleboy commented 8 years ago

@blogic You are right. I updated commit.

appleboy commented 8 years ago

@blogic any updates?

blogic commented 8 years ago

not yet, i need to rebase your patches to fold them into one and i was busy testing a wifi driver update.

appleboy commented 8 years ago

@blogic I got it. Thanks for your contribution.