Actually. I just realized, I can compare the version of the sync db packages vs. the local one and place a warning message prior to installation to avoid partial upgrade situations
Either I or you have been misunderstanding something.
Can you explain the detail on this?
Do you intend to check remote DBs versions or DB timestamp or what?
What I mean is:
If the Sync DB was updated by doing âpacman -Syâ (so without installing updates)
And a user tries to install a package xyz, I can check if ALL installed packages in the local DB (so the installed ones) have the same version as in the sync DB.
If there are any packages in the sync DB that have a higher version than local, I can send put a warning.
(Regardless of the package what they try to install. Just to avoid partial updates)
edit
For the AUR ones, I can check them against the locally installed version as well.
Really like the TUI and the functionality. I agree that iâd rather run this program than have to go search the aur website or run a yay search and scroll up a giant list of terminal output with less information. Way to go!
This is a self-destruction command. No distro could possibly use or advise this usage. If a user wants to play God and destroy his system, you, me, nobody can beam-shield his system to protect it from its Master .
A warning? What can a warning do against the self-destructive admin?
You can achieve the same level of protection, without the hassle of searching, comparing etc, if you use -Su
permanently. You can even advise the users for this usage. I am doing it now .
Magic
sudo pacman -S pacseek
resolving dependencies...
looking for conflicting packages...
Packages (1) pacseek-0.2.0-1
Total Download Size: 2,50 MiB
Total Installed Size: 6,12 MiB
:: Proceed with installation? [Y/n]
Summary
The mirrors need some time to sync.
Summary
v1.0.0 is out.
Change-log(s) can be seen here:
I was able to build this on Raspberry Pi, in case you want to add it in the pkgbuild.
Ok, cool. Will add that with the next update.
Well done! Too convenient utility!
My only issue is the upgrade commands fail for some reason. Could it be that my system is up-to-date or something else?
It gives this with both upgrade commands
exec: not started
Press ENTER to return to pacseek
A small cosmetic proposal is a simple --help
option/parameter, as it is too usual in most programs, even GI ones. Just this, outputing the current help page:
pacseek --help
Hmm. What is the upgrade command(s) you are using?
Thank you for this.
The CTRL+A: Perform AUR upgrade (if configured)
Shouldnât that command be âyay -Syuaâ to only perform an AUR upgrade?
In pamac there is also the link to
https://aur.archlinux.org/packages/pacseek
I use that to check if there is something wrong with the AUR package, so I would like to have it in the info box, like the URL.
There seems to be no way to copy any text or link from the info box. Would that be possible to make?
I wouldnât expect the y to be needed - yay -Sua works fine for AUR-only updates (for the past couple of years, anyway).
I was referring to the pacseek settings where there is no a, but only âyay -Syuâ
Itâs simply copied over from the âInstall commandâ when you activate âUse separate commandsâŚâ option. Iâm assuming the user has a good reason to enable it in the first place and hence will put his/her customized command anywaysâŚ
Makes sense. Iâll probably add it at the bottom. thanks.
Iâll have to check that. Might be messing with keybindings and stuff when I make things selectable there. But the URL(s) you can just CTRL+ Click to open directly in the browser.
customized command anywaysâŚ
hehe, ok
CTRL+ Click to open directly in the browser.
Thanks, didnât know that.
That is when there is something wrong with the command that was run. (E.g. command does not exist or something)
Now, in the current update, the execution of commands has improved where you can even to things like:
echo "Removing {pkg}"; echo "You have 10 seconds to cancel... press CTRL+C"; yay -S {pkg}; echo "Package {pkg} has been installed."; sleep 10
({pkg} substitution is only relevant for innstall / remove of courseâŚ)
Itâll replace {pkg}
with the selected package nameâŚ
The reason there is no real help is that there is just one argument at the moment.
But here you go:
I definitely have to add some FAQ, Wiki, manpage stuff though.
(Coding/Implementing new stuff is just way more attractive than writing documentation )
New release btw.
Iâm running pacseek on two laptops and a desktop so Iâm in it at least daily. For routine package management chores I use it more often than pamac or terminal. If it has any bugs I havenât found them yet.
Is there a limitation of the found matches?
Searching for ttf ends with ttf-creepster but searching for ttf-e gives
ttf-eadui
ttf-ebgaramond
âŚetc
Jo