Opened 8 years ago

Closed 5 years ago

Last modified 4 years ago

#12932 closed bug (no change required)

HaikuDepot: What is to uninstall, the user should decide

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

Description (last modified by diver)

I think it's good that dependent packages of a software are installed over HaikuDepot too. I think it's good that dependent packages of a software deinstalled with the selected program too. But some times I do not want to uninstall all dependent packages.

Example:

I have installed 12 yab program on my computer and want to install an new program dependent on a newer yab version. After I install the new version of yab on my system, my older yab apps do not run anymore. So I decide to deinstall the latest yab version using HaikuDepot and all 12 programs dependent on yab deinstalled too.

So I need to install not only yab again, I need to install all 12 programs again.

Here I would like to see that the user is given the freedom to decide whether the dependent programs to Uninstall it or not. Because if I want to install an older version of yab from a source other than HaikuDepot because I get about HaikuDepot only the latest version, I would like to be able to decide the installed yab version without disconnecting all of them dependent yab programs. This saves the user a lot unnecessary work.

## German:

Ich finde es gut das über HaikuDepot Software abhängige Pakete mit installiert werden. Ich finde es auch gut das überflüssige Pakete mit deinstalliert werden sollen wenn man ein Programm deinstalliert. Aber manches mal möchte man vielleicht nicht das alle mit einem zu deinstallierten Paket verbundenen Pakete mit deinstalliert werden.

Beispiel:

Ich habe um die 12 yab Programm installiert und installiere ein zusätzliches yab Programm welches eine neuere yab Version benötigt auf meinen Rechner. Dadurch läuft nun das neue Programm aber die alten nicht mehr. Nun möchte ich diesen Fehler korrigieren und deinstalliere das zuletzt installierte yab Programm wieder. Dabei erkennt nun HaikuDepot, dass alle yab Programme von dem yab Paket abhängig sind und deinstalliert alle 12 schon vorher installierten yab Programm mit.

Wenn ich nun yab erneut installiere, muss ich danach alle 12 Programme die ich benötige wieder installieren.

Hier würde ich mir wünschen, dass dem Nutzer die Freiheit gegeben wird, zu entscheiden ob die abhängigen Programme mit deinstalliert werden sollen oder nicht. Denn wenn ich eine ältere yab Version aus einer anderen Quelle als HaikuDepot installieren möchte da ich über HaikuDepot nur die aktuellste Version bekomme, würde ich gerne entscheiden können die installierte yab Version zu entfernen ohne alle davon abhängige yab Programme. Das erspart dem Nutzer eine Menge unnötige Arbeit.

Change History (7)

comment:1 by diver, 7 years ago

Cc: Lelldorin removed
Component: - GeneralKits/Package Kit
Description: modified (diff)
Keywords: HaikuDepot install uninstall removed
Owner: changed from nobody to bonefish
Status: newassigned

If Package Management will let you keep packages dependent on yab they all will be broken. It can probably move them (temporary?) to some cache folder and mark them as inactive packages to avoid downloading them again after reinstalling yab but you can already do that manually and it would make the whole thing a bit messy. Closing?

comment:2 by lelldorin, 7 years ago

do not close. I find the solution a program by hand to uninstall not practical. And also not user friendly.

What in my example is something unfortunate, which I took yab as an example.

New example: If I uninstall a yab program, which has the dependency yab in the HPKG with, then yab and all other yab programs with uninstalled correctly?

That must not be.

comment:3 by diver, 7 years ago

What? Uninstall a yab program won't uninstall yab or any other dependencies.

comment:4 by waddlesplash, 5 years ago

Resolution: no change required
Status: assignedclosed

You can downgrade a package without uninstalling it, which will handle this usecase already. So all behaviors are correct as-is.

comment:5 by bbjimmy, 5 years ago

Just how exactly is that done and can it be done in HaikuDepiot?

comment:6 by waddlesplash, 5 years ago

You just install the older version explicitly (double-click the hpkg, pkgman in path/to..., etc.)

comment:7 by nielx, 4 years ago

Milestone: Unscheduled

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.