Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Aug 2004 06:32:57 -0700
From:      Joshua Tinnin <krinklyfig@spymac.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: BigApache for Windows - Why doesn't BSD have an installer package like this ???
Message-ID:  <200408010632.57275.krinklyfig@spymac.com>
In-Reply-To: <20040801114859.8595.qmail@web41009.mail.yahoo.com>
References:  <20040801114859.8595.qmail@web41009.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 01 August 2004 04:48 am, DK <asdzxc111@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



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