<div dir="auto">Yes, perhaps it could show an error if the package defines methods in base clases or classes of other packages, otherwise it could lead to inconsistencies.</div><div dir="auto"><br></div><div dir="auto">Also, if the newer version on disk has fewer methods/classes than the installed version, or if some classes have been renamed, does it work as expected? I never tried it, I got used to starting from a fresh image.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 10 Mar 2022 at 7:02 PM Mariano Montone via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">El 10/3/22 a las 03:26, Luciano Notarfrancesco via Cuis-dev escribió:<br>
> Is it actually possible to load a different version of a package that is <br>
> already installed? Sounds quite nontrivial, same as uninstalling a <br>
> package. For example what happens if an installed package implements <br>
> Object>>#printOn: but the new version doesn’t?<br>
<br>
You are right. In that case the reload won't work. The method is not <br>
restored with the previous version in the image.<br>
<br>
Not to mention that a package could run arbitrary<br>
> code on loading, I have no idea how to reverse that.<br>
<br>
No way to reverse that. But I think not a big deal for most of the <br>
packages, either there's no initialization or the package is initialized <br>
again.<br>
<br>
The reload has exactly the same effect as selecting the package file in <br>
the Files tool, and using the Install button.<br>
<br>
This occurred to me because after a system update, Cuis was warning me <br>
that some of my packages versions on disk didn't match what was in the <br>
image. But didn't provide a way of reloading. I had to manually find the <br>
location of the packages on disk, and install them again. It actually <br>
worked for my packages, but you are right that it cannot be guaranteed <br>
it will work for all.<br>
<br>
Mariano<br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>