Bug#493154: pbuilder: support update --othermirror, ie add to base.tgz the new mirror
Junichi Uekawa
dancer at netfort.gr.jp
Tue Feb 24 13:27:00 UTC 2009
At Tue, 24 Feb 2009 08:19:15 +0100,
Sandro Tosi wrote:
>
> On Tue, Feb 24, 2009 at 06:20, Junichi Uekawa <dancer at netfort.gr.jp> wrote:
> > At Mon, 23 Feb 2009 22:59:10 +0100,
> > Sandro Tosi wrote:
> >> Anyhow, maybe it worths if you update the manpage to mention that
> >> "--override-config" is needed for the options that require it
> >> (--distribution , --components , --mirror , --othermirror).
> >
> >
> > Have you actually read the manpage ?
>
> Now please stop being rude! *I* have read the manpage and here is what's there:
>
> --othermirror [deb http://xxx/xxx/ ./ | other deb lines... ]
> The lines which is added to the sources.list,
> delimited with | Like deb http://local/mirror stable main|deb
> file:/usr/local/mirror ./
>
> The deb lines here are the ones that will appear at the
> top of the sources.list inside the chroot. Be sure to
> follow the syntax rules of sources.list(5). These
> lines appear at the beginning of the constructed sources
> file, so this is the place to list your local mirror
> sites; apt will then use them in preference to the ones
> listed in --mirror .
>
> Where in that text is written to use "--override-config"? Nowhere, and
> since the user could:
--update
Updates the base.tgz for the specified distribution. Also, by specifying the --override-config option, it is possible to install a new apt-line using the
given options and settings in the configuration file for the base.tgz.
For example, to switch the distribution of an existing base.tgz to lenny, specify the --distribution lenny --override-config options to update.
and
--othermirror [deb http://xxx/xxx/ ./ | other deb lines... ]
The lines which is added to the sources.list, delimited with | Like deb http://local/mirror stable main|deb file:/usr/local/mirror ./
The deb lines here are the ones that will appear at the top of the sources.list inside the chroot. Be sure to follow the syntax rules of sources.list(5).
These lines appear at the beginning of the constructed sources file, so this is the place to list your local mirror sites; apt will then use them in preference
to the ones listed in --mirror .
--distribution [distribution]
Specifies the distribution used. Currently the supported values are sid etch lenny and experimental .
--components [components]
Specifies the default distribution components to use. eg. "main contrib non-free". Default is "main".
--override-config
Specify to use different apt set up inside the chroot than it was used for creating the base.tgz. Specify this when you want to do pbuilder --update with a
different distribution target set up.
--distribution , --components , --mirror , --othermirror options are only valid when --override-config option is specified in --update target, or when pbuilder
--create is being called.
So they are, in both directions.
regards,
junichi
--
dancer@{netfort.gr.jp,debian.org}
More information about the Pbuilder-maint
mailing list