Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^4: What is the format of a .packlist file for a PPM repository?

by LittleGreyCat (Scribe)
on Oct 21, 2007 at 17:56 UTC ( #646283=note: print w/replies, xml ) Need Help??

in reply to Re^3: What is the format of a .packlist file for a PPM repository?
in thread What is the format of a .packlist file for a PPM repository?

"The messages from ppm are perhaps misleading; ppm is looking for either a package.lst or a package.xml file, not a literal "packlist" file. If it doesn't find either of these summary files, it will fetch and parse the ppd files within this directory, if there are any. The summary files are just there to save ppm downloading and parsing individual ppd files. Try making a local repository and populating it with some ppd files, and the corresponding .tar.gz or .zip archives referenced in the CODEBASE element, and see if that works."

This is what is confusing me.
I have a fully populated local PPM repository which works fine with the command line version of 'ppm' (in my 817 install).
When I point the 822 GUI at the same repository it does not appear to find anything to add to the list of packages waiting to be installed.

I may not be driving the GUI correctly but I expected all the packages in the PPM repository to be shown in the list of packages available to be installed.

Is it perhaps like the command line 'ppm' where you have to search on key words before anything appears?

Nothing succeeds like a budgie with no teeth.
  • Comment on Re^4: What is the format of a .packlist file for a PPM repository?

Replies are listed 'Best First'.
Re^5: What is the format of a .packlist file for a PPM repository?
by LittleGreyCat (Scribe) on Oct 21, 2007 at 21:51 UTC
    Quick follow up:

    I installed 5.8.8 822 on a clean (XP) system connected to the Internet and ran the PPM GUI

    I was presented with a long list of packages available - 6949 - and the names.

    As a test I installed perl-ldap and this seemed to go O.K.

    I then added my local PPM repository (across a LAN) and disabled the default PPM repository.

    Although PPM spent a long time reading the repository across the LAN at the end it did not list any packages available.

    So it seems that I am not mis-understanding the GUI; when connected across the Internet to the default PPM repository I get the expected results. When connected to my local PPM repository there are indications that PPM has searched the repository and is aware of what is in it. It just doesn't seem to list them in the 'All Packages' area nor in the summary line at the bottom.

    Nothing succeeds like a budgie with no teeth.
      Adding a local repository in 822 works OK for me with the GUI. Might there be some firewall, proxy, or permission issues?
        Does your local repository have the packaging summary files?

        In my current local repository all I have is a directory with 'ppd' files and below that a directory with the zipped code

        This works with the old version of command line 'ppm' but so far I haven't been able to get the new version to work with it as it stands.

        When I get back on it I plan to use your helpful information about building the packaging files and see if this solves the problem.

        Bottom line - my old repository has stopped working with the new 'ppm'. I think I see how to fix it but I am still undecided if this is a 'BUG' or a 'FEATURE' :-)

        Nothing succeeds like a budgie with no teeth.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://646283]
[erix]: then you might as well send that patch to the DBIC guys :)
[Corion]: erix: Yeah, I just found that it has no documentation at all on how to circumvent/ eliminate "1+n SELECTs" by building a local hash... I guess I have to make ->has_many do the hash lookup instead of doing the SQL query. But as the problem ...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-09-25 11:04 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (279 votes). Check out past polls.