From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 18:52:20 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 49C7D4F9 for ; Wed, 8 Oct 2014 18:52:20 +0000 (UTC) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id D2D37B00 for ; Wed, 8 Oct 2014 18:52:19 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout07 with smtp id 0is81p004516WCc01isAMG; Wed, 08 Oct 2014 19:52:10 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=OOap3EqB c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=XXO3FzSGgsIA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=WTKGRivCJj7VkbOHirYA:9 a=wPNLvfGTeEIA:10 Received: from sedbergh.lan ([192.168.1.13] helo=curlew.lan) by curlew.milibyte.co.uk with esmtp (Exim 4.84) (envelope-from ) id 1XbwLI-0005Bg-2F for freebsd-questions@freebsd.org; Wed, 08 Oct 2014 19:52:08 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Wed, 08 Oct 2014 19:52:07 +0100 Message-ID: <3680979.7idvKWMyJF@curlew.lan> User-Agent: KMail/4.12.5 (FreeBSD/10.1-RC1; KDE/4.12.5; amd64; ; ) In-Reply-To: <54353D4C.7080403@hiwaay.net> References: <5434A8F7.1090507@hiwaay.net> <54353D4C.7080403@hiwaay.net> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: oddball syslog entries .... Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) 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 18:52:20 -0000 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. -- Mike Clarke