Opened 10 years ago

Closed 2 years ago

#11071 closed bug (fixed)

[Package Kit] can't install some packages

Reported by: diver Owned by: bonefish
Priority: normal Milestone: R1
Component: Kits/Package Kit Version: R1/Development
Keywords: Cc: 3dEyes
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

hrev47569.

~> pkgman list
        Haiku
                base-url:  http://download.haiku-os.org/haiku-repositories/master/x86_gcc2/current/
                priority:  1
        HaikuPorts
                base-url:  http://packages.haiku-os.org/haikuports/master/repo/x86_gcc2/current
                priority:  1

~> pkgman search openjdk_x86
Status  Name                 Description                                        
--------------------------------------------------------------------------------
        openjdk_x86          Open-source implementation of the Java Platform, SE

~> pkgman install openjdk_x86
Downloading repochecksum-1...
##################################################
Finished downloading repochecksum-1.
Validating checksum for Haiku...
Validating checksum for Haiku complete.
Downloading repochecksum-1...
##################################################
Finished downloading repochecksum-1.
Validating checksum for HaikuPorts...
Validating checksum for HaikuPorts complete.
*** failed to find a match for "openjdk_x86": Name not found

Change History (5)

comment:1 by pulkomandy, 10 years ago

Description: modified (diff)

It's actually an issue with the package, the provides entry in the package is "openjdk" instead of "openjdk_x86". So, to install it, you need to do pkgman install openjdk

We must fix the package, but maybe pkgman could be made more user friendly, or maybe haikuporter should prevent this from happening.

Last edited 10 years ago by korli (previous) (diff)

comment:2 by diver, 10 years ago

Description: modified (diff)

Other packages that won't currently install are avrdude_x86 and sdl_mixer_devel

comment:3 by zooey, 10 years ago

I have just had a cursory look at avrdude_x86 and sdl_mixer_devel and both packages are missing a provides entry that matches the package name.

Creating such a package should not be possible with haikuporter and/or package. I suppose haikuporter should disallow that completely and package should at least print a warning.

comment:4 by bonefish, 10 years ago

In principle there is no requirement to include a provides entry matching the package name. We just use that as a convention/policy for the HaikuPorts packages. It should be possible to refer to any package via "pkg:<package name>" and also install the above packages this way. We could make pkgman more clever and try "pkg:..." for the given names (first?).

That being said, we certainly should enforce the policy at least via haikuporter.

comment:5 by waddlesplash, 2 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.