Solved

Using PPM with a local repository...

Posted on 2004-09-09
8
522 Views
Last Modified: 2012-08-13
I have a machine that I need to install Archinve-Zip module on.  I have created a local repositiory pointed to the directory I have placed the uncompressed files in. When I search, PPM finds nothing.  What am I doing wrong.

Peace,

David
0
Comment
Question by:dfr031260
8 Comments
 
LVL 18

Expert Comment

by:kandura
ID: 12019055
I don't think ppm can deal with plain zip files, or even unpacked archives.
Do you have the associated ppd file alon with the zip archive? if so, you could do

    ppm install path/to/your/Archive-Zip.ppd

I believe ppd stands for Perl Package Description, so that should make it clear why you'd need one.
0
 
LVL 69

Expert Comment

by:Callandor
ID: 12019184
In PPM,

rep add AZRepository file://c:/mylocalrepository

Now you should be able to install.  If that doesn't work, you may need to move the repository up in the search order:

rep up n (where n = number of AZRepository)

repeat until AZRepository is at 1
0
 
LVL 9

Expert Comment

by:ronan_40060
ID: 12019816
well create a something like C:\foo
and run ppm and then type
"ppm> repository set C:\foo"
put all ur packages there
Ronan
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:dfr031260
ID: 12020730
ppm install c:\Utility\Archive-Zip.ppd

is not working...

Gets the following error message:
Installing package 'c:\Utility\Archive-Zip.ppd'...
Error installing package 'c:\Utility\Archive-Zip.ppd': Could not locate a PPD file for package c:\Utility\Archive-Zip.ppd

my ppd looks like:
<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="Archive-Zip" VERSION="1,13,0,0">
  <IMPLEMENTATION>
    <CODEBASE HREF="sun4-solaris-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="sun4-solaris-thread-multi" />
    <OS NAME="solaris" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="PA-RISC1.1-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="PA-RISC1.1-thread-multi" />
    <OS NAME="hpux" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="MSWin32-x86-multi-thread/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
    <OS NAME="MSWin32" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="i686-linux-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="i686-linux-thread-multi" />
    <OS NAME="linux" />
  </IMPLEMENTATION>
  <ABSTRACT>Provide an interface to ZIP archive files.</ABSTRACT>
  <AUTHOR>Ned Konz (nedkonz@cpan.org)</AUTHOR>
  <TITLE>Archive-Zip</TITLE>
</SOFTPKG>

What is up with this?
0
 
LVL 18

Expert Comment

by:kandura
ID: 12021270
I found some instructions here: http://www.anaesthetist.com/mnm/perl/ppmlocal.htm
Hope that helps...
0
 

Author Comment

by:dfr031260
ID: 12021505
This worked as my ppd:

<?xml version="1.0" encoding="UTF-8"?>
<SOFTPKG NAME="Archive-Zip" VERSION="1,13,0,0">
  <IMPLEMENTATION>
    <CODEBASE HREF="sun4-solaris-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="sun4-solaris-thread-multi" />
    <OS NAME="solaris" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="PA-RISC1.1-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="PA-RISC1.1-thread-multi" />
    <OS NAME="hpux" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
        <CODEBASE HREF="file:///c|/MSWin32-x86-multi-thread/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="MSWin32-x86-multi-thread" />
    <OS NAME="MSWin32" />
  </IMPLEMENTATION>
  <IMPLEMENTATION>
    <CODEBASE HREF="i686-linux-thread-multi/Archive-Zip-1.13.tar.gz" />
    <ARCHITECTURE NAME="i686-linux-thread-multi" />
    <OS NAME="linux" />
  </IMPLEMENTATION>
  <ABSTRACT>Provide an interface to ZIP archive files.</ABSTRACT>
  <AUTHOR>Ned Konz (nedkonz@cpan.org)</AUTHOR>
  <TITLE>Archive-Zip</TITLE>
</SOFTPKG>

I then loaded the module with this statement from the directory where the .ppd file was located:

ppm install Archive-Zip.ppd

What a pain in the butt, but it works.

Thanks all

Peace,

David
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12375804
PAQed, with points refunded (125)

Computer101
E-E Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now