reposinsync

A tool to tool to check whether yum mirrors are working and up-to-date

Download

Download reposinsync tarball

Description

Reposinsync is a tool to check whether the mirrors for yum (Yellowdog Updater Modified) repositories are working and up-to-date. It was inspired by all the chaos when using yum during periods of frequent updates, as griped about on the fedora-list.

Reposinsync queries the mirrors for the selected repositories, noting mirrors that fail or are not up-to-date, and summarizes the current state of the mirrors. It maintains the history of its queries in ~/.reposinsync.data, and has some limited ability to analyze that data.

Installation

Reposinsync is installed from a tarball:

$ tar xfvz reposinsync-<version>.tar.gz

Usage

$ cd reposinsync-<version>
$ ./reposinsync.py -h
$ ./reposinsync.py
$ ./reposinsync.py -f "/etc/yum.repos.d/fedora-*.repo" -r "updates" -r "extras" -v

The first command will print usage info, the second will do all the repos in /etc/yum.repos.d, and the third will do fedora-updates and fedora-extras, showing more detail on failed or out-of-date mirrors.

 

Back to Tony NelsonJHC's R Pentomino's Home Page

Valid HTML 4.0!