helloSystem / hello

Desktop system for creators with a focus on simplicity, elegance, and usability. Based on FreeBSD. Less, but better!
2.31k stars 57 forks source link

Apps have to be installed first #366

Open petersen77 opened 2 years ago

petersen77 commented 2 years ago

Apps have to be installed first before upgrading. Otherwise some vital packages from qt5 will be erased.

probonopd commented 2 years ago

Can you give more details please? Possibly we need to declare more dependencies in the hello pkg...

petersen77 commented 2 years ago

I upgraded the system via Update.app. Afterwards I tried to install Thunderbird (from Applications -> Internet -> Thunderbird), it downloaded thunderbird package & tried to downgrade some qt5 packages (like qt5-CoreAddons, kf5 packages) and failed so the packages where not installed anymore -> no more GUI available. I can't recreate it because I installed the packages first before upgrading the system (before with the Update.app, now with pkg update & pkg upgrade) with a fresh install.

probonopd commented 2 years ago

I see. This is a mess and we need to find a better solution.

What happened: At the time when we released the latest helloSystem release, 0.7.0, everything was working. In the meantime, new quarterly packages arrived in FreeBSD. And now things are no longer working as they were before, because our private repository still has packages that were not updated in sync with quarterly.

Just because we would like to use some packages from a private repository (e.g., Firefox, so that we can patch in the global menu bar support) it should never, ever result in the system to uninstall or downgrade anything.

We would need to find a way to ensure that only certain packages (such as Thunderbird) are taken from the private repository, but e.g., no libraries (which should always come from FreeBSD packages proper), Unfortunately I don't know how to configure this.

Of course, the best solution (by far) would be to get global menu support patches into the official FreeBSD packages of Firefox, Thunderbird, and Chromium; hence removing the need for a private repo in the first place.

Reference:

grahamperrin commented 2 years ago

@petersen77 please share output from:

pkg -vv | grep -e url -e enabled -e priority

our private repository

@probonopd the same, please.

probonopd commented 2 years ago
FreeBSD% pkg -vv | grep -e url -e enabled -e priority
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
    url             : "pkg+http://build.schmitz.computer/packages/FreeBSD:13:amd64-mozillapatched",
    enabled         : no,
    priority        : 100,