13

When I open up ppm, the UI shows me several upgradable packages. Unfortunately, I cannot select them all by typing Ctrla or clicking the first element, holding Shift and then select the last element in the list.

Do I really have to walk through all elements and press the + key in order to select them? Refusing to believe that.

Mark Setchell
  • 191,897
  • 31
  • 273
  • 432
eckes
  • 64,417
  • 29
  • 168
  • 201

1 Answers1

22

You can do it from the command line.

C:\>ppm upgrade --install

This will upgrade all packages without asking. There's something about it in the Activestate online doc.

simbabque
  • 53,749
  • 8
  • 73
  • 136
  • 1
    It is now doing that for me for like 60 packages, which I wasn't really sure I wanted to upgrade. But it works. :) – simbabque Jul 13 '12 at 08:12
  • It's still running... I wonder if this is going to break anything for me. :D Good thing is, I only use the Windows Perl installation for quick testing of scrap code. – simbabque Jul 13 '12 at 08:18
  • I just upgraded my ActiveState installation and can confirm that it **will** terminate after upgrading :-) – eckes Jul 13 '12 at 08:51
  • It finally did, but took some time. Now I only need to find out how to update the actual Active Perl installation from 5.12 to 5.14. – simbabque Jul 13 '12 at 09:32
  • 2
    if you're not sure whether to upgrade or not: I guess you could get a list of upgradable packages using only `ppm upgrade`. If you pipe that into a file and select those you want to install, I assume you could do a `ppm upgrade ` after editing the file and feeding each line as ``... – eckes Jul 13 '12 at 14:39
  • 1
    Works well but be warned, it can take over an hour to complete. – Matthew Lock May 22 '14 at 02:24
  • 2
    @MatthewLock It's much faster if you disable HTML generation (see http://www.perlmonks.org/?node_id=758733 ) – Hosam Aly Aug 01 '15 at 19:56