I followed the instructions at: https://hiveon.com/knowledge-base/guides/mirror/
and I ran the command: /hive/opt/repomirror/repomirror -i
But I get an error:
Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: lighttpd : Depends: libssl1.1 (>= 1.1.0) but it is not going to be installed nvidia-settings : Depends: screen-resolution-extra (>= 0.12) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
PS: I’ve never done this before, but I hope that all these downloaded files are shielded from deletion when upgrading to a new linux image.