<div dir="ltr">That doesn't sound like the right conclusion to me from this particular evidence. I'm not sure if I'm falling for the "easy semantics" dream here, but "update = remove + install" sounds really nice. (So would "update = remove + remove-all-deps + install" tho. :)<div>
<br></div><div>Robby</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 11, 2013 at 12:35 PM, Sam Tobin-Hochstadt <span dir="ltr"><<a href="mailto:samth@cs.indiana.edu" target="_blank">samth@cs.indiana.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, Nov 11, 2013 at 10:07 AM, Jay McCarthy <<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>> wrote:<br>
><br>
</div><div class="im">> Yes, that's correct. As you mention "update = remove + install", I<br>
> hope this result is predictable. Imagine, for a moment that someone<br>
> used your old markdown package with my unreleased super-secret Racket<br>
> Wiki server. Then, they decided that they wanted your blog engine too.<br>
> You wouldn't expect installing "frog" to update the markdown package.<br>
> Since "raco pkg update <x>" is literally just removing the package and<br>
> adding it again (with a tiny bit of a barrier in case the second<br>
> install fails), it works the same way.<br>
<br>
<br>
</div>Related to 'update = remove + install', when the user who's issue<br>
triggered this conversation ran using `--update-deps`, it didn't work:<br>
<div class="im"><br>
> raco pkg update --update-deps frog<br>
</div>raco pkg update: could not remove package<br>
package not currently installed<br>
current scope: user<br>
package: (markdown 0.5)<br>
currently installed:<br>
base<br>
frog<br>
parsack<br>
rackjure<br>
markdown<br>
find-parent-dir<br>
<br>
I'm not sure how this could happen, but I think it indicates that<br>
'remove + install' may be too simplistic to work in general.<br>
<span class="HOEnZb"><font color="#888888"><br>
Sam<br>
</font></span><div class="HOEnZb"><div class="h5">____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</div></div></blockquote></div><br></div>