On Wed, 25 Dec 2024 at 07:21, Johannes Schauer Marin Rodrigues
<jo...@debian.org> wrote:

> > > >If i set $apt_update=0 ... then --run-autopkgtest doesnt work,

> > > >If i add --skip=cleanup/apt/lists to mmdebstrap it all works again

> > > This seems to all work as expected, can you describe how you think it
> > > should work and where the issue is?
> > >
> >
> > ok if that's the intent then maybe this is just a lack of documentation.
>
> I do not yet understand what there is to document. What were you trying to do?
> I would've thought it's common knowledge that apt cannot install packages
> without having run "apt update" first?
>
> If you always want to pass --skip=cleanup/apt/lists then maybe putting this
> into your ~/.sbuildrc can help:
>
> $unshare_mmdebstrap_extra_args = $conf->_get('UNSHARE_MMDEBSTRAP_EXTRA_ARGS');
> push @$unshare_mmdebstrap_extra_args, "*", ['--skip=cleanup/apt/lists'];

Ive submitted https://salsa.debian.org/debian/sbuild/-/merge_requests/124
to give the information that would have helped me understand this
better.

the man page stated that some repositories are "always updated" --- im
not sure if that is actually correct, at least, i didnt observe any
updating going on. but maybe i misunderstood. i left that part in
anyway: i think "the internal sbuild apt repository" is a bit cryptic,
so you might want to delete that or explain it

Reply via email to