Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 796 Bytes

README.rst

File metadata and controls

25 lines (15 loc) · 796 Bytes

Intro

apt-mirror is a tool to create a debian/ubuntu mirror locally. It's a good tool but sometimes we get corrupted packages. apt-mirror-check is aimed at revealing this kind of error early.

Install

git clone https://github.com/windtail/apt-mirror-check.git
python3 setup.py install

** NOTE: python3 is required **

Usage

After installation, apt-mirror-check console command is available:

--base-dir, -b base_path of apt-mirror, corresponding to base_path config in /etc/apt/mirror.list (the directory which contains mirror, skel and var)
--delete delete corrupted files instead of just listing them

If --base-dir is not given, /etc/apt/mirror.list will be search, if the search failed, then current working directory is assume as base directory.