|
From: Chris W. <ch...@cw...> - 2003-03-24 16:18:49
|
joseph speigle wrote:
> I feel sorry to have bothered on this one. I'm working on just reinstalling it.
> I'm trying to track down the problem in /usr/lib/perl5/site_perl/5.8.0/OpenInteract/PackageRepository.pm. It is saying after oi_manage --base_dir=/usr/local/openinteract/ --website_dir=/var/oi --package pkg_autoindex apply_package
> Running apply_package...
> =========================
>
> MANIFEST: No such file or directory at /usr/lib/perl5/5.8.0/ExtUtils/Manifest.pm line 182.
> MANIFEST: No such file or directory at /usr/lib/perl5/5.8.0/ExtUtils/Manifest.pm line 182.
> OpenInteract::Package::install_to_website (502) >> Cannot copy MANIFEST.SKIP to /var/oi/pkg/-/MANIFEST.SKIP : No such file or directory
> OpenInteract::Package::install_to_website (502) >> Cannot copy package.conf to /var/oi/pkg/-/package.conf : No such file or directory
> Cannot save package repository: the OpenInteract base installation directory for package (-) is not specified or does not exist! at /usr/lib/perl5/site_perl/5.8.0/OpenInteract/PackageRepository.pm line 135.
> Status of the packages you requested to be applied:
> OK
> FAILED!: Package could not be verified -- either it doesn't exist in
> base install or there's a problem with the base
> install package.
>
> I didn't find anything in the database about package indexes and theere 's nothing in the repository.perl so I deleted the directory - and was trying to install agagin.
The thing is, the $BASE_DIR/conf/package_repository.perl keeps
track of all the packages installed. (It's just a serialized perl
data structure.) If you just delete the directory it will get
*very* confused.
One thing you might try is reinstalling the package *after*
bumping up the version number. For example:
$ cd pkg_autoindex
$ emacs package.conf
... change the version to 0.02 ...
$ oi_manage export_package
$ export OPENINTERACT=/usr/local/openinteract
... assuming this is your repository/base directory ...
$ oi_manage install_package \
--package_file=pkg_autoindex-0.02.tar.gz
Now, look in your $BASE_DIR/conf/package_repository.perl and see
if the pkg_autoindex-0.02 entry is in there. Additionally, see if
$BASE_DIR/pkg/pkg_autoindex-0.02 directory exists and if it has
all the same files.
If the entry is in the repository and the files in the directory
all match up, try to apply the package and see what happens.
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|