URL=http://us.mirror.archlinuxarm.org/armv6h/
DIRS=$(curl $URL 2>/dev/null |grep ">Directory<" |grep -v "Parent Directory" | perl -p -e 's/.*href="([^"]+)".*/$1/g')
COUNT="0"
for ADIR in $DIRS; do
N=$(curl $URL$ADIR 2>/dev/null | grep ".pkg.tar.xz" | wc -l | perl -p -e 's/[^0-9]+//g')
COUNT=$COUNT"+$N";
done
echo $COUNT | bc
#4604
Counting Packages
SBC with 32GB RAM: https://hardkernel.com
FAQ : https://raspberrypi.stackexchange.com
Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered
FAQ : https://raspberrypi.stackexchange.com
Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered
Re: Counting Packages
or
wget --spider --force-html -r -l1 http://us.mirror.archlinuxarm.org/armv6h/ 2>&1 | grep 'Saving to:' | perl -p -e 's/.* .(.*).$/$1/g;s/index.html//g' | while read LINE; do wget -O - http://$LINE 2>/dev/null | grep .pkg.tar.xz; done | wc -l
#4604
SBC with 32GB RAM: https://hardkernel.com
FAQ : https://raspberrypi.stackexchange.com
Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered
FAQ : https://raspberrypi.stackexchange.com
Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered
Re: Counting Packages
Does this mean that none of the packages I have downloaded in advance from:
http://us.mirror.archlinuxarm.org/arm/
will work on the new image? Do I have to start all over again because all packages have to be coded for hard float?
BTW, I counted 4968 packages that end in xz in the plain arm mirror as of about 9 hours ago.
Pi has not come yet.
http://us.mirror.archlinuxarm.org/arm/
will work on the new image? Do I have to start all over again because all packages have to be coded for hard float?
BTW, I counted 4968 packages that end in xz in the plain arm mirror as of about 9 hours ago.
Pi has not come yet.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B
Re: Counting Packages
Yes 
Actually the packages are not coded for hard float. The have to be compiled again to work with hard float. If you're wondering how the packages are rebuild you may want to look at: https://wiki.archlinux.org/index.php/ABS
Regards,
Maribu

Actually the packages are not coded for hard float. The have to be compiled again to work with hard float. If you're wondering how the packages are rebuild you may want to look at: https://wiki.archlinux.org/index.php/ABS
Regards,
Maribu
Re: Counting Packages
There are 2 separate repos
http://us.mirror.archlinuxarm.org/arm/
http://us.mirror.archlinuxarm.org/armv6h/
http://us.mirror.archlinuxarm.org/arm/
http://us.mirror.archlinuxarm.org/armv6h/
Re: Counting Packages
Thank you both, I am trying to keep from groaning, thinking about having to redo the downloads, but have written some scripts that will help me automate the process.
For those whose Pis will have Internet access, and high speed connections, it is not such a big deal, but I have neither.
But I do see about 20 files I have gotten from the old repository, that end with "any.pkg.tar.xz", those should be okay, shouldn't they? Isn't that what "any" means?
Thanks!
For those whose Pis will have Internet access, and high speed connections, it is not such a big deal, but I have neither.
But I do see about 20 files I have gotten from the old repository, that end with "any.pkg.tar.xz", those should be okay, shouldn't they? Isn't that what "any" means?
Thanks!
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B
Re: Counting Packages
Yes, any means both, or even x86
Re: Counting Packages
I've encountered a couple of instances where there are packages missing from the official armv6h repos, which come up in the package search at the Arch Linux ARM site. No "showstoppers" from my perspective (and sadly I can't remember specific examples), and I imagine the "hard float" Arch will catch up in time, but I think it's as well to be aware of the minor differences in packages currently available.
For me, it's still worth running "hard float" Arch, just to gain the performance increase
For me, it's still worth running "hard float" Arch, just to gain the performance increase

---
Raspberry Pi Model 3B+ (2019) ("ayeka") - CentOS
Raspberry Pi Zero W (2018) ("mass") - Raspbian
Raspberry Pi Model B (1st-gen - 2012) ("ryo-ohki") - Arch Linux ARM
---
Raspberry Pi Model 3B+ (2019) ("ayeka") - CentOS
Raspberry Pi Zero W (2018) ("mass") - Raspbian
Raspberry Pi Model B (1st-gen - 2012) ("ryo-ohki") - Arch Linux ARM
---
Re: Counting Packages
Thanks Pepedog, that is good news about the "any" packages.
@tawalker: About packages at the old archlinuxarm vs. the armv6h repositories, I see four I have the soft float versions of, which are not available for armv6h:
dia
epdfview
kspread
tightvnc
I may have to use the old March image I still have a copy of, when I want to run dia or tightvnc...there may be some alternate packages that will meet my needs in armv6h, but dia and tightvnc are fairly unique in certain respects.
Different people do the packages for arm and armv6h?
@tawalker: About packages at the old archlinuxarm vs. the armv6h repositories, I see four I have the soft float versions of, which are not available for armv6h:
dia
epdfview
kspread
tightvnc
I may have to use the old March image I still have a copy of, when I want to run dia or tightvnc...there may be some alternate packages that will meet my needs in armv6h, but dia and tightvnc are fairly unique in certain respects.
Different people do the packages for arm and armv6h?
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B
Re: Counting Packages
No, it's the same guy. He's working thru difficult stuff now.
If you are sure something is missing, post here
https://github.com/archlinuxarm/PKGBUILDs/issues
If you are sure something is missing, post here
https://github.com/archlinuxarm/PKGBUILDs/issues
Re: Counting Packages
That is good news, patience should pay off.
I was just able to sign up for github but am afraid to post as it says my email will be public and the help files make no sense at all. I will just wait.
I was just able to sign up for github but am afraid to post as it says my email will be public and the help files make no sense at all. I will just wait.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B
Re: Counting Packages
dia has glib.h problems
Kspread, part of koffice, this has been dropped from upstream arch
Epdfview, problems with latest cups
Tightvnc, looking into that
Kspread, part of koffice, this has been dropped from upstream arch
Epdfview, problems with latest cups
Tightvnc, looking into that
Re: Counting Packages
Thanks so much Pepedog. I hope dia can get fixed, I wanted to try all possible pdf viewers and spreadsheets, I guess kspread and epdfviewer will not be as critical but dia for diagrams and tightvnc for webserver, are more critical for me. Yeah, there are alternatives, but dia is pretty cool and I really want to try tightvnc.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B