Opened 9 years ago
Last modified 9 years ago
#12457 assigned enhancement
Package problems dialogue window
Reported by: | luroh | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Servers/package_daemon | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Trying to install NetSurf in hrev49805 will present the user with the attached dialogue window, which I'm guessing could come across as rather unintelligible to the average user. (The problem stems from an updated openssl package and has since been fixed by uploading a rebuild of the netsurf package).
- Both the window title and the informational text below it indicate that there are several problems instead of just one.
- Solution 1 (note that there is no Solution 2, so why enumerate it?) suggests not to install "providing netsurf", which may look a bit cryptic.
- The option selected by default is to ignore problem for now, but the only available options are to either press the Cancel button or to close the dialogue window.
- Although selecting Solution 1 will enable the Retry button, pressing it will seemingly just close the dialogue window and leave the NetSurf package in a pending state.
Attachments (1)
Change History (5)
by , 9 years ago
Attachment: | package_problems_hrev49805.png added |
---|
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Component: | Applications/HaikuDepot → Servers/package_daemon |
---|---|
Owner: | changed from | to
This window is actually from the package daemon. (I think.)
comment:3 by , 9 years ago
Replying to luroh:
- Solution 1 (note that there is no Solution 2, so why enumerate it?) suggests not to install "providing netsurf", which may look a bit cryptic.
Unfortunately the string stems from libsolv, which makes changing it ugly (parse the string and replace it) and/or non-trivial.
That the string is shown like that at all suggests that HaikuDepot did the equivalent of pkgman install netsurf
, i.e. requesting to install something that provides "netsurf". Since it should know the packages, it could do better by actually specifying to install the selected package that it got from the repository. That should cause the string returned by libsolv to change to the qualified package name instead.
- The option selected by default is to ignore problem for now, but the only available options are to either press the Cancel button or to close the dialogue window.
Ignoring a problem is not a final solution. Before anything can be installed at all, every problem must be solved. The ignore option is just a temporary measure, so that one can retry after selecting solutions for a subset of problems and see, if/how that changes the options for the remaining problems. In each iteration at least for one problem a solution must be selected, since otherwise no progress would be made and one would just get exactly the same window again.
So, consequently, the ignore option can be omitted when only one problem exists. If that one problem has only one possible solution, it doesn't make sense to ask the user to choose an option, so the dialog should just ask whether to go with that solution or cancel. If, as in this case, the solution is not to install the requested package, the dialog should ideally just report the problem without any choices for the user at all.
- Although selecting Solution 1 will enable the Retry button, pressing it will seemingly just close the dialogue window and leave the NetSurf package in a pending state.
That sounds like a HaikuDepot issue. The package daemon should just determine that it has neither packages to install nor to uninstall and report the transaction as finished to the client (HaikuDepot).
comment:4 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Also, the scrollview is not correctly aligned :)