Morganamilo / paru

Feature packed AUR helper
GNU General Public License v3.0
6.25k stars 238 forks source link

PKGBUILD repo packages are not in AUR even if they are #1099

Closed yochananmarqos closed 11 months ago

yochananmarqos commented 11 months ago

Note that I maintain modified AUR packages in my own package group called modified.

IgnoreGroup = modified

I understand that the PKGBUILD repo takes precedence over the AUR, so I'm not sure how this could be addressed.

Affected Version

paru -V

paru v2.0.1 - libalpm v13.0.2

Description

Have you checked previous issues?

Yes

Output

Include the FULL output of any relevant commands/configs

Don't cut parts of the input always include the FULL thing

With PKGBUILD repo enabled: ```sh :: Synchronizing package databases... core is up to date extra is up to date multilib is up to date teejeetech-baqpaq is up to date sublime-text is up to date :: Starting full system upgrade... there is nothing to do :: Downloading PKGBUILD Repos... (1/1) pkgbuilds [----------------------------------------]:: Looking for PKGBUILD upgrades... :: Looking for AUR upgrades... :: Looking for devel upgrades... warning: geany-themes-git: ignoring package upgrade (1.24.r59.g19f8bcb-1 => 1.24.57.gc174137-1) warning: nedots: ignoring package upgrade (0.1.7-1 => 1.0.2-3) warning: text-engine: ignoring package upgrade (0.1.1-1 => 0.1.1-3) :: packages not in the AUR: 4pane annotator anoise-gui anoise-media bible blue-recorder-git castor catt catt-qt chob dailyverse-cli-git devtools eddie-ui efibooteditor efiboots-git extension-manager fx_cast-bin gdm-settings gnome-extensions-cli gnome-session-properties gnome-shell-extension-alphabetical-grid-extension-git gnome-shell-extension-bluetooth-quick-connect-git gnome-shell-extension-lockkeys-git gnome-shell-extension-panel-corners-git gnome-shell-extension-settingscenter gpu-viewer gst-plugin-gtk4 hardcode-fixer-git heroic-games-launcher-bin icoextract legendary letterpress lpt-service-manager lpt-service-manager-assets mangl-git mp3tag nautilus-copy-path notejot noti nvidia-only-gdm onetagger opencl-caps-viewer paru protonup-git pwvucontrol-git python-gtts python-manimpango python-plexapi-girens python-proxy_tools python-pychromecast python-pywebview python-types-python-dateutil qadwaitadecorations-qt5-git qadwaitadecorations-qt6-git qt5-wayland-decorations rare refind-theme-regular-git sif-git simple-wireplumber-gui skiff-desktop smile spacedrive-git system76-power-git toggle-git ugit whoogle-search zsh-auto-notify-git :: marked out of date: eartag gpgfrontend hydrapaper-git jdownloader2 python-textual :: orphans: jdownloader2 there is nothing to do ```
Without PKGBUILD repo enabled: ```sh :: Synchronizing package databases... core is up to date extra is up to date multilib is up to date teejeetech-baqpaq is up to date sublime-text is up to date :: Starting full system upgrade... there is nothing to do :: Looking for PKGBUILD upgrades... :: Looking for AUR upgrades... :: Looking for devel upgrades... warning: castor: ignoring package upgrade (0.9.0-2 => 0.9.0-3) warning: catt: ignoring package upgrade (0.12.11-2 => 0.12.11-3) warning: catt-qt: ignoring package upgrade (4.0-3 => 4.0-4) warning: fx_cast-bin: ignoring package upgrade (0.3.0-1 => 0.3.0-3) warning: gdm-settings: ignoring package upgrade (4.1-1 => 4.1-2) warning: geany-themes-git: ignoring package upgrade (1.24.r59.g19f8bcb-1 => 1.24.57.gc174137-1) warning: gnome-extensions-cli: ignoring package upgrade (0.9.5+9+g5ebc489-1 => 0.9.6-1) warning: hardcode-fixer-git: ignoring package upgrade (r545.ba5d874-1 => 2.0-1) warning: icoextract: ignoring package upgrade (0.1.4-1 => 0.1.4-2) warning: legendary: ignoring package upgrade (0.20.33-2 => 0.20.33-5) warning: nautilus-copy-path: ignoring package upgrade (1.10.2-1 => 1.10.2-2) warning: nedots: ignoring package upgrade (0.1.7-1 => 1.0.2-3) warning: noti: ignoring package upgrade (3.7.0-1 => 3.7.0-2) warning: text-engine: ignoring package upgrade (0.1.1-1 => 0.1.1-3) :: packages not in the AUR: bible chob devtools gnome-shell-extension-settingscenter letterpress lpt-service-manager lpt-service-manager-assets nvidia-only-gdm pwvucontrol-git simple-wireplumber-gui skiff-desktop whoogle-search zsh-auto-notify-git :: marked out of date: eartag extension-manager gpgfrontend hydrapaper-git jdownloader2 python-plexapi-girens python-pywebview python-textual :: orphans: jdownloader2 there is nothing to do ```

paru.conf and pacman.conf are usually always relevant

/etc/paru.conf ```sh # # $PARU_CONF # /etc/paru.conf # ~/.config/paru/paru.conf # # See the paru.conf(5) manpage for options # # GENERAL OPTIONS # [options] PgpFetch Devel Provides DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil #AurOnly #BottomUp RemoveMake SudoLoop #UseAsk #SaveChanges #CombinedUpgrade #CleanAfter UpgradeMenu #NewsOnUpgrade SkipReview #LocalRepo #Chroot #Sign #SignDb #KeepRepoCache # # Binary OPTIONS # #[bin] #FileManager = vifm #MFlags = --skippgpcheck #Sudo = doas [pkgbuilds] Url = https://github.com/yochananmarqos/pkgbuilds SkipReview #[pkgbuilds] #Path = /mnt/storage/pkgbuilds #SkipReview ```
/etc/pacman.conf ```sh # # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives # # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ CacheDir = /var/cache/pacman/pkg/ CacheDir = /var/cache/makepkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ #HookDir = /etc/pacman.d/hooks/ HoldPkg = pacman glibc manjaro-system # If upgrades are available for these packages they will be asked for first SyncFirst = manjaro-system archlinux-keyring manjaro-keyring #XferCommand = /usr/bin/curl -L -C - -f -o %o %u #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled Architecture = auto #IgnorePkg = #IgnorePkg = IgnoreGroup = modified #NoUpgrade = #NoExtract = # Misc options #UseSyslog Color #NoProgressBar CheckSpace VerbosePkgLists ParallelDownloads = 4 ILoveCandy # By default, pacman accepts packages signed by keys that its local keyring # trusts (see pacman-key and its man page), as well as unsigned packages. SigLevel = Required DatabaseOptional LocalFileSigLevel = Optional #RemoteFileSigLevel = Required # NOTE: You must run `pacman-key --init` before first using pacman; the local # keyring can then be populated with the keys of all official Manjaro Linux # packagers with `pacman-key --populate archlinux manjaro`. # # REPOSITORIES # - can be defined here or included from another file # - pacman will search repositories in the order defined here # - local/custom mirrors can be added here or in separate files # - repositories listed first will take precedence when packages # have identical names, regardless of version number # - URLs will have $repo replaced by the name of the current repo # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. # [core] Server = https://mirrors.manjaro.org/repo/unstable/$repo/$arch #Include = /etc/pacman.d/mirrorlist [extra] Server = https://mirrors.manjaro.org/repo/unstable/$repo/$arch #Include = /etc/pacman.d/mirrorlist # If you want to run 32 bit applications on your x86_64 system, # enable the multilib repositories as required here. [multilib] Server = https://mirrors.manjaro.org/repo/unstable/$repo/$arch #Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. #[custom]```sh # # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives # # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ CacheDir = /var/cache/pacman/pkg/ CacheDir = /var/cache/makepkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ #HookDir = /etc/pacman.d/hooks/ HoldPkg = pacman glibc manjaro-system # If upgrades are available for these packages they will be asked for first SyncFirst = manjaro-system archlinux-keyring manjaro-keyring #XferCommand = /usr/bin/curl -L -C - -f -o %o %u #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled Architecture = auto #IgnorePkg = #IgnorePkg = IgnoreGroup = modified #NoUpgrade = #NoExtract = # Misc options #UseSyslog Color #NoProgressBar CheckSpace VerbosePkgLists ParallelDownloads = 4 ILoveCandy # By default, pacman accepts packages signed by keys that its local keyring # trusts (see pacman-key and its man page), as well as unsigned packages. SigLevel = Required DatabaseOptional LocalFileSigLevel = Optional #RemoteFileSigLevel = Required # NOTE: You must run `pacman-key --init` before first using pacman; the local # keyring can then be populated with the keys of all official Manjaro Linux # packagers with `pacman-key --populate archlinux manjaro`. # # REPOSITORIES # - can be defined here or included from another file # - pacman will search repositories in the order defined here # - local/custom mirrors can be added here or in separate files # - repositories listed first will take precedence when packages # have identical names, regardless of version number # - URLs will have $repo replaced by the name of the current repo # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. # [core] Server = https://mirrors.manjaro.org/repo/unstable/$repo/$arch #Include = /etc/pacman.d/mirrorlist [extra] Server = https://mirrors.manjaro.org/repo/unstable/$repo/$arch #Include = /etc/pacman.d/mirrorlist # If you want to run 32 bit applications on your x86_64 system, # enable the multilib repositories as required here. [multilib] Server = https://mirrors.manjaro.org/repo/unstable/$repo/$arch #Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. #[custom] #SigLevel = Optional TrustAll #Server = file:///home/custompkgs [teejeetech-baqpaq] SigLevel = PackageRequired Server = # paid application [sublime-text] Server = https://download.sublimetext.com/arch/stable/ #SigLevel = Optional TrustAll #Server = file:///home/custompkgs [teejeetech-baqpaq] SigLevel = PackageRequired Server = # paid application [sublime-text] Server = https://download.sublimetext.com/arch/stable/x86_64 ```
yochananmarqos commented 11 months ago

Well... yes and no. Now it properly shows the packages that are not actually in the AUR, but now it's not warning me which local modified AUR packages are newer than the AUR--except for the three it already was. See the with / without above.

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
 teejeetech-baqpaq is up to date
 sublime-text is up to date
:: Starting full system upgrade...
 there is nothing to do

:: Downloading PKGBUILD Repos...
 (1/1) pkgbuilds                                     [----------------------------------------]:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
warning: geany-themes-git: ignoring package upgrade (1.24.r59.g19f8bcb-1 => 1.24.57.gc174137-1)
warning: nedots: ignoring package upgrade (0.1.7-1 => 1.0.2-3)
warning: text-engine: ignoring package upgrade (0.1.1-1 => 0.1.1-3)
:: packages not in the AUR: bible  chob  devtools  letterpress  lpt-service-manager  
    lpt-service-manager-assets  pwvucontrol-git  simple-wireplumber-gui  zsh-auto-notify-git
:: marked out of date: eartag  gpgfrontend  hydrapaper-git  jdownloader2  python-textual
:: orphans: jdownloader2
 there is nothing to do
Morganamilo commented 11 months ago

Ah whoops. Guess it needs to be a bit more contextual.

Morganamilo commented 11 months ago

Okay reading through this again, I'm not sure what you want exactly. If these packages are in your pkgbuild repo then they're not AUR packages.

yochananmarqos commented 11 months ago

Some are, actually. This one might look familiar. :wink:

Morganamilo commented 11 months ago

I mean the pkgbuillds have priority. They shadow the aur packages like if a repo and an air package had the same same.

yochananmarqos commented 11 months ago

Right, it's working as intended in that regard.

I guess I don't actually have to add my modified PKGBUILDs to my modified group anymore as long as they're in my PKGBUILD repo. However, I would like to know if any of the AUR packages are newer than my local modified packages.

By the way, what I'm doing isn't too crazy or anything. It's even mentioned in the Arch Wiki.

Morganamilo commented 11 months ago

However, I would like to know if any of the AUR packages are newer than my local modified packages.

guess you could just have another paru config and and -Qua with that to check. I'm not sure what your best angle is here but paru won't be supporting it as it would add another complicated angle.

yochananmarqos commented 11 months ago

guess you could just have another paru config and and -Qua with that to check.

That's a great idea. 👍

I understand about not supporting it. Thanks, anyway.

yochananmarqos commented 11 months ago

Um... I assumed there was a way to specify a custom paru.conf like the PacmanConf setting for a custom pacman.conf, but I don't see anything in the man pages about it. Apparently I missed something?

Morganamilo commented 11 months ago

There's no flag but there's an env var PARU_CONF.

yochananmarqos commented 11 months ago

Oh, okay. So something like the following?

PARU_CONF=/path/to/custom-paru.conf paru -Qua