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

Bluefin/Aurora does not automatically update Brew packages #1245

Closed
tobiasmicheler opened this issue May 2, 2024 · 9 comments
Closed

Bluefin/Aurora does not automatically update Brew packages #1245

tobiasmicheler opened this issue May 2, 2024 · 9 comments
Labels
brew Issues related to brew.sh integration help wanted Keep Bluefin alive, dive in!

Comments

@tobiasmicheler
Copy link
Contributor

tobiasmicheler commented May 2, 2024

Describe the bug

The Version of ublue-update in Bluefin/Aurora does not include the addition of updates of brew added here:
ublue-os/ublue-update#107
See copr of ublue-update:
https://copr.fedorainfracloud.org/coprs/ublue-os/staging/package/ublue-update/

What did you expect to happen?

brew packages update automatically

Output of rpm-ostree status

❯ rpm-ostree status 
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx:latest
                   Digest: sha256:4af98763fefe784a8b53332c98877989c47532b53319e1c0d10953830c6912d6
                  Version: 40.20240501.0 (2024-05-01T19:08:07Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx:latest
                   Digest: sha256:b491292743e983ba9b3ec036dae66ab7cb019af5fc0d1aba2eea7fa7e1e022aa
                  Version: 40.20240501.0 (2024-05-01T18:17:14Z)

Extra information or context

EDIT: The topgrade config file is now set correctly, but as the brew location is only in PATH for interactive shells, topgrade does not detect a brew installation when called from systemd.

@m2Giles
Copy link
Member

m2Giles commented May 2, 2024

Did you disable ublue-update.timer? Or is it that ublue-update doesn't have an update on the copr?

Ah. See that the copr is out of date.

@GrumiumXD
Copy link

When running the ujust update command, it does update "brew" packages, which made me realize that the ujust command and the ublue-update service execute "topgrade" with different config files.

Is this intended? I thought one is meant to be the manual updater in case automatic updates are disabled, but still both would do the same thing in the end.

@m2Giles
Copy link
Member

m2Giles commented May 2, 2024

Yes the service only updates a limited subset of items. We update automatically rpm-ostree, distroboxes, flatpaks, and brew (the last one was not due to copr needed a rebuild)

The manual method is supposed to update more. You additionally can tune the manual update to only update certain things.

@GrumiumXD
Copy link

Ok, thanks for the explanation. I guess when brew gets enabled with the automatic updates those would do everything I need.

@m2Giles
Copy link
Member

m2Giles commented May 2, 2024

#1249

@tobiasmicheler
Copy link
Contributor Author

tobiasmicheler commented May 5, 2024

Hi,
I'm sorry that I have to reopen this, but it still doesn't work.
The topgrade config file is now set correctly, but as the brew location is only in PATH for interactive shells, topgrade does not detect a brew installation when called from systemd.
@m2Giles

@m2Giles
Copy link
Member

m2Giles commented May 5, 2024

Okay, we'll need to update ublue-update then.

@castrojo castrojo added brew Issues related to brew.sh integration help wanted Keep Bluefin alive, dive in! labels May 11, 2024
@m2Giles
Copy link
Member

m2Giles commented May 14, 2024

#1293

Implements systemd timers for auto updating and auto upgrading homebrew.

If the brew user is not UID 1000, you will need to override the service (that sounds like a just command).

This service runs at the system level but executes as the specified user.

@m2Giles
Copy link
Member

m2Giles commented May 16, 2024

It has been merged.

@m2Giles m2Giles closed this as completed May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brew Issues related to brew.sh integration help wanted Keep Bluefin alive, dive in!
Projects
None yet
Development

No branches or pull requests

4 participants