https://wiki.archlinux.org/title/Genera … bumping%22
Closing.
]]>kmille@linbox:~ pacman -Si linux
Repository : core
Name : linux
Version : 5.15.7.arch1-1
Description : The Linux kernel and modules
Architecture : x86_64
URL : https://github.com/archlinux/linux/commits/v5.15.7-arch1
Licenses : GPL2
Groups : None
Provides : VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE
Depends On : coreutils kmod initramfs
Optional Deps : crda: to set the correct wireless channels of your country
linux-firmware: firmware images needed for some devices
Conflicts With : None
Replaces : virtualbox-guest-modules-arch wireguard-arch
Download Size : 130.22 MiB
Installed Size : 135.23 MiB
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : Wed 08 Dec 2021 03:33:16 PM CET
Validated By : MD5 Sum SHA-256 Sum Signature
kmille@linbox:~ pacman -Si yay
error: package 'yay' was not found
comm -23 <(sort -u needed_pkg_list) <(sort -u <(wget -q -O - https://aur.archlinux.org/packages.gz | gunzip) <(pacman -Ssq))
Time says:
real 0m1.569s
user 0m0.023s
sys 0m0.013s
Of course this time will be highly dependent on your internet connection - I'm on a fairly mediocre connection at the moment. The plus side is it will not be affected noticably by the size of the "needed_pkg_list" file.
]]>If anyone thinks of an efficient way to get a list of AUR packages, let me know. I'm going to use the fallback method for now.
Maybe not needed anymore, but a complete list of AUR packages is available at https://aur.archlinux.org/packages.gz
Seems to be regenerated every hour.
]]>pacman -Ssq firefox | grep "^firefox$"
?
]]>pacman -Ss package_name | grep -v ' ' | gawk -F '/' '{print $2}' | gawk '{print $1}' > result
grep "^package_name$" result
rm -f result
Xyne wrote:I've added a script named pkg-simple_search to my pkg_scripts package.
Would it be possible to mention such changes in the news on your website and the feed?
I don't think xyne spelled backwards says 'lazy' ;P
http://xyne.archlinux.ca/news/#update
And with that the derailment of this thread is complete.
So, who's tried poutine?
]]>I've added a script named pkg-simple_search to my pkg_scripts package.
Would it be possible to mention such changes in the news on your website and the feed?
I don't think xyne spelled backwards says 'lazy' ;P
]]>Xyne wrote:jasonwryan wrote:OT: Is there anywhere these are hosted where I can browse the source?
You can download the archives here: http://xyne.archlinux.ca/projects/pkg_scripts/src/
Ta: I was being lazy and hoping for a web type thing
Yeah, I figured. There is no web type thing because I'm lazy too.
]]>jasonwryan wrote:OT: Is there anywhere these are hosted where I can browse the source?
You can download the archives here: http://xyne.archlinux.ca/projects/pkg_scripts/src/
Ta: I was being lazy and hoping for a web type thing
]]>OT: Is there anywhere these are hosted where I can browse the source?
You can download the archives here: http://xyne.archlinux.ca/projects/pkg_scripts/src/
]]>I've added a script named pkg-simple_search to my pkg_scripts package. It will search for exact matches in the repos and the AUR. You can use the options to either return a simple list of the packages found or a list of packages along with their locations.
OT: Is there anywhere these are hosted where I can browse the source?
]]>The following returns only the single exact match:
pacman -Ss ^firefox$
Nope:
$ pacman -Ss ^firefox$
extra/firefox 34.0.5-1 [installed]
Standalone web browser from mozilla.org
archlinuxcn/firefox-kde-opensuse 34.0.5-1
Standalone web browser from mozilla.org with OpenSUSE patch, integrate better with KDE
$ pacman -Si firefox-kde-opensuse | grep firefox$
Conflicts With : firefox
'pacman -Ss' searches all fields, that's why you have to weed out false positives with e.g. grep or use expac:
$ expac "%n" -S firefox
firefox
Edit: For AUR, try https://aur.archlinux.org/packages/aurlist/
]]>