On Sat, Jun 05, 2021 at 02:34:12AM -0400, Polyna-Maude Racicot-Summerside wrote: > Hi ! > I've did a mirror with debmirror. > All seem good when I look at the folders and files. > But when I do apt-update it complains about contents-amd64 file missing !? > > Got some ideas? > -- > Polyna-Maude R.-Summerside > -Be smart, Be wise, Support opensource development >
If none of the debmirror and similar work well, consider ftpsync. It's extremely reliable, runs as one process and *just works* for me and several others. It's written in shell script. It also provides verbose login. One config file will mirror a complete Debian mirror using rsync. Because it's rsync based, you can rerun it if you need to so you can run it several times to build up a mirror over the course of a week to start with, for example. I ran mine from a cron job four times a day - updates are now pushed to me from a main Debian mirror. I wrote this up for Planet Debian at: http://flosslinuxblog.blogspot.com/2020/02/rebuilding-mirror-software-mirroring-of.html and http://flosslinuxblog.blogspot.com/2020/02/rebuilding-mirror-fedora-epel-mirroring.html [I now only mirror Debian and Ubuntu - notably, it is recommended that you do NOT mirror debian-security - having single known mirrors for these on the Internet prevents you from accidentally mirroring out of date packages]. Hope this helps Andy C.