Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2018 06:04:27 +0100
From:      Polytropon <>
To:        =?UTF-8?B?5pa55Z2k?= <>
Subject:   Re: Problems removing orphan packages
Message-ID:  <>
In-Reply-To: <>
References:  <>

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.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>