pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: odd postgresql error
On Tue, Apr 01, 2025 at 10:40:32AM +0200, Thomas Klausner wrote:
> On Tue, Apr 01, 2025 at 09:32:22AM +0100, Patrick Welche wrote:
> > # pkgin fug
> > calculating dependencies...done.
> > postgresql17-server-17.4 (to be installed) conflicts with installed package postgresql17-server-17.4.
> > postgresql17-client-17.4 (to be installed) conflicts with installed package postgresql17-client-17.4.
> >
> > Puzzled as I'm not using MirBSD and nothing changed since February. No
> > PG_OPTIONS differences in sight either (PG_OPTIONS.postg* don't exist in
> > mk.conf and friends)...
> >
> > Thoughts?
>
> This pattern looks a bit too strong:
>
> databases/postgresql17/Makefile.common:CONFLICTS+= postgresql[1-9][0-9]-${module}-[0-9]*
Right! and above is
CONFLICTS+= postgresql-[0-9]*
CONFLICTS+= postgresql[2-9][0-9]-[0-9]*
So the intention is "conflicts with a package with a different major number"
converted to an equality. Here major = 17. The problematic case I hit
conflicts with all cases >=10 <100 (so why haven't I hit it before?),
and the other case is essentially useless as conflict between say 16 and
17 isn't caught.
P
Home |
Main Index |
Thread Index |
Old Index