Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jun 1997 23:24:54 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Tim Pushor <timp@orion.ab.ca>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Ahhhh More pkg_add problems 
Message-ID:  <5540.865405494@time.cdrom.com>
In-Reply-To: Your message of "Tue, 03 Jun 1997 21:30:05 -0000." <Pine.BSI.3.96.970603212413.22762A-100000@centaur.orion.ab.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I am attempting to create a package containing software I wrote for easy
> installation. The problem is that my package requires another package to
> be installed. I use the @pkgdep statement in the packing list to state the
> dependancy.
> 
> When I try to install my package and I don't have the package my package
> depends on installed, it installs anyway, but gives me an error (kind of)
> like this:
> 
> /var/spool/db/pkg/<name>/+REQUIRED BY not found

Hmmmm.  That _should_ work - let me look into it.

> 2) (somewhat unrelated0 is there a way that I can abort the install based
> on the return value of a shell script? For example, I tried:

Yes, that's what the "requirements" script is for - take a look
at the man page for pkg_create.

					Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5540.865405494>