$ meteor list
...
* New versions of these packages are available! Run 'meteor update' to update.
$ meteor update
Figuring out the best package versions to use. This may take a moment.
This project is at the latest release which is compatible with your
current package constraints.
See the simplified version below:
It seems like there's a "conflict" between the list command which is saying there are updates available, and the update command which can not find any... how can this happen?
The problem seemed to be the mrt migrate-app script, which was a convenient way to upgrade... but apparently left some cruft around.
problems
- some of the packages were guessed a bit wrong... with
cmather:iron-routerwhen it should beiron:routerand more like that... (wish there was some way to filter/vote/identify "good" packages) - some of the packages were added with version suffixes like
@2.0.0and those were holding up the update... solistsays "there are updates available" butupdatedoesn't get them... <-- answer
solution
remove all packages, update, add them all back, without the version suffix...
pretty easy to do now that they are all single lines in the .meteor/packages file:
sed -e 's/^[a-zA-Z0-9]/meteor remove &/' .meteor/packages | sed 's/\@[0-9\.]*//g' > packages-rm.sh
sed -e 's/ remove / add /' packages-rm.sh > packages-add.sh
bash packages-rm.sh
meteor list # should be empty
meteor update
bash packages-add.sh
meteor list
来源:https://stackoverflow.com/questions/25735863/meteor-0-9-list-shows-new-versions-of-these-packages-are-available-but-upda