[haiku-bugs] Re: [Haiku] #12366: [Package Kit] in case of a missing provides list all of them

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 16 Sep 2015 11:12:43 -0000

#12366: [Package Kit] in case of a missing provides list all of them
--------------------------------+----------------------------
Reporter: diver | Owner: bonefish
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: Kits/Package Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
--------------------------------+----------------------------

Comment (by bonefish):

I created a dummy package and took a closer look at the libsolv debug
output. After the initial solver run it knows of (i.e. prints) both
missing dependencies, but after refining the suggestions only one problem
with one solution remains. It kind of makes sense, since the only solution
(not to install the package) is the same for both problems and listing
both problems separately with the same solution wouldn't make sense. The
limitation is the data structure side of things I suppose -- only one
specific issue (i.e. one missing provides) can be expressed per problem,
so the two problems can't be merged into one while still retaining all
information.

Not sure, if all missing provides could be retrieved from libsolv in some
way. At any rate, it won't be a trivial implementation change AFAICT.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12366#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #12366: [Package Kit] in case of a missing provides list all of them - bonefish