RaphaelRochet/arch-update

AUR : pamac issue

Closed this issue · 15 comments

when i put /usr/bin/checkupdates; pamac checkupdates -aq
it says that i need pamac-contrib to use the script 'checkupdates'
but ihave it already... :-(

i tried /usr/bin/checkupdates ; pamac checkupdates -aq and /usr/bin/checkupdates && pamac checkupdates -aq
nothing happened

sorry i'm a newbie ;-)

Hi,
Did you have a look on the wiki ?
Looks like pamac does official repos + aur

pamac

Check command : pamac checkupdates -aq
Update command : gnome-terminal -- sh -c  "pamac-manager --updates"

euh..that's what i did ??
and when i only put pamac checkupdates -aq, it says no such a file or directory...
on check command...update command is ok..

Does pamac checkupdates -aq works in a terminal ?

yep

Ok. Should work then. Something's wrong somewhere ;)
Plz attach screenshots of your extension setup and error messages. Maybe I'd spot something ...

how do i have to write it ?
/usr/bin/checkupdates; pamac checkupdates -aq or
/usr/bin/checkupdates ; pamac checkupdates -aq or
/usr/bin/checkupdates && pamac checkupdates -aq ?

According to the person who contributed to the wiki pamac checkupdates -aq is enough

Capture d’écran du 2023-10-30 19-47-56

sorry in french...when i wrote only pamac checkupdates -aq

Maybe try this : /usr/bin/pamac checkupdates -aq
( You can check in a terminal with whereis pamac if /usr/bin/pamac is right )

yeah it's working ;-) but...when i do a sudo pacman -Syu in the term, i've 3 updates this morning
with pamac only 2...a repo issue ?
Thks a lot for your time !

Probably an AUR update. pamac looks for both official and aur. Pacman checks only official.

it's the opposite that's why i ask ;-)
sudo pacman -Syu 3 updates
/usr/bin/pamac checkupdates -aq and /usr/bin/checkupdates, 2 updates

Oh ... maybe a repo refresh difference.
pacman -Syyu will force refresh, while pacman -Syu may not.
The script checkupdates will not force if run too often (calls pacman with one 'y' option).
There may be a similar option with pamac ....

i've got 3 now !
yes probably a refresh or an update from a repo...
Again thks a lot!