From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 15:45:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82E7B5FA for ; Wed, 9 Jul 2014 15:45:09 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3ED532C20 for ; Wed, 9 Jul 2014 15:45:08 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X4u3L-0004lr-CB for freebsd-questions@freebsd.org; Wed, 09 Jul 2014 17:45:03 +0200 Received: from pool-96-234-46-56.nwrknj.fios.verizon.net ([96.234.46.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jul 2014 17:45:03 +0200 Received: from rvclayton by pool-96-234-46-56.nwrknj.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jul 2014 17:45:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: rvclayton@acm.org (R. Clayton) Subject: Reconfiguring a package and other questions. Date: Wed, 09 Jul 2014 10:03:48 -0400 Lines: 48 Message-ID: <8738eaochn.fsf@UlanBator.myhome.westell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-96-234-46-56.nwrknj.fios.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:5Cgkwod2NSh2E2g39vh1ZC/JygI= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2014 15:45:09 -0000 I'm running this $ uname -a FreeBSD BanjaLuka 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 $ and I did this (via www.freebsd.org/handbook/x-install.html) # pkg install xorg to install X. It didn't work: xstart runs the default window manager, but the keyboard and mouse are frozen. 1: I usually install xorg from ports, and what I do in this case (which usually happens) is reconfigure xorg-server to disable hal. However, I don't see how packages can be reconfigured. the pkg-config man page seems to show how to reconfigure pkg itself, not individual packages. How it possible to reconfigure packages? 2: How do I undo the effects of installing a metapackage like xorg? Doing the obvious # whereis X X: /usr/local/bin/X # pkg remove xorg Deinstallation has been requested for the following 1 packages: xorg-7.7 Proceed with deinstalling packages [y/N]: y [1/1] Deleting xorg-7.7... done # whereis X X: /usr/local/bin/X # doesn't do what I wanted ("pkg delete -R xorg" behaves as above). 3: I resorted to deleting xorg-server as a package and re-installing it as a port with appropriate configuration. This works, but raises the question of consistency between ports and packages. What is the relation between the software in ports and the software in packages? Have I just introduced an error (or potential for error) that will come back and bite me hard six months after I've forgotten what I've done?