Forum › Forums › New users › New Users and General Questions › antiX repo reset after reboot
- This topic has 63 replies, 8 voices, and was last updated May 20-8:05 pm by Brian Masinick.
-
AuthorPosts
-
May 18, 2021 at 11:36 am #59658Member
calciumsodium
::Hi,
For Buster, the USA IL osuosl and the USA Rochester RIT repos work good for me.
ThanksMay 18, 2021 at 11:45 am #59660Membercalciumsodium
::For Bullseye, the USA IL osuosl repo works good for me.
Thanks- This reply was modified 1 year, 11 months ago by calciumsodium.
May 18, 2021 at 2:45 pm #59668Member
Xecure
::On bullseye, the problematic mirros for me are:
[ERROR] http://debian.mur.at/mx-linux/antix//bullseye [739] https://mirror.datacenter.by/pub/mirrors/mxlinux.org/packages/antix//bullseye [ERROR] http://mirror.retentionrange.co.bw/mxlinux/packages/antix//bullseye [ERROR] https://mxlinux.ipacct.com/MX-Packages/antix//bullseye [385] https://mirrors.huaweicloud.com/mxlinux/antix//bullseye [ERROR] http://mirror.unimagdalena.edu.co/mxlinux/antix//bullseye [ERROR] https://ftp.fau.de/mxlinux-packages/antix//bullseye [ERROR] https://ftp.gtx.hu/mxlinux/packages/antix//bullseye [ERROR] http://mx-pkg.mirror.net.in/MX-Linux/antix//bullseye [ERROR] http://it.mxrepo.com/antix//bullseye [ERROR] http://mx.debian.nz/antix//bullseye [ERROR] http://mxlinux.mirror.py/mxlinux/antix//bullseye [ERROR] http://mxlinux.inhost.pro/antix-workspace/antix//bullseye [ERROR] http://ftp.task.gda.pl/site/mx-packages/antix//bullseye [ERROR] https://mirrors.pidginhost.com/mx-linux/packages/antix//bullseye [669] http://mxlinux.petarmaric.com/packages/antix//bullseye [ERROR] https://mxlinux.redimadrid.es/MX-Packages/antix//bullseye [ERROR] http://ftp.yzu.edu.tw/Linux/mx-workspace/antix//bullseye [739] https://mx-packages.ip-connect.vn.ua/antix//bullseye [ERROR] https://mirrors.metapeer.com/mxlinux/antix//bullseyeantiX Live system enthusiast.
General Live Boot Parameters for antiX.May 18, 2021 at 3:26 pm #59675Membercalciumsodium
::Hi @Xecure,
How did you do that check for the bullseye mirrors? Can you show us? Once I know how, I can do the same for the buster mirrors and report back.
ThanksMay 18, 2021 at 3:37 pm #59676Anonymous
::I’m using bulleseye/sid and use the Lenexa,KS server and have not
had any issues updating.May 18, 2021 at 4:04 pm #59680Member
Xecure
::Hi @Xecure,
How did you do that check for the bullseye mirrors? Can you show us?It is a very crude method.
0. I create a new/ folder inside Documents and place the script there. I then switch all repos off except for the antiX repo (you can do this with the repo-manager program).
1. I then manually edit the /etc/apt/sources.d/antix.list to use the original antix repo repo.antixlinux.com/bullseye (or /buster). I update the package list manually and save the available packages to a default.list file
sudo apt update apt list | tail -n+2 | grep -v "^$" > $HOME/Documents/new/defaults.listI consider this to be the default list because there is nothing more up to date than the antiX repo.
2. I use the repo manager to change to the first antiX mirro and I apply the changes. I then run the script once and it generates a compare.list file where it stores the result.
3. I repeat step 2 until I am done with all mirrors.
I could alternatively use the /usr/share/repo-list/repos.txt list and modify the script to automate steps 2-3 inside a while loop, which should simplify the process to only running the script once and not have to manually change the repo.
the script in question:
#!/bin/bash DEFAULT_LIST="$HOME/Documents/new/default.list" ERROR_LIST="$HOME/Documents/new/error.list" NEW_LIST="$HOME/Documents/new/new.list" COMPARE_LIST="$HOME/Documents/new/compare.list" CURRENT_REPO="$(awk 'NR==2{print }' /etc/apt/sources.list.d/antix.list | cut -d " " -f2)" REPO_NAME="$(echo "$CURRENT_REPO" | cut -d"/" -f3)" TOTAL_DIF=0 # 2. Update sources-list sudo apt update 2> "$ERROR_LIST" # 3. Save list apt list | tail -n+2 | grep -v "^$" > # 4. Compare diff "$DEFAULT_LIST" "$NEW_LIST" > "$HOME/Documents/new/${REPO_NAME}.dif" # 5. Check if dif is empty or has issues if [[ ! -s "$HOME/Documents/new/${REPO_NAME}.dif" ]]; then TOTAL_DIF=0 elif [[ -s "$ERROR_LIST" ]]; then TOTAL_DIF="ERROR" else TOTAL_DIF=$(cat "$HOME/Documents/new/${REPO_NAME}.dif" | grep "^< \|^> " | wc -l | awk '{ print $1 }') fi echo "[$TOTAL_DIF] $CURRENT_REPO" >> "$COMPARE_LIST"- This reply was modified 1 year, 11 months ago by Xecure.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.May 18, 2021 at 5:01 pm #59685Membercalciumsodium
::Hi @Xecure,
Considering your directions for testing the status of the mirrors:
This is a little bit more than what my little brain can do. I will work on this and will take a lot of time for me to learn. Therefore, I can’t reproduce what you did with the bullseye mirrors in a timely manner.
Thanks- This reply was modified 1 year, 11 months ago by calciumsodium.
May 18, 2021 at 5:35 pm #59687Anonymous
::For antiX repositories, the mirmon service is already tracking up-to-date -ness, right?
Would it be useful to scrape & further massage the dataset they provide?links2 -dump https://antixlinux.com/mirmon/antix-mirror-status.html \ |grep renewed |grep -v days |grep -v '[0-9][0-9] hours'If so, a Cmd() call to a helper script could be injected into the repo-manager readantiXRepos() routine, to cull the entries within /usr/share/repo-list/repos.txt prior to loading its contents
https://gitlab.com/antiX-Linux/repo-manager/-/blob/master/mainwindow.cpp#L135For debian repositories, idunno…
https://mirror-master.debian.org/status/mirror-status.html#&sort%5Bresults%5D=4-1
just stick with the status quo “closest + fastest” lookup, or also attempt to cull the list (or generate a runtime blacklist)?May 18, 2021 at 5:52 pm #59689Member
Xecure
::mirmon site says that servers it.mxrepo.com, mxlinux.inhost.pro, http://ftp.task.gda.pl and mxlinux.redimadrid.es are OK but I get errors for them on bullseye a2 runit.
Example:
Error: Failed to fetch https://mxlinux.redimadrid.es/MX-Packages/antix//bullseye/dists/bullseye/main/binary-amd64/Packages 404 Not Found
Mirmon is not 100% reliable.antiX Live system enthusiast.
General Live Boot Parameters for antiX.May 18, 2021 at 6:15 pm #59690Forum Admin
anticapitalista
::I think the repo is ok, but is wrong in your sources.list (repo-manager in bullseye s probably to blame).
ie https://mxlinux.redimadrid.es/MX-Packages/antix//bullseye/
Shouldn’t have // (bold)
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
May 18, 2021 at 6:50 pm #59694Anonymous
::@Xecure and @anticapitalista,
the “//” has been a problem in the past too.
It appears in all the error ones from Xecures previous post.
between antix and bulleseye.
so going to have to check the list file for typos.May 18, 2021 at 6:51 pm #59695Member
Xecure
::I think the repo is ok,
I also thought that until I visited the mirrors on the web browser just to be sure.
Compare
Buster repo for same mirror: https://mxlinux.redimadrid.es/MX-Packages/antix/buster/dists/buster/
Bullseye repo for same mirror: https://mxlinux.redimadrid.es/MX-Packages/antix/bullseye/dists/bullseye/
Testing repo for same mirror: https://mxlinux.redimadrid.es/MX-Packages/antix/testing/dists/testing/All except for bullseye repo have contents-<architecture>.gz, and for the other mirrors (example) that are OK (no errors) the contents-<architecture>.gz files DO exists for the bullseye repos. There must have been an error during syncing and everything but the list of packages was imported, or those files were not generated for some of the mirrors.
The other [Error] mirrors seem to match the mirmon website results.
- This reply was modified 1 year, 11 months ago by Xecure.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.May 18, 2021 at 6:54 pm #59700Member
Xecure
::the “//” has been a problem in the past too.
It appears in all the error ones from Xecures previous post.In reality it appears also in all the non-error ones. After some months I found out that the // are ignored and interpreted as /. It doesn’t seem to be an issue for me, as I have been getting antiX updates on the bullseyea2 runit version for now.
So the issue still remains in the repo mirrors I listed. I made sure.antiX Live system enthusiast.
General Live Boot Parameters for antiX.May 18, 2021 at 6:57 pm #59702Anonymous
May 19, 2021 at 8:09 pm #59785Forum Admin
anticapitalista
::For antiX repositories, the mirmon service is already tracking up-to-date -ness, right?
Would it be useful to scrape & further massage the dataset they provide?Yes, but they still need manual checking
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
-
AuthorPosts
- You must be logged in to reply to this topic.