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

Question : Is there a difference between "Check Updates" and "System Upgrade" ? #578

Closed
sortofsleepy opened this issue Jan 3, 2025 · 2 comments

Comments

@sortofsleepy
Copy link

sortofsleepy commented Jan 3, 2025

👋

Apologies for the newbie question(relatively new Linux user) but I got to thinking about this today and had a quick question about how Octopi works with regards to keeping the system updated.

When using Octopi to do updates I’ve generally been selecting the “Check Updates” option in Octopi(then installing from the option in the bottom menu bar). A week or two ago I noticed that the “System Upgrade” option was clickable. I’m not completely certain but I’m pretty sure I’ve never seen it clickable until then, much less notice it was there(don't ask me how I never noticed the option, I'm clearly dumb ha).

I'm using Cachy and while Octopi is mentioned as a way to update things in their wiki, the way section is written is a little confusing.

In the main window, click on the Check updates button (Top left), now next to it System upgrade.

I'm assuming it doesn't matter which option is selected given that the wiki says to click on "Check updates" (not to mention that it took me this long to notice the specific upgrade option) but figured it couldn't hurt to try and get a little more clarity.

Thanks!

@aarnt
Copy link
Owner

aarnt commented Jan 4, 2025

Hi @sortofsleepy
Thanks for using Octopi.

Answering your question: Yes, there is a difference.

"Check Updates" or clicking "Ctrl+K", uses the "/usr/bin/checkupdates" tool, which is a bash script that wraps a call for "pacman -Sy" in a chroot envinronment, so we don't need to worry about "partial upgrades".

After that, if there are updates available, "System upgrade" ("Ctrl+U") button becomes enabled, so you can start upgrading your computer.

But it's totally ok if you keep using the bottom menu bar if you like it, instead of "Ctrl+U".

TLDR: Yes, they are different. First, use "Ctrl+K" to check for updates and if any available, just "Ctrl+U" them!

@aarnt aarnt closed this as completed Jan 4, 2025
@sortofsleepy
Copy link
Author

Thanks for clearing that up! I had assumed both options essentially end up at the same place but I just wanted to be sure of things and was a tiny bit worried I hadn't been keeping the core OS stuff updated.

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

2 participants