[Cuis-dev] handling message "There is a newer version that currently loaded"
Mark Volkmann
r.mark.volkmann at gmail.com
Thu Oct 31 15:18:14 PDT 2024
Thanks so much for explaining that! Would it be a bad idea for "Install New
Updates" to do that automatically? It seems like if you already have
packages installed and you have asked to install new updates, you would
want those packages to be updated as well.
On Thu, Oct 31, 2024 at 1:44 PM Mariano Montone via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
>
> El 31/10/24 a las 13:21, Mark Volkmann via Cuis-dev escribió:
>
> On Mon, Oct 28, 2024 at 7:53 PM Juan Vuletich <juan at cuis.st> wrote:
>
>> Hi Mark,
>>
>> On 10/28/2024 7:54 PM, Mark Volkmann via Cuis-dev wrote:
>>
>> 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."
>>
>> 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?
>>
>>
>> No, just reinstall it. That's all.
>>
>
> 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.
>
> 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.
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
--
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241031/20c43651/attachment.htm>
More information about the Cuis-dev
mailing list