Uninstalling packages

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

Uninstalling packages

Chris Uppal-3
seems to have become remarkably slow.  The following script:

------------------------------
#(
    'EnumRECT' 'COM Random Stream' 'Simple Web Browser'
    'ColorPickerApplet' 'Hello World Applet' 'Calculator (Console)'
    'Catenate' 'Hello World (Console)' 'Autoplay'
    'Bouncing Balls' 'Calculator' 'Etch-a-Sketch'
    'Hello World' 'Notepad' 'PersonalMoney'
    'Playground' 'RegEdit' 'Protected Scribble'
    'Scribble' 'Video Library' 'AvatarChat'
    'Chat'
) do: [:each || package |
    package := PackageManager current packageNamed: each ifNone: [nil].
    package isNil ifFalse: [PackageManager current uninstall: package]].

------------------------------

took 2 minutes 15 to execute on this machine, which seems excessive for
removing just 22 packages.  It even takes longer to run that script than the
equvalent done interactively (with all the confirmation dialogs, button
clicking, screen refreshing, etc) did under beta 2.

BTW, "Development  System" seems to have "RBFormatters" as a prerequisite
now.  I'm not sure that's wrong but it seems a bit suspect.

Also the RB packages don't uninstall cleanly -- prompts that (from memory)
RBChanges has one instance, and one other class too.

    -- chris


Reply | Threaded
Open this post in threaded view
|

Re: Uninstalling packages

Chris Uppal-3
[Me again...]

> Also the RB packages don't uninstall cleanly -- prompts that (from memory)
> RBChanges has one instance, and one other class too.

Sorry about the lack of clarity.  The actual errors were:

    Error: DolphinAddMethodChange has 1 instances
    Error: CompositeRefactoryChange has 1 instances
    -- chris