[haiku-bugs] Re: [Haiku] #15899: [SoftwareUpdater] try full-sync if haiku package is missing from update

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 24 Apr 2020 08:16:01 -0000

#15899: [SoftwareUpdater] try full-sync if haiku package is missing from update
-------------------------------------------+----------------------------
  Reporter:  diver                         |      Owner:  perelandra
      Type:  bug                           |     Status:  new
  Priority:  normal                        |  Milestone:  Unscheduled
 Component:  Applications/SoftwareUpdater  |    Version:  R1/Development
Resolution:                                |   Keywords:
Blocked By:                                |   Blocking:
  Platform:  All                           |
-------------------------------------------+----------------------------
Description changed by diver:

Old description:

hrev54083 x86_64

Currently, SoftwareUpdater uses the same logic as `pkgman update` - i.e.
it will not try to uninstall existing package.
However, from time to time some packages become obsolete and they are
required to be uninstalled like happened recently with `ilmbase`.
This led to a situation where haiku package couldn't be updated and
unsuspecting users don't understand why SoftwareUpdater stopped packages.

If possible SoftwareUpdater should detect this situation (when there is
an update for `haiku_loader` package but not for `haiku`) and offer
retrying in full-sync mode.

`pkgman update` could also at least warn the user about this situation.

New description:

 hrev54083 x86_64

 Currently, SoftwareUpdater uses the same logic as `pkgman update` - i.e.
 it will not try to uninstall existing packages.
 However, from time to time some packages become obsolete and they are
 required to be uninstalled like what happened recently with `ilmbase`.
 This led to a situation where haiku package couldn't be updated and
 unsuspecting users don't understand why SoftwareUpdater stopped packages.

 If possible SoftwareUpdater should detect this situation (when there is an
 update for `haiku_loader` package but not for `haiku`) and offer retrying
 in full-sync mode.

 `pkgman update` could also at least warn the user about this situation.

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

Other related posts: