Link to home
Start Free TrialLog in
Avatar of raza
razaFlag for United States of America

asked on

pkgadd -d /path



I get the following error message when I run pkgadd -d /path

pkgadd: error : no pkages were found.....


If I specifiy a file name like pkgadd -d /path/mypakagename1.local in this command then it works.

I have a list of packages that I woud like to have it install by runing one command.
Avatar of yuzh
yuzh

you can do:

cd /path-to/
for pkg in * ; do
    pkgadd -d $pkg
done

or use a text file to put the package list in the file:
eg:
pkg1
pkg2

then do:
for pkg in `cat mylist`
   pkgadd -d $pkg
done
   
Avatar of raza

ASKER

This will work if I just neeh to untar or anything else like that.

when you run pkgadd -d command it ask you if I need to install all package or select a number.

I thought it should read all the package from the  directory and then allow me to select all or one.
ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
try pkgadd -d .
while in the dir with all the pkg's that is
Avatar of raza

ASKER


I already tried this command but it did not find any package. but if specify a file like pkgadd -d filename then it works.


No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: yuzh

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

-XoF-
EE Cleanup Volunteer