in reply to PPM mis-identifying / failing to upgrade some module upgrade candidates

I see the same problem. One pattern that emerges is the following. The ppm utility comes configured with two ActiveState repositories: "ActiveState PPM2 Repository" and "Activestate Package Repository". The problem seems to lie in whether or not a given package is in one or both repositories:

This is most likely a bug in the ppm utility, as it shouldn't be finding upgradeable packages in the "Activestate Package Repository" when none are there.

As a poor workaround, if within the ppm shell you turn off the "Activestate Package Repository" using the rep off command, then, for example, CGI-Enurl would be reported as up-to-date. However, there may be packages within the "Activestate Package Repository" that are not in the "ActiveState PPM2 Repository", so doing this may result in some available packages not being found. As well, searches may be slower without the "Activestate Package Repository", as this uses a database lookup.

There's a ppm mailing list available which would be a good forum to report this (it's a low-volume list, and ActiveState developers regularly monitor it).

  • Comment on Re: PPM mis-identifying / failing to upgrade some module upgrade candidates

Replies are listed 'Best First'.
Re^2: PPM mis-identifying / failing to upgrade some module upgrade candidates
by terra incognita (Pilgrim) on Oct 14, 2005 at 16:08 UTC
    CGI-Enurl is in both repositories however one is linux and one is windows.
    ppm> s cgi-enur Searching in Active Repositories 1. CGI-Enurl [1.07] Encode strings, arrays and hashes so that they m +ay be appended to URLs as queries ppm> describe 1 ==================== Package 1: Name: CGI-Enurl Version: 1.07 Author: Jan Krynicky (=Jan Krynicky) (Jenda@Krynicky.cz) Title: CGI-Enurl Abstract: Encode strings, arrays and hashes so that they may be append +ed to URLs as queries Location: ActiveState PPM2 Repository Available Platforms: 1. MSWin32-x86-multi-thread-5.8 ==================== ppm> upgrade cgi-enurl CGI-Enurl 1.07: new version 1.07 available in ActiveState Package Repo +sitory ppm> describe cgi-enurl ==================== Name: CGI-Enurl Version: 1.07 Author: Unknown ( ) Title: CGI-Enurl Abstract: Encode strings, arrays and hashes so that they may be append +ed to URLs as queries Location: ActiveState Package Repository Available Platforms: 1. i686-linux-thread-multi-5.8 ==================== ppm>
    For some reason it appears that PPM is always checking "ActiveState Package Repository" first or giving it priority. Turning off that repository causes the correct results to be reported.
      My list of repositories in the ppm utility only includes those for MSWin32-x86-multi-thread-5.8, which is why I don't find a CGI-Enurl package in the "ActiveState Package Repository" repository.