Friday, September 06, 2019

Re: Impossible to remove a broken package on 6.5.

On Fri, Sep 06, 2019 at 07:13:21AM -0700, Chris Cappuccio wrote:
> Angelo Rossi [angelo.rossi.homelab@gmail.com] wrote:
> >
> > # pkg_delete -v kicad
> > Can't locate object method "updateset_with_new" via package
> > "OpenBSD::PkgDelete::State" at /usr/libdata/perl5/OpenBSD/Dependencies.pm
> > line 309.
> >
>
> Your /usr/libdata/perl5/OpenBSD directory is corrupted, this should exist
> in /usr/libdata/perl5/OpenBSD/PkgAdd.pm
>
> Your upgrade seems to have failed
>

The upgrade probably didn't fail. I ran into the exact same issue with
kicad-20100505p11; The package is available in 6.4, but was removed
and marked broken in 6.5 due to an issue with python-wx. I think the
error message Angelo Rossi quoted is simply an issue with `pkg_delete`.
Pkg_delete doesn't know what to do with a package that isn't available
anymore.

I didn't know what to do here either. I just let the broken kicad package
float around on my machine :). I tried to take a stab at fixing it,
but my knowledge of pkg_add internals is limited.

No comments:

Post a Comment