From owner-freebsd-ports@freebsd.org Wed May 17 05:47:10 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51C74D6E00A for ; Wed, 17 May 2017 05:47:10 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com [IPv6:2607:f8b0:400e:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E92015A9; Wed, 17 May 2017 05:47:10 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-pg0-x22a.google.com with SMTP id q125so1718773pgq.2; Tue, 16 May 2017 22:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=srjlrnL+bTQcxN+NQDBWkVtkgGn2vStmI/u5aEYBVGs=; b=kLgb0AWvFiOme8NHqEt6IKgXax++UvHGU8g8kJSRjkO973b2aHu2JVHEmgLrcByuaY pzi3vFq4M5AEqR+k7mAJezS3V5Wy/l0abNixSkcc2W2nsvBcdVGnuTx69gON2rYcgfWU ou1pJSZfvhbaPcZ1+dDF8GEw4YQRnFlaaOKWODWyZAOUWQz0p4avGIBCDv8sCL0hz189 stdg9c9stALkaIfnNT8cf5dLrCCpKuZ5vjk7/w32hBVKyAynoA5yvz1L3pR4HOdXZkJl 5KSnkJUuj0yPJYtVhUmWb13rSmqveN5RcrPkhemG2XcMxCJY2V4tDz4aX67WV+PEAIgo iLGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=srjlrnL+bTQcxN+NQDBWkVtkgGn2vStmI/u5aEYBVGs=; b=h1jvkf4TLGkPY1jCm5IrgSJ2Gmaq2Lb82cro73rTQaFDvAW0msILL4aLXjYIwd5aCG SSQb8Zk4NiWTsOwFF+Cf5hAsW4U18htEM97BM+e1Bl4OifShWkEE8IrDmyJ/gxsfL5E/ 3y7CxIRCPvAqUDayMe9m8zqfeBkskFEIXay+hOK+LeAK3LO1+5a67qLha0eOv90DI5fn E3sNEHa4RuJ8MUen6+/FhdV9xFWeKerQ7RmtlDdR9TOwBgqvRFc083Q9Tt0vCQOtb/ok J90lhTr18He7K52xPvnOlvFP85X0so9CygfkYNolftrb81A2Mg+xNVTxzslUNTAQoeLo rjdg== X-Gm-Message-State: AODbwcBSnPXYCDhv7qNC/kRB0rAD9oaynX8BasvZcu3srvMKFH0w0Bxw Im2IXUfjeHCohCbhvzdQ5FlODrzzIg== X-Received: by 10.84.233.200 with SMTP id m8mr2181032pln.118.1495000029647; Tue, 16 May 2017 22:47:09 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.100.176.201 with HTTP; Tue, 16 May 2017 22:47:08 -0700 (PDT) In-Reply-To: <20170516163934.GA98474@www.zefox.net> References: <20170513235410.GA56717@doctor.nl2k.ab.ca> <20170516023132.GA95995@www.zefox.net> <20170516163934.GA98474@www.zefox.net> From: Kevin Oberman Date: Tue, 16 May 2017 22:47:08 -0700 X-Google-Sender-Auth: BgimztwVVjzRftxm_VpEgb2K0As Message-ID: Subject: Re: mesa libs issue To: bob prohaska Cc: Tatsuki Makino , "Herbert J. Skuhra" , Jan Beich , "freebsd-ports@freebsd.org" , "Jack L." Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2017 05:47:10 -0000 On Tue, May 16, 2017 at 9:39 AM, bob prohaska wrote: > On Mon, May 15, 2017 at 10:57:28PM -0700, Kevin Oberman wrote: > > On Mon, May 15, 2017 at 7:31 PM, bob prohaska > wrote: > > > > > On Tue, May 16, 2017 at 12:33:28AM +0000, Tatsuki Makino wrote: > > > > > > > > Probably, pkg set -[no] cannot combine records of multiple packages > > > (libglapi, libGL, gbm, libEGL and libglesv2) into one (mesa-libs). > > > > It means that pkg delete is mandatory. > > > > After deleting, the dependency needs to be reconnected by something. > > > > > > In playing a little with deleting libEGL it appears to demolish much > > > of the GUI infrastructure, deleting something like 4G of applications > > > and libraries. At that declaration I hesitated, and hit n. 8-) > > > > > > If it's really the only way to update the system please indicate so, > > > and I'll give it a try. I'm on RPI2, running -current. > > > > > > > Do NOT 'pkg delete libEGL" or and of the others! You need to "pkg delete > -f > > libEGL". If you don't use '-f' when deleting a port, all ports dependent > on > > that port will also be deleted, as you saw. '-f' will force deletion of > the > > port WITHOUT touching anything else. > > Ok, thank you very much! When I saw the -f, I mistakenly surmised it > meant something like "force". > > bob prohaska > > Actually, '-f' DOES mean force. But, in this context "force" just means to force deletion even though there are still dependent ports/packages installed. This is documented in the pkg-delete(8) man page (in two places): "If the set of packages to be deleted would leave installed packages with unfulfilled dependencies, pkg delete will add the packages with unfulfilled dependencies to the list of packages to be deleted, unless forced to proceed without deleting any other packages by the -f option." and "-f, --force Forces packages to be removed despite leaving unresolved dependencies. In combination with the -a or --all flag, causes pkg(8) to be removed as well as all other packages." Unfortunately, reading the man pages is usually the last resort. (Common expression is "When all else fails, read the instructions".) -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683