From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 19:28:49 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6189A8 for ; Wed, 8 Oct 2014 19:28:49 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 70265E61 for ; Wed, 8 Oct 2014 19:28:49 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-80.adsl.hiwaay.net [216.180.19.80]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s98JSk4N029216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 8 Oct 2014 14:28:47 -0500 Message-ID: <543591E5.4030400@hiwaay.net> Date: Wed, 08 Oct 2014 14:35:01 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: oddball syslog entries .... References: <5434A8F7.1090507@hiwaay.net> <54353D4C.7080403@hiwaay.net> <3680979.7idvKWMyJF@curlew.lan> In-Reply-To: <3680979.7idvKWMyJF@curlew.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 19:28:49 -0000 On 10/08/14 13:52, Mike Clarke wrote: > On Wednesday 08 Oct 2014 08:34:04 William A. Mahaffey III wrote: > >> [root@kabini1, /etc, 8:21:10am] 699 % pkg install -y wireshark >> tcpdump > > >> New packages to be INSTALLED: >> wireshark: 1.12.1 [FreeBSD] >> linux-f10-xorg-libs: 7.4_1 [FreeBSD] > > >> Installed packages to be REMOVED: >> linux_base-c6-6.5_1 > One of the dangers of using the "-y" option. There's not much point > using this option when running interactively because it denies you the > option of bailing out if it wants to do unexpected things. > > Without the "-y" option if extra packages need to be installed they > will be listed and you will be asked to confirm - it's an all or > nothing question so you only have to type "y" or "n" once no matter > how many packages are involved. > > But I'm puzzled why it wanted to install the linux packages anyway > neither wireshark nor tcpdump depend on them. Here's the output from a > PC which didn't have any linux packages on it > > ===================================================================== > root@fbsd10:~ # pkg install -n wireshark tcpdump > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > Updating FreeBSD_new_xorg repository catalogue... > FreeBSD_new_xorg repository is up-to-date. > All repositories are up-to-date. > The following 9 packages will be affected (of 0 checked): > > New packages to be INSTALLED: > wireshark: 1.12.1 [FreeBSD] > gtk3: 3.8.8_1 [FreeBSD] > colord: 1.0.1_3 [FreeBSD] > at-spi2-atk: 2.8.0_1 [FreeBSD] > at-spi2-core: 2.8.0_1 [FreeBSD] > GeoIP: 1.6.2_1 [FreeBSD] > libsmi: 0.4.8_1 [FreeBSD] > adns: 1.4_2 [FreeBSD] > tcpdump: 4.5.1 [FreeBSD] > > The process will require 145 MB more space. > 22 MB to be downloaded. > ===================================================================== > > BTW, as others have said tcpdump is part of the base system and you > didn't need to install the port which offers additional bleeding-edge > features. You can safely delete the tcpdump package. > Your point on the -y option is well taken, I wasn't expecting any trouble, & sometimes I type that command in & walk off to do something else while pkg does its thing; w/o a -y, it waits until I'm back to proceed. This may be a recurrence of the problem I have been posting about, which boils down to the FBSD pkg system is mid-stream changing over from linux-f10 to linux-c6, & repos are still in a state of flux .... I cleaned up the linux compatibility stuff & seem to be back in the saddle again .... Thx. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.