[haiku-bugs] Re: [Haiku] #11071: [Package Kit] can't install some packages

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 28 Jul 2014 06:03:57 -0000

#11071: [Package Kit] can't install some packages
--------------------------------+----------------------------
   Reporter:  diver             |      Owner:  bonefish
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  R1
  Component:  Kits/Package Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Old description:

> 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
> }}}

New description:

 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
 }}}

--

Comment (by pulkomandy):

 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.

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

Other related posts: