dhruv8sh / arch-update-checker

Plasma 6 applet to check for AUR and Arch updates
GNU General Public License v2.0
70 stars 5 forks source link

Update checker can't get Arch repo updates with CachyOS repos #57

Closed OlegAckbar closed 6 days ago

OlegAckbar commented 2 weeks ago

It only shows updates for the AUR packages изображение I think the problem might be in the parsing of pacinfo output. For me, it looks like this:

Name:           libgcrypt
Base:           libgcrypt
Repository:     local
Version:        1.10.3-1.1
Description:    General purpose cryptographic library based on the code from GnuPG
Architecture:   x86_64
URL:            https://www.gnupg.org
Licenses:       LGPL
Requires:       libgpg-error
Package Size:   0.00 B
Download Size:  0.00 B
Installed Size: 1.74 M
Packager:       CachyOS <admin@cachyos.org>
Build Date:     2023-11-19 13:16:54
Install Date:   2024-02-17 17:26:26
Install Script: No
Install Reason: Dependency
Validated By:   Signature

Name:           libgcrypt
Base:           libgcrypt
Repository:     cachyos-core-v3
File:           libgcrypt-1.11.0-1.1-x86_64.pkg.tar.zst
Version:        1.11.0-1.1
Description:    General purpose cryptographic library based on the code from GnuPG
Architecture:   x86_64
URL:            https://www.gnupg.org
Licenses:       BSD-3-Clause AND (BSD-3-Clause OR GPL-2.0-only) AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later AND MIT-Modern-Variant
Requires:       libgpg-error
Requires:       glibc
Package Size:   863.29 K
Download Size:  863.29 K
Installed Size: 2.29 M
Packager:       CachyOS <admin@cachyos.org>
Build Date:     2024-06-21 07:21:34
SHA-256 Sum:    f246c985e4fe36d915d379696ffce84cec9ace5f84396a36d52b0def15289e4e

Name:           libgcrypt
Base:           libgcrypt
Repository:     core
File:           libgcrypt-1.11.0-1-x86_64.pkg.tar.zst
Version:        1.11.0-1
Description:    General purpose cryptographic library based on the code from GnuPG
Architecture:   x86_64
URL:            https://www.gnupg.org
Licenses:       BSD-3-Clause AND (BSD-3-Clause OR GPL-2.0-only) AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later AND MIT-Modern-Variant
Requires:       libgpg-error
Requires:       glibc
Package Size:   697.40 K
Download Size:  697.40 K
Installed Size: 1.82 M
Packager:       Andreas Radke <andyrtr@archlinux.org>
Build Date:     2024-06-19 22:04:24
SHA-256 Sum:    d6cbcd91370322375eec6098cda1a83db77234898da48f5084285a373edca27c

Name:           libgpg-error
Base:           libgpg-error
Repository:     local
Version:        1.49-1.1
Description:    Support library for libgcrypt
Architecture:   x86_64
URL:            https://www.gnupg.org
Licenses:       LGPL-2.1-or-later
Licenses:       BSD-3-Clause OR LGPL-2.1-or-later
Licenses:       FSFULLR
Licenses:       GPL-2.0-or-later
Requires:       glibc
Requires:       sh
Package Size:   0.00 B
Download Size:  0.00 B
Installed Size: 1.08 M
Packager:       CachyOS <admin@cachyos.org>
Build Date:     2024-04-28 15:15:38
Install Date:   2024-04-29 22:41:48
Install Script: No
Install Reason: Dependency
Validated By:   SHA-256
Validated By:   Signature

Name:           libgpg-error
Base:           libgpg-error
Repository:     cachyos-core-v3
File:           libgpg-error-1.50-1.1-x86_64.pkg.tar.zst
Version:        1.50-1.1
Description:    Support library for libgcrypt
Architecture:   x86_64
URL:            https://www.gnupg.org
Licenses:       LGPL-2.1-or-later
Licenses:       BSD-3-Clause OR LGPL-2.1-or-later
Licenses:       FSFULLR
Licenses:       GPL-2.0-or-later
Requires:       glibc
Requires:       sh
Package Size:   271.15 K
Download Size:  271.15 K
Installed Size: 1.10 M
Packager:       CachyOS <admin@cachyos.org>
Build Date:     2024-06-21 07:21:34
SHA-256 Sum:    e1ca5352e10d1908129b5b938252ec9c410146bfcd568b8c30c36a96da41f590

Name:           libgpg-error
Base:           libgpg-error
Repository:     core
File:           libgpg-error-1.50-1-x86_64.pkg.tar.zst
Version:        1.50-1
Description:    Support library for libgcrypt
Architecture:   x86_64
URL:            https://www.gnupg.org
Licenses:       LGPL-2.1-or-later
Licenses:       BSD-3-Clause OR LGPL-2.1-or-later
Licenses:       FSFULLR
Licenses:       GPL-2.0-or-later
Requires:       glibc
Requires:       sh
Package Size:   261.93 K
Download Size:  261.93 K
Installed Size: 1.07 M
Packager:       Andreas Radke <andyrtr@archlinux.org>
Build Date:     2024-06-19 22:10:07
SHA-256 Sum:    ca3d75a8fc3b9016feaca2857ac69d6878e5032071835432ae6791b03198c017
Martan404 commented 1 week ago

https://github.com/dhruv8sh/arch-update-checker/issues/51

OlegAckbar commented 1 week ago

Huh, I had pacman-contrib and pacutils back then but now it works just fine.

dhruv8sh commented 6 days ago

In the new refactors I just committed, this should not be an issue. The applet asks you to install the requirements if not done already. Should be fine from now on.