<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">El 31/10/24 a las 13:21, Mark Volkmann
via Cuis-dev escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAFfRWnVU-L8Uyj2r=58Kqx1HnkMb0s7vsjvGCnCdtMC0WA9fkw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">On Mon, Oct 28, 2024 at 7:53 PM Juan Vuletich
<<a href="mailto:juan@cuis.st" moz-do-not-send="true"
class="moz-txt-link-freetext">juan@cuis.st</a>> wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div bgcolor="#ffffff"> Hi Mark,<br>
<br>
On 10/28/2024 7:54 PM, Mark Volkmann via Cuis-dev wrote:
<blockquote type="cite">
<div dir="ltr">When installing updates made in the
Cuis-Smalltalk-Dev repository, it sometimes outputs
messages in the Transcript that say "Package:
SomeName. There is a newer version than the currently
loaded."
<div><br>
</div>
<div>It seems that I need to open an "Installed
Packages" window, delete the package, and then
reinstall it with "Feature require: SomeName". Is it
correct that I must delete the package before I can
install an updated version?</div>
</div>
</blockquote>
<br>
No, just reinstall it. That's all.</div>
</blockquote>
<div><br>
</div>
<div>This doesn't match the behavior I am seeing. For example,
after selecting "Changes ... Install New Updates", I got a
message in the Transcript that said "Package ODBC. There is
a newer version than currently loaded". So I evaluated
"Feature require: 'ODBC'" in a workspace and it seems
nothing happened. Then I deleted the package from an
"Installed Packages" window and reevaluated the "Feature
require:". That gave me the updates.</div>
</div>
</div>
</blockquote>
<p>Feature require does not do a package install if the some version
of the package is already loaded. Feature require checks if the
feature is already present, if not, looks for a package and
installs it, and registers it as "feature". When evaluated a
second time, the feature is already present, so there's no package
install to perform. If you want to refresh a package you need to
explicitly install it from its file. No need to delete it first,
just install the package again from its file.<br>
</p>
</body>
</html>