Re: Why Debian packaging structure is so difficult

2023-01-13 Thread Sadhu Santh


On 09/01/23 17:48, Roberto C. Sánchez wrote:

On Mon, Jan 09, 2023 at 11:50:23AM +0530, Sadhu Santh wrote:

Hi,

I am hosting a local Debian mirror for my LAN. This helps in low internet
bandwidth use.

I keep only the required distributions (past five years and testing
release).

Compared to other distributions such ArchLinux/RockyLinux (single line Rsync
can do the job), the partial mirroring over Rsync in Debian is a complex
process.

I use ftpsync, which can run on any Linux distribution.

Is there any simple set of Rsync commands to sync a particular version of
the platform (e.g. x86) of Debian? If not, why the upstream structure is not
made simpler?

Thanks for your guidance on the matter.



The best solution, IMHO, is to mirror using a tool that is aware of the
specific structure of apt repositories.  Personally, I have had
excellent success with apt-cacher-ng, which functions much like a squid
proxy.
Another possibility seems like it would be apt-mirror.  However, I have
never used it and so I cannot give a specific or detailed
recommendation.


Thanks for your kind suggestions.

I suppose acngwill only function if the operating system is Debian or a 
close relative.
My current archive arrangement was created on CentOS a few years ago, 
and ftpsync worked.



After CentOS was withdrawn, we reverted to Debian on the majority of 
machines.


Repository synchronisation for CentOS and related systems is frequently 
completed with a single line of rsync command via cron.


So why use a different tool to achieve synchronisation.

is thereany plans to make the repository structure simpler, or did I 
miss something?


Best Regards,


Why Debian packaging structure is so difficult

2023-01-08 Thread Sadhu Santh

Hi,

I am hosting a local Debian mirror for my LAN. This helps in low 
internet bandwidth use.


I keep only the required distributions (past five years and testing 
release).


Compared to other distributions such ArchLinux/RockyLinux (single line 
Rsync can do the job), the partial mirroring over Rsync in Debian is a 
complex process.


I use ftpsync, which can run on any Linux distribution.

Is there any simple set of Rsync commands to sync a particular version 
of the platform (e.g. x86) of Debian? If not, why the upstream structure 
is not made simpler?


Thanks for your guidance on the matter.


Regards,

SS