new install of 4.2

Richard Smith rdls at rdls.net
Sat Apr 7 21:49:21 BST 2001


On Sat, Apr 07, 2001 at 03:47:01PM +0100, john gennard wrote:
> a. I've installed 4.2 release, and have the 4 disc set for 4.1 (it
> seems nothing later has been issued).

Not sure what you mean, my 4.2-RELEASE 4 CD set shipped from the US back in Dec 2000.

 
> c. I've configured ppp and although it works I'm not sure how safe
> the setup is.

Safe in what way?


> d. Lynx is my favourite browser, and I've managed to get that
> installed and working. I had problems with using /usr/ports/
> as it does not seem to find what I put into /usr/ports/distfiles, and 
> won't install from a mounted CD.

There are several potential problems here...

First, the distfiles are no longer distributed on the CDs, they can only be down loaded (I can't recall if 4.1 included the distfiles or not). Note that distfiles and packages are not the same thing.

Second, (if there are distfiles on the 4.1 CDs) many are likely to be older than those required by the 4.2 ports system. 

One way you can install from distfiles located elsewhere in your filesystem (such as CD), is by removing/renaming the /usr/ports/distfile directory and symbolically linking to the appropriate directory elsewhere: e.g. 

% cd /usr/ports
% ln -s /cdrom/distfiles


> Using pkg_add, I installed Lynx but couldn't find .cfg. I deleted the
> pkg and reinstalled by downloading - eventually finding .cfg and
> editing it to suit my needs.

Often packages do not contain all the documentation and example files that the original port distfile contains. However, if you ever need to find out where pkg_add actually puts things, the file /var/db/pkg/<package_name>/+CONTENTS contains (amonst other things) a list of pathnames, relative to the installation root (@cwd).

Hope this helps,
Richard.





More information about the Ukfreebsd mailing list