Reputation: 2209
$ 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?
Upvotes: 1
Views: 324
Reputation: 2209
The problem seemed to be the mrt migrate-app
script, which was a convenient way to upgrade... but apparently left some cruft around.
cmather:iron-router
when it should be iron:router
and more like that... (wish there was some way to filter/vote/identify "good" packages)@2.0.0
and those were holding up the update... so list
says "there are updates available" but update
doesn't get them... <-- answerremove 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
Upvotes: 6