Skip to content

windtail/apt-mirror-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Find corrupted packages downloaded by apt-mirror

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages