From owner-freebsd-questions@freebsd.org Fri Jan 12 05:04:37 2018 Return-Path: Delivered-To: freebsd-questions@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 E2FCEE71E51 for ; Fri, 12 Jan 2018 05:04:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 494687744C for ; Fri, 12 Jan 2018 05:04:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.18.98]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMTPA (Nemesis) id 0MaaYD-1eGHEA3j2n-00K7EF; Fri, 12 Jan 2018 06:04:27 +0100 Date: Fri, 12 Jan 2018 06:04:27 +0100 From: Polytropon To: =?UTF-8?B?5pa55Z2k?= Cc: freebsd-questions@freebsd.org Subject: Re: Problems removing orphan packages Message-Id: <20180112060427.b0a1fabc.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:iaitGM2Un5pv3Kxi7mSTMoQq/T1G9Cj62rHzAZrPnKw8Vslq41F ro8KBCyLfb2d7MbsEgjHXNrlNwNbxeZAiHjBllNuYM5mct81QMBPsrcw2eoGPRxtUWppI4q 8RHJe4w/GKZImT8+VBngE4OYdDdSrQYBk2FSzTTh9UOJCGcAw4xhud6rX0/Z9A4RKD+qqbi pnWn0X/E7GRS98tgtEc5A== X-UI-Out-Filterresults: notjunk:1;V01:K0:sN/xLrxCjOc=:ackQ3r20A4lK1ba18ldzsH +4L/KrjvnBq5di6WUiCLG3Il+ugH/VoO5idWpKWlYiZUIuU1ER7OJm5aamBeQMzxyr+i+nTRr cF5WrZyAiVqX3WUOpq//5kDZ9Ev2dPKQxONrlrJsyYNAy7BWRHFZo5Tf4s1iNO8K5GuNjdxKv 8Bq6eakCXi597Vx5nbPmD9YRmcDmIisJpOnEGHr9Y2GY/7Bb4TJEEbeIhg7WyrIyXjb3yyn5E iQWWcDK/lkjC2FBfx6YJ2oigrPXRglTtjht5KTf0fYz9thay7VgSQdD84eREI5ww4jAWWvAFo gLXVgdZjK3YujoFp6YFNhLx5Uu+zgVHLSK6BnK5LuNQbaje0/s8zeCFo+UWDeRQkN0hSSb730 NhhCSKKSnMJqEet8jrg+4JSaGzJ9oH5xghcMwYmbLKLIZqRVqoE8R9uWQGOcS/5g9nUB9hD/c azIOJl+uec4E/xL8Iqhury4ZZjN4MX8wXaEek24G10LQKnKjeoB9GiakEXDFCd0xxSd5KeGCq b2Pe3TmKGayTAuWYf/sHsnrMhTvj/2QSFG0ZVA/owZSMfmXZSOoI7mmfw2+CQs4J9I6+Cjccm 9j3Jxm159xV1wrUfLJmKhJOxrA0rHUuQu6tboCkChb4nr35k50EvK48Tw7NiQcu35Ey/lVz+x M6iiVq2brQ9JzgpvXTYfEFcd4IK6LTioGzvYLx0q6s/DzamIDyZN0NR3t/oN0xQR+g68jm2H1 QDuxuF9hbc4O/ws/W8ugL6qUXUC9Od9uJ7F8njwbbcdFnejV5U0LU+Shlfg= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 05:04:38 -0000 On Fri, 12 Jan 2018 12:22:08 +0800, 方坤 wrote: > Last week, I ran `cd /usr/ports/devel/git ; make install clean` to install > the Git package, > I found that the "/deve/bison", "/shells/bash" and "www/w3m" packages also > installed > as the "devel/git" package need them. > > Today I ran `portmaster -s` to uninstall unused packages, I found the > "/deve/bison", > "/shells/bash" and "www/w3m" packages were on the listed. So I uninstalled > all the > packages in that list. > > I didn't understand why portmaster thinks that the "/deve/bison", > "/shells/bash" and > "www/w3m" packages were unused packages. So I ran > `cd /usr/ports/devel/git ; make install clean` again, I found that the > "/deve/bison", > "/shells/bash" and "www/w3m" packages installed again. > > Is anyone can teach me why? This looks strange. Git's Makefile doesn't specify w3m, bison or bash as a dependency directly (not for running and not for building git, if I read it correctly), so those seem to come from one of Git's dependencies, which are p5-Error, libpcre, p5-Authen-SASL, curl, libexpat, p5-Term-ReadKey, xmlto, and cvsps (depending on actual build configuration). Maybe if you further follow "dependency hell", you'll finally find out where the three port requirements in question originate from. By the way, if you're building with the default configuration, you could try to "pkg install git" and see if the three other ports are installed (as dependencies), which I assume would _not_ be the case. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...