Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2018 06:04:27 +0100
From:      Polytropon <freebsd@edvax.de>
To:        =?UTF-8?B?5pa55Z2k?= <quinefang@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problems removing orphan packages
Message-ID:  <20180112060427.b0a1fabc.freebsd@edvax.de>
In-Reply-To: <CADf1OUc0a92kr%2B58ypDFGbCeGc3BYSAjskXpT8mbJR=zPRfxuQ@mail.gmail.com>
References:  <CADf1OUc0a92kr%2B58ypDFGbCeGc3BYSAjskXpT8mbJR=zPRfxuQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180112060427.b0a1fabc.freebsd>