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

Bug#893397: adapt the cron scripts to use http:// instead of ftp://


On Tue, Mar 20, 2018 at 11:55:01PM +0900, Osamu Aoki wrote:
> What you did is one way ;-)
> On Mon, Mar 19, 2018 at 03:27:25PM +0100, Laura Arjona Reina wrote:
> > pattern specified with -A. Maybe there is a more efficient way to do this?
> Most wgetfiles are downloading the latest unstable binary packages.
> Why re-invent the binary package downloader when we have "apt-get"?
> apt-get has -C option to use non-standard /etc/apt/sources.list
> listing unstable distribution:
> deb http://deb.debian.org/debian/ sid main contrib non-free
> We need to use non-standard directories and not to contaminate the
> system ones:
>   /var/cache/apt/archives/
>   /var/lib/apt/lists/
> This can be done by setting through
>   Item: Dir::Cache::Archives
>   Item: Dir::State::Lists
> specified via -o option.
> By setting all these and few more options as needed, we should be
> able to download the latest binary package from the archive using the
> proven tool.

Just to be clear, I was thinking to do the following to get the latest
binary package in the previous post:

 apt-get update
 apt-get -d install $PACKAGENAME

Then go to redirected /var/cache/apt/archives/ location to pick up the
latest package.

This is just an outline.  There may needs to do few more chores to get
this working.

> Of course, obsolete dpkg-doc from snapshot should use original wgetfiles
> Installation guide: I need to check how it should be handled.
> What do you think?
> Regards,
> Osamu

Reply to: