Opened 9 years ago

Closed 9 years ago

#12413 closed bug (no change required)

Package manager "skip" problem (-s option) not working

Reported by: ronald-scheckelhoff-trac Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Is this a bug? Or do I not understand the "-s" switch? Or is the "providing Arduino" message incorrect? Does skip refer to Arduino or OpenJDK in this case?

Trying to install Arduino, I found that OpenJDK was broken. I submitted a bug report to Github, and OpenJDK was fixed. Knowing that Arduino requires OpenJDK, and that it would try to install the unfixed version of OpenJDK, I used command line pkgman to install the new version:

Openjdk_x86-1.7.u80_b32-3

Running HaikuDepot to install Arduino causes HaikuDepot app to display message that old version of OpenJDK is not available (because Arduino package has not been updated). Of course that will happen in due time, but there is supposed to be an option to allow the installation to proceed anyway (the "ignore for now" option in Haiku Depot, and the -s (skip) option in the command line package manager. It doesn't do this (see screenshots).

What is the purpose of the -s switch if not to continue without a dependency?

Attachments (2)

arduino.png (113.5 KB ) - added by ronald-scheckelhoff-trac 9 years ago.
arduino2.png (129.9 KB ) - added by ronald-scheckelhoff-trac 9 years ago.
pkgman skip option

Download all attachments as: .zip

Change History (3)

by ronald-scheckelhoff-trac, 9 years ago

Attachment: arduino.png added

by ronald-scheckelhoff-trac, 9 years ago

Attachment: arduino2.png added

pkgman skip option

comment:1 by bonefish, 9 years ago

Resolution: no change required
Status: newclosed

There is no "install anyway" option (yet?). The "s"/"ignore for now" option just skips choosing a solution for the problem for the time being. It doesn't make much sense when there is only one problem, but it may be useful, if there are multiple problems. Then selecting a solution for some but not all problems and retrying to solve the dependencies may result in other problems/solutions.

Note: See TracTickets for help on using tickets.