Open tabarr opened 9 years ago
yotta update
will only update things so that they still match the version specifications in the modules that depend on them (http://yottadocs.mbed.com/reference/module.html#dependencies)
you can use yotta ls -a
to see which modules are imposing version requirements on other modules, it's hard to see what's causing your problems above without yt ls -a
output, but probably some of your dependencies are holding other ones back.
Also note that you have atmel-rf-driver linked: yotta won't modify your linked module, so to update that one you will need to do a git pull
to update your linked copy.
Examples from above:
Called "yt update" and see this action taken info: download mbed-client-c@1.1.1 from the public module registry
But "yt ls" result after is : | |_ mbed-client-c 1.0.6 >=1.1.0,<2.0.0 yotta_modules\mbed-client-c
So supposedly mbed-client-c version was updated to 1.1.1 by "yt update" but "yt ls" still reports 1.0.6
I then delete mbed-client-c from yotta-modules directory and run "yt ls"
| |_ mbed-client-c ^1.1.0 missing
Then run "yt update" and "yt ls" again and see this
| |_ mbed-client-c 1.1.1 yotta_modules\mbed-client-c
Basically, what I am seeing is that some modules are not being update properly unless I remove them completely.
Thanks – it looks like you have some linked modules which depend on the module in question, so I think this is related to #318
I run "yt ls" and see version mismatches in my project (due to the 1.0.0 reversioning). I then run "yt update" and see updates being downloaded. But when I run "yt ls" again, I still see version mismatches. The only way I can get a new version to update properly is to delete the module directory. The "yt ls" shows the module being missing and "yt update" successfully downloads and installs the new module.
(Deleted uvisor-lib, sal, and mbed-6lowpan-eventloop-adaptor)
sal-iface-lwip-k64-eth still missing but is reported in another issue atmel-rf-driver mismatch I assume needs to be corrected as part of the reversioning to 1.0.0 process.