Re: [arch-general] [arch-mirrors] pacman verify database
Am 2016-02-05 22:42, schrieb Dennis Börm:
i've setup a mirror this week. one sync today synced an incomplete state from a tier1 mirror. is there a tool/script to determine if a/my mirror is in a consistent state?
I am not aware of any such tool. I'm forwarding this to arch-general in the hope that someone either knows or wants to create one. Florian
i've setup a mirror this week. one sync today synced an incomplete state from a tier1 mirror. is there a tool/script to determine if a/my mirror is in a consistent state?
I am not aware of any such tool. I'm forwarding this to arch-general in the hope that someone either knows or wants to create one.
Florian I've found this page: https://www.archlinux.org/mirrors/status/. It's available as a JSON file too. So you can just query it and off you go.
On 08.02.2016 00:22, João Miguel wrote:
i've setup a mirror this week. one sync today synced an incomplete state from a tier1 mirror. is there a tool/script to determine if a/my mirror is in a consistent state?
I've found this page: https://www.archlinux.org/mirrors/status/. It's available as a JSON file too. So you can just query it and off you go.
Thanks for trying, but our page only looks at the lastsync file. The request was for a tool that looks at the repo databases (of the mirror) and then check if all packages are available (in the correct versions) and possibly checks their signatures/checksums. I kind of doubt that something like this exists so I might write it at some point, unless someone else beats me to it. Florian
On 2016-02-08 00:22, João Miguel wrote:
i've setup a mirror this week. one sync today synced an incomplete state from a tier1 mirror. is there a tool/script to determine if a/my mirror is in a consistent state? I am not aware of any such tool. I'm forwarding this to arch-general in the hope that someone either knows or wants to create one.
Florian I've found this page: https://www.archlinux.org/mirrors/status/. It's available as a JSON file too. So you can just query it and off you go.
my mirror is syncing from mirror A. Mirror A itself is syncing from archlinux.org. maybe my mirror syncs an inconsistent (core.db updated, but there are some packages missing -> bad) state. i don't know that. this site could say '25 minutes ago all was ok' but what about now? i only want to compare the {core, extra, ...}.db with the package files. if all is okay i can move this version to production, else i wait and sync again to the offline location.
participants (3)
-
Dennis Börm
-
Florian Pritz
-
João Miguel