Install debmirror by entering the following commands in the terminal:
sudo apt update sudo apt install debmirror
Description:
Debian partial mirror script, with ftp and package pool support
This program downloads and maintains a partial local Debian mirror. It can mirror any combination of architectures, distributions and sections. Files are transferred by ftp, http, hftp or rsync, and package pools are fully supported. It also does locking and updates trace files.
Version: 1:2.27ubuntu1
Section: universe/net