From owner-freebsd-questions Wed Oct 9 18:49: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08F0F37B401 for ; Wed, 9 Oct 2002 18:49:01 -0700 (PDT) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95F9C43E42 for ; Wed, 9 Oct 2002 18:49:00 -0700 (PDT) (envelope-from Hostmaster@Video2Video.Com) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id CF5E532742; Wed, 9 Oct 2002 21:48:59 -0400 (EDT) Date: Wed, 9 Oct 2002 21:48:59 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: FreeBSD LIST Subject: Re: Should I worry about having many X11 symlinks In-Reply-To: <20021008064142.GL81796@vectors.cx> Message-ID: <20021009204146.L35021-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 7 Oct 2002, Adam Weinberger wrote: > PL> # find /usr/X11R6/lib/X11/ -type l | xargs ls -al | grep -v \/doc\/html\/ > don't need to escape those forward slashes, fwiw. I suppose not, only if [grep -v something filename] were the case, huh. > PL> `pkg_add -r wrapper` failed the first try because of an error about > PL> /etc/X11/xserver/ServerPolicy or something like that. > i hope that wasn't a request for help on that... It was. And further explanation follows... > PL> A pkg_deinstall then a `pkg_add -rf` fixed wrapper fine > uhm. if that worked, are you sure the original error wasn't "this > package is already installed?" Yes I'm sure. The pkg_add choked because there was a symlink in /usr/X11R6/lib/X11/ that pointed to a non-existent directory and file in /etc/X11/ After I did a `mkdir /etc/X11/whateverITwas` and `touch /etc/X11/whateverITwas/ServerPolicy` to create the file, the pkg_add worked. > PL> but should these symlinks be migrated one way (/usr/X11R6/...) or the other (/etc/X11/..)? ln -s thanks help\! > i have no idea what that question means. all the links you provided > linked from /usr/X11R6/lib/something to /etc/X11/something. how does one > migrate a symlink? and what does this have to do with the wrapper package? > -Adam What I meant by "migrated" is, isn't there a way to change completely from /usr/X11R6 etc etc and standardize on /etc/X11? Or at least find out what smallish files could go in /etc/X11 (backed up when upgrading in the future) and which files I could put in /usr/local/bin/X11/ or something like that... Now I guess I'm not sure what I'm asking. I have a lot of symlinks in /usr/X11R6/lib/X11/ that point to things that don't exist. What must be done, a reinstall of XFree86? Gnome2.0? -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message