Skip to content

pkgin loses consistency with pkg_install database #144

@0-wiz-0

Description

@0-wiz-0

I'm testing wip/webkit* so I install that from time to time instead of
www/webkit-gtk.

I got pkgin in an inconsistent state.

Here it's already inconsistent, because gnucash is still installed and depends on it:

# pkgin rm webkit-gtk
1 packages to delete:
 webkit-gtk-2.36.8nb29

proceed ? [Y/n] y
[1/1] removing webkit-gtk-2.36.8nb29...
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...

# pkg_add webkit-gtk60
...
# pkg_delete webkit-gtk60
...

# pkgin in gnucash
pkgin: Dependency webkit-gtk>=2.36.8nb29 of wxGTK32-3.2.10 unresolved
pkgin: Dependency webkit-gtk>=2.36.8nb29 of gnucash-5.15 unresolved
pkgin: Dependency webkit-gtk>=2.36.8nb29 of yelp-3.32.0nb38 unresolved
pkg_summary.zst                                                                                                                                                                           100%  409KB 409.0KB/s   00:00
calculating dependencies...done.

1 package to install:
 webkit-gtk-2.36.8nb29

0 to remove, 0 to refresh, 0 to upgrade, 1 to install
0B to download, 93M of additional disk space will be used
proceed ? [Y/n] y
[1/1] installing webkit-gtk-2.36.8nb29...
...pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...

I thought that at this point, pkgin should have healed itself, but no:

# pkgin rm webkit-gtk
1 packages to delete:
 webkit-gtk-2.36.8nb29

proceed ? [Y/n] n

pkg_install is correct.

# pkg_delete webkit-gtk
Package `webkit-gtk-2.36.8nb29' is still required by other packages:
      wxGTK32-3.2.10
      yelp-3.32.0nb38
      gnucash-5.15

Why didn't this self-correct when I did 'pkgin in gnucash'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions