Creating and Copying bsdpan packages across machines
anthonyv at brainlink.com
Fri Jul 13 19:12:14 UTC 2007
I have a few servers where packages are managed via a central package build
system, and the remaining machines are set to only fetch packages from
there, so they don't try to build them. This works great and saves lots of
The only issue I still have here is with bsdpan- packages which are created
by Perl CPAN modules not in the ports system. There are just a few of them,
but they are important.
What I've tried is:
1. Install module EVDB::API using:
perl -MCPAN -e "install EVDB::API"
command on the package build server
2. Generate a package out of the installed port via:
pkg_create -b bsdpan-EVDB-API-0.99
3. Copy the resulting bsdpan-EVDB-API-0.99.tbz on another machine, and try
installing it with:
What happens here is:
#> pkg_add -v bsdpan-EVDB-API-0.99.tbz
Requested space: 36140 bytes, free space: 15849822208 bytes in
extract: Package name is bsdpan-EVDB-API-0.99
extract: CWD to /
tar: /usr/local/lib/perl5/5.8.8/man/man3/EVDB::API.3: Cannot stat: No such
file or directory
tar: Error opening archive: Empty input file: Inappropriate file type or
pkg_add: extract_plist: can not invoke 101 byte tar pipeline: /usr/bin/tar
cf - /usr/local/lib/perl5/5.8.8/man/man3/EVDB\:\:API.3|/usr/bin/tar --unlink
-xpf - -C /
I haven't been able to debug it further.
What's going on here?
What else can I do to resolve this?
Thanks for your help.
More information about the freebsd-questions