A replacement for Octopi, pamac and the rest of the similar tools

rado84

Well-Known Member
Joined
Feb 25, 2019
Messages
1,083
Reaction score
921
Credits
8,303
I made... well, not exactly. More like "an AI gave me the code template, then I edited it and came up with this replacement". Why? Because pamac doesn't always work as expected, pamac-classic is dead and burried (unfortunately), Octopi works perfectly on some systems, on other systems it behaves like a rebelious teenager. Plus, many of these tools have too many dependencies, if one of them is broken or not updated, the tool might refuse to launch and whatnot.

This tool is meant for Arch Linux but it SHOULD work on all distros that use pacman.

So I decided I needed something simpler that has only 3 or 4 dependencies, is just a few kibibytes and does exactly the same as octopi and the similar tools - display the packages waiting to be updated (including those from AUR) AND that didn't need to be compiled.

But unlike the other tools, it does just that: displaying. Nothing else. The update itself - that you have to do yourself via terminal. I made it like this on purpose.

Also, I made the tool mostly for me. The fact that I'm sharing it doesn't mean I'll change it by request OR that I'm forcing you to use it. It's 100% FOSS with the MIT License, so if you want it to be different - change it yourselves, if you know how.

The tool is available for GTK3 and QT6. With a slight edit of the code it can be turned into GTK4 or QT5, if you prefer.

It can be started either using the included in the archive bash script or by

Code:
python3 updates-gtk3.py

or

Code:
python3 updates-qt6.py

You can make a .desktop file with an icon of your choice and you gotta put one of these two commands on the Exec= line. If you enter the path to the .sh script itself, it won't launch. IDK why, it's just the way it is.

More details and screenshots of the tool - on its github page:


One important final note: the tool is set to work with trizen. If you're using something else, open the .py file with any text editor and use CTRL+F to find the word "trizen" and replace it with the name of the AUR helper you're using, then save the .py file.
 
Last edited:


Thanks for sharing. :)

Just an FYI - the yellow text near bottom is fine in Dark Test mode and Solarised Dark, but very had to see in Default Mode.

The blue I use in my signature works fine in all modes.

HTH

Wizard
 
Thanks for sharing. :)

Just an FYI - the yellow text near bottom is fine in Dark Test mode and Solarised Dark, but very had to see in Default Mode.

The blue I use in my signature works fine in all modes.

HTH

Wizard
I changed it to red. Is that OK? I've been using dark themes everywhere for so long (longer than 20 years, even before Linux) that I keep forgettin' pages actually have white themes.
 
Cool, luv the signature.

Avagudweegend

Wiz
 
Cool, luv the signature.

Avagudweegend

Wiz
There's a reason for the second part of the signature. Developers always "fix" things that work just fine and after their "fix" nothing ever works properly and they don't know why. That's why to me the word "developer" is an insult.
 


Follow Linux.org


Top