[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to clone apt repository to newest only?



The reason I'm asking for this feature is that

For example, I want to install the most recent packages when installing an OS in a specific closed network environment.

Of course, I could use a recently created DVD iso file, but I would need to have an internet connection to apply files that have been updated since this ISO was created, so I only want to copy and apply the most recent packages.

Is there any way to do this?




2023년 12월 25일 (월) 오후 11:05, Andrew M.A. Cater <amacater@einval.com>님이 작성:
On Mon, Dec 25, 2023 at 12:21:29PM +0000, �� ���� wrote:
[Copied to the poster because they may not be subscribed]

> how to clone apt repository to newest only?
> Fedora/Red Hat will organize the repository by copying only the most recent packages from that distribution if you give it the "reposync --newest-only" option, but Debian doesn't seem to be able to do that.
>
> What can I do?
>
>
Hi

By default, apt will check the dates on the package manifests and bring you
up to date based on that.

If you install from nothing then the installer will do the same assuming
that you have an internet connection.

reposync is really a Red Hat ecosystem specific command, I think.

(already answered on the list: can I suggest that you subscribe to the list)

Andy
(amacater@debian.org)


Reply to: