Re: Issue when rsync debian-ports only riscv64 with ftpsync

Bastian Blank <[email protected]> Mon, 18 Apr 2022 12:56:14 +0200
Newsgroups gmane.linux.debian.user.mirrors
Message-ID <[email protected]>
On Sun, Apr 17, 2022 at 11:38:16PM +0800, Bo YU wrote:
> As the title described, I want to sync riscv64 mirror only in order to
> deduce the resources. But I enable the `$ARCH_INCLUDE` or "$ARCH_EXCLUDE".
> It seems does not work, the log file hint it will sync other arch debs,
> such pool-alpha and so on. So, there are some wrong with me?

This happens, because ftpsync is expecting normal Debian archive, with
one pool.  Not the weird ports archive.

| "--filter=${param}_/pool/**/*_${arch}.deb"
| "--filter=${param}_/pool/**/*_${arch}.udeb"
| "--filter=${param}_/pool/**/*_${arch}.changes"

Just removing the "/pool" part should work.

Bastian