Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apps have to be installed first #366

Open
petersen77 opened this issue Jun 6, 2022 · 5 comments
Open

Apps have to be installed first #366

petersen77 opened this issue Jun 6, 2022 · 5 comments

Comments

@petersen77
Copy link

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

@probonopd
Copy link
Member

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

@petersen77
Copy link
Author

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
Copy link
Member

probonopd commented Jun 9, 2022

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
Copy link
Contributor

@petersen77 please share output from:

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

our private repository

@probonopd the same, please.

@probonopd
Copy link
Member

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants