RaphaelRochet / arch-update

Update indicator for ArchLinux and Gnome-Shell
https://extensions.gnome.org/extension/1010/archlinux-updates-indicator/
GNU General Public License v3.0
232 stars 69 forks source link

AUR : pamac issue #224

Closed Pommede closed 1 year ago

Pommede commented 1 year ago

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 ;-)

RaphaelRochet commented 1 year ago

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"
Pommede commented 1 year ago

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..

RaphaelRochet commented 1 year ago

Does pamac checkupdates -aq works in a terminal ?

Pommede commented 1 year ago

yep

RaphaelRochet commented 1 year ago

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

Pommede commented 1 year ago

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 ?

RaphaelRochet commented 1 year ago

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

Pommede commented 1 year ago

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

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

Pommede commented 1 year ago

Capture d’écran du 2023-10-30 19-51-34

RaphaelRochet commented 1 year ago

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

Pommede commented 1 year ago

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 !

RaphaelRochet commented 1 year ago

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

Pommede commented 1 year ago

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

RaphaelRochet commented 1 year ago

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 ....

Pommede commented 1 year ago

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