Utilities icon indicating copy to clipboard operation
Utilities copied to clipboard

Update.app: Catch "Installed packages to be REMOVED"

Open probonopd opened this issue 3 years ago • 4 comments

Update.app: Catch Installed packages to be REMOVED and exit with an error to prevent an update to uninstall anything.

This probably means that we need to do pkg upgrade --dry-run (no sudo needed for this!), just to see whether the actual upgrade would remove, aka break, anything.

https://github.com/helloSystem/hello/issues/161#issuecomment-1100818155

probonopd avatar Apr 17 '22 07:04 probonopd

remove, aka break,

Not all removals are breakage.

grahamperrin avatar Sep 04 '22 00:09 grahamperrin

Not all removals are breakage.

In my definition, they pretty much are: At least if they remove stuff that came with the helloSystem ISO in the first place. That "operating system level stuff" must never be uninstalled, no matter what. (It may be updated, though.)

probonopd avatar Sep 04 '22 15:09 probonopd

A CONFLICTS_INSTALL example:

https://github.com/freebsd/freebsd-ports/commit/7377fed7a063420992359af3a15006fa4fee6303#diff-3fcb57d0457b20a555b9c0793151e547561c8def0092164c3c5a22030f127c88R14

Removals of drm-current-kmod and drm-devel-kmod are by design, not breakage.

https://github.com/freebsd/freebsd-ports/commit/fae9e49dd63f411983cc9a7f62f0fa8418797b35

They're not integral to helloSystem, but it's an example of one port superseding another.

grahamperrin avatar Sep 04 '22 17:09 grahamperrin

Removals of drm-current-kmod and drm-devel-kmod are by design, not breakage.

Something that non-technical helloSystem users do not, and should not have to, understand.

What was installed (at the ISO creation time) should never be uninstalled, unless explicitly asked for by the user. But it should be possible to be updated.

This is why I still think package managers are not for "mere mortals" but only for those putting together the ISO, and maybe for power users...

probonopd avatar Sep 04 '22 17:09 probonopd