On Sun, Jan 19, 2020 at 12:19:31PM +0100, Marc Espie wrote:
> On Sat, Jan 18, 2020 at 01:41:20PM +0100, Antoine Jacoutot wrote:
> > On Fri, Jan 17, 2020 at 07:46:23PM -0700, [email protected] wrote:
> > > 
> > > On 1/17/20 7:25 PM, Jordan Geoghegan wrote:
> > > > 
> > > > 
> > > > On 2020-01-17 18:10, [email protected] wrote:
> > > > > HI,
> > > > > 
> > > > > 
> > > > > I downloaded the install66.fs snapshot today, 20200117, and did a 
> > > > > fresh
> > > > > install.  Even though I got the full install set, i used http from
> > > > > ftp.openbsd.org as the install source.
> > > > > 
> > > > > Installation went fine but when I tried to install packages I get the
> > > > > above error.
> > > > > 
> > > > > "# pkg_add -vn pftop
> > > > > quirks-3.216 signed on 2020-01-17T19:15:00Z
> > > > > quirks-3.216: ok
> > > > > Can't load quirk: Can't locate OpenBSD/Quirks.pm in @INC (you may need
> > > > > to install the OpenBSD::Quirks module) (@INC contains:
> > > > > /usr/local/libdata/perl5/site_perl/amd64-openbsd
> > > > > /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd64-openbsd
> > > > > /usr/libdata/perl5) at /usr/libdata/perl5/OpenBSD/AddDelete.pm line 
> > > > > 350.
> > > > > 
> > > > > pftop-0.7p19: ok
> > > > > Merging manpages in /usr/local/man: /usr/local/man/man8/pftop.8
> > > > > Extracted 252817 from 253475"
> > > > > 
> > > > [snip]
> > > > 
> > > > I believe quirks gets automatically installed when you install your
> > > > first package.
> > > 
> > > 
> > > AH HA, that seems to be the case.
> > > 
> > >  pkg_add -v pftop
> > > quirks-3.216 signed on 2020-01-17T19:15:00Z
> > > quirks-3.216: ok
> > > pftop-0.7p19: ok
> > > Extracted 252817 from 253475
> > > 
> > > 
> > > I was just initially trying to see what would be installed without
> > > actually installing.  I've run into issues before where the base system
> > > packages and the userland stuff, if they aren't labeled the same date
> > > have library issues.  I was trying to make sure i'd avoid that.
> > > 
> > > 
> > > Thanks for the quick answer!
> >  
> > That is still a pkg_add bug though...
> 
> Thinking some more about it, I'm not sure about the right solution.
> - I can easily suppress the quirks warning if -n is given.

The problem is that you may get a different output compared to if quirks was
instaled (e.g. cve).

> - but then, quirks is kind-of part of pkg_add proper, so maybe it would be
> more appropriate to install quirks anyway.   This is a bit unexpected, though.

It would be unexpected yes.
Maybe quirks has become too quirky and we need a better solution?

-- 
Antoine

Reply via email to