Subject: pkgviews and "symbolic links will be overwritten"
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/16/2004 10:35:02
See the error below:

===> Registering installation for digest-20021220
===> Building views for digest-20021220
=> Performing package view clash check for digest-20021220 in standard
view
=> Performing package view overwrite check for digest-20021220 in standard
view
***********************************************************
**** The following symbolic links will be overwritten *****
-rw-r--r--  1 root  wheel  2852 Apr 15 15:33 /usr/pkg//man/man1/digest.1
***********************************************************
=> Linking package into standard view
ln: /usr/pkg/man/man1/digest.1: File exists
14.721u 11.999s 0:32.80 81.4%   256+381k 2+3io 6pf+0w
reed@tahoma:/usr/pkgsrc/pkgtools/digest$ ls -l /usr/pkg//man/man1/digest.1
-rw-r--r--  1 root  wheel  2852 Apr 15 15:33 /usr/pkg//man/man1/digest.1

For some reason that old file from yesterday was not removed from a
pkg_delete.

But irregardless to that, it should have overwritten it like it said.
Maybe a rm should be done before the ln?

I think the pkg_view command runs ln(?).

This is FreeBSD.

   Jeremy C. Reed
   http://bsd.reedmedia.net/