BigApache for Windows - Why doesn't BSD have an installer package like this ???

Joshua Tinnin krinklyfig at spymac.com
Sun Aug 1 06:33:02 PDT 2004


On Sunday 01 August 2004 04:48 am, DK <asdzxc111 at yahoo.com> wrote:

<snip>

I'm not sure about your automount and Apache problems, but I can help with the 
others ...

> 1) Trying to search for a file I get the error:
>
> 127# locate mysql
> locate: database too small: /var/db/locate.database

This is because the locate db is built from a weekly cron job, which probably 
hasn't run yet on your new install. You can run this manually if you want:
# sh /usr/src/etc/periodic/weekly/310.locate

> 2) I deleted the installed package xfce4, then added it again but xfce4
> still won't start. Is the warnings(about versions) given when I add the
> package(below) a cause of why it won't start ???
>
> 127# pkg_add xfce4-wm-4.0.5.tgz
> pkg_add: warning: package 'xfce4-wm-4.0.5' requires 'jpeg-6b_3', but
> 'jpeg-6b_2' is installed

<snip>

You need to upgrade the dependencies, as the ones you have are out of date. 
AFAIK pkg_add is supposed to take care of dependencies, but I almost never 
use it, prefering to build from source using the ports collection: 
# cd /usr/ports/x11-wm/xfce4 && make install clean

However, if you still want to use packages instead of source, I'm pretty sure 
if you use the -r flag with pkg_add it will auto-fetch-and-install the 
dependencies you need, as -r signifies to fetch the package remotely - i.e., 
pkg_add -r xfce4 (I just tried this with another package, and it installed 
the dependencies for it).

- jt


More information about the freebsd-questions mailing list