a little confuse with case-sensitive name ports and multiple ports with some name

Wesley Shields wxs at atarininja.org
Fri Apr 17 13:32:25 UTC 2009


On Fri, Apr 17, 2009 at 10:45:46AM +0100, Chris Rees wrote:
> 2009/4/17 Oleg Ginzburg <oleg.ginzburg at nevosoft.ru>:
> > And i forget to say for one else problem with {archivers,mis}/deco:
> > both of them produced one binary file in /usr/local/bin/deco.
> >
> > cd /usr/ports/archivers/deco
> > make install
> > ...
> > (i have deco archivers)
> > pkg_add -r deco
> >
> > (deco/NC-clone replace /usr/local/bin/deco)
> >
> > ?pkg_which /usr/local/bin/deco
> > [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 718 packages found
> > (-1 +1) (...). done]
> > deco-3.9_4 deco-1.6
> >
> > pkg_delete -f deco-3.9\*
> >
> > ..
> >
> 
> OK, that's seriously annoying. That can't possibly be by design....

It is because misc/deco is not marked as having a conflict with
archivers/deco, but archivers/deco does have a conflict with misc/deco
recorded.  If you were to install misc/deco before archivers/deco the
situation would become obvious.

One of the two should probably change their pkgname so that pkg_add -r
can properly find it.  Right now pkg_add appears to get misc/deco, even
if you want archivers/deco.

Opening a PR for both these is likely the next best step.

-- WXS


More information about the freebsd-ports mailing list