Struggling with Update Maps

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Struggling with Update Maps

marcel.taeumel
Hey, there.

"update-mt.389.mcm" removes "311Deprecated".
"update-mt.390.mcm" removes "SmallLand".

This seems to work fine in a foreign, updated image. In the the that created those update maps, however, those packages seem to return on update. :-/ I suspect that there is some kind of bug when processing the update maps...

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: Struggling with Update Maps

marcel.taeumel
marcel.taeumel wrote
Hey, there.

"update-mt.389.mcm" removes "311Deprecated".
"update-mt.390.mcm" removes "SmallLand".

This seems to work fine in a foreign, updated image. In the the that created those update maps, however, those packages seem to return on update. :-/ I suspect that there is some kind of bug when processing the update maps...

Best,
Marcel
Here is a thought:
- The system seems to remember that the latest update config was "update-mt.387.mcm"
- It starts processing "update-mt.388.mcm" (although I did create and upload it) loading "311Deprecated" and "SmallLand" again.
- It starts processing "update-mt.389.mcm" (although I did create and upload it) not finding "311Deprecated"
there.
- It starts processing "update-mt.390.mcm" (although I did create and upload it) not finding "SmallLand" there.

However, the #postLoad scripts in SqueakVersion where not executed again and hence I end up having "311Deprecated" and "SmallLand" in the image again. :-/

I see two ways to fix this:
- If I create a new update config, remember that for the next update in the image.
- Re-execute that post-load scripts again if possible

I prefer the first alternative.

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: Struggling with Update Maps

marcel.taeumel
marcel.taeumel wrote
marcel.taeumel wrote
Hey, there.

"update-mt.389.mcm" removes "311Deprecated".
"update-mt.390.mcm" removes "SmallLand".

This seems to work fine in a foreign, updated image. In the the that created those update maps, however, those packages seem to return on update. :-/ I suspect that there is some kind of bug when processing the update maps...

Best,
Marcel
Here is a thought:
- The system seems to remember that the latest update config was "update-mt.387.mcm"
- It starts processing "update-mt.388.mcm" (although I did create and upload it) loading "311Deprecated" and "SmallLand" again.
- It starts processing "update-mt.389.mcm" (although I did create and upload it) not finding "311Deprecated"
there.
- It starts processing "update-mt.390.mcm" (although I did create and upload it) not finding "SmallLand" there.

However, the #postLoad scripts in SqueakVersion where not executed again and hence I end up having "311Deprecated" and "SmallLand" in the image again. :-/

I see two ways to fix this:
- If I create a new update config, remember that for the next update in the image.
- Re-execute that post-load scripts again if possible

I prefer the first alternative.

Best,
Marcel
Could this work: http://forum.world.st/The-Inbox-MonticelloConfigurations-mt-146-mcz-tp4912486.html ?

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: Struggling with Update Maps

Bert Freudenberg
In reply to this post by marcel.taeumel
On Wed, Aug 24, 2016 at 2:16 PM, marcel.taeumel <[hidden email]> wrote:
marcel.taeumel wrote
> Hey, there.
>
> "update-mt.389.mcm" removes "311Deprecated".
> "update-mt.390.mcm" removes "SmallLand".
>
> This seems to work fine in a foreign, updated image. In the the that
> created those update maps, however, those packages seem to return on
> update. :-/ I suspect that there is some kind of bug when processing the
> update maps...
>
> Best,
> Marcel

Here is a thought:
- The system seems to remember that the latest update config was
"update-mt.387.mcm"
- It starts processing "update-mt.388.mcm" (although I did create and upload
it) loading "311Deprecated" and "SmallLand" again.
- It starts processing "update-mt.389.mcm" (although I did create and upload
it) not finding "311Deprecated"
there.
- It starts processing "update-mt.390.mcm" (although I did create and upload
it) not finding "SmallLand" there.

However, the #postLoad scripts in SqueakVersion where not executed again and
hence I end up having "311Deprecated" and "SmallLand" in the image again.
:-/

I see two ways to fix this:
- If I create a new update config, remember that for the next update in the
image.
- Re-execute that post-load scripts again if possible

I prefer the first alternative.

Third alternative: delete the packages manually. 

I would not like my image to be set to any update map I publish. We occasionally have to fix an older update map to work around update problems. This happens way more often than the problem of removing a package from the update map. Actually, what I would do is publishing the update map and *not* saving my image but restarting it to test that everything works.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Struggling with Update Maps

marcel.taeumel
Bert Freudenberg wrote
On Wed, Aug 24, 2016 at 2:16 PM, marcel.taeumel <[hidden email]>
wrote:

> marcel.taeumel wrote
> > Hey, there.
> >
> > "update-mt.389.mcm" removes "311Deprecated".
> > "update-mt.390.mcm" removes "SmallLand".
> >
> > This seems to work fine in a foreign, updated image. In the the that
> > created those update maps, however, those packages seem to return on
> > update. :-/ I suspect that there is some kind of bug when processing the
> > update maps...
> >
> > Best,
> > Marcel
>
> Here is a thought:
> - The system seems to remember that the latest update config was
> "update-mt.387.mcm"
> - It starts processing "update-mt.388.mcm" (although I did create and
> upload
> it) loading "311Deprecated" and "SmallLand" again.
> - It starts processing "update-mt.389.mcm" (although I did create and
> upload
> it) not finding "311Deprecated"
> there.
> - It starts processing "update-mt.390.mcm" (although I did create and
> upload
> it) not finding "SmallLand" there.
>
> However, the #postLoad scripts in SqueakVersion where not executed again
> and
> hence I end up having "311Deprecated" and "SmallLand" in the image again.
> :-/
>
> I see two ways to fix this:
> - If I create a new update config, remember that for the next update in the
> image.
> - Re-execute that post-load scripts again if possible
>
> I prefer the first alternative.


Third alternative: delete the packages manually.

I would not like my image to be set to any update map I publish. We
occasionally have to fix an older update map to work around update
problems. This happens way more often than the problem of removing a
package from the update map. Actually, what I would do is publishing the
update map and *not* saving my image but restarting it to test that
everything works.

- Bert -
Hi Bert,

I did that some time ago until that "accidential" save happened too often. Now I have a seprate try-out image.

Still, there is this inconsistency with the execution of postLoad-Scripts and the processing of update maps at the moment.

Best,
Marcel