Bug#493154: pbuilder: support update --othermirror, ie add to base.tgz the new mirror
At Tue, 24 Feb 2009 08:19:15 +0100, Sandro Tosi wrote: On Tue, Feb 24, 2009 at 06:20, Junichi Uekawa dan...@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 -- dan...@{netfort.gr.jp,debian.org} -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#493154: pbuilder: support update --othermirror, ie add to base.tgz the new mirror
On Mon, Feb 23, 2009 at 04:03, Junichi Uekawa dan...@netfort.gr.jp wrote: At Sun, 22 Feb 2009 17:59:47 +0100, Sandro Tosi wrote: reopen 493154 found 493154 0.186 thanks On Sat, Feb 14, 2009 at 05:19, Junichi Uekawa dan...@netfort.gr.jp wrote: There should be nothing that makes pbuilder update not accept othermirror. Please check if it really doesn't work. I checked when I reported it, and I've checked even now, this is the result: and I repeat: --override-config. I'm sorry, but I couldn't find you mention --override-config anywhere in this thread. 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). Thanks for considering, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#493154: pbuilder: support update --othermirror, ie add to base.tgz the new mirror
At Mon, 23 Feb 2009 22:59:10 +0100, Sandro Tosi wrote: On Mon, Feb 23, 2009 at 04:03, Junichi Uekawa dan...@netfort.gr.jp wrote: At Sun, 22 Feb 2009 17:59:47 +0100, Sandro Tosi wrote: reopen 493154 found 493154 0.186 thanks On Sat, Feb 14, 2009 at 05:19, Junichi Uekawa dan...@netfort.gr.jp wrote: There should be nothing that makes pbuilder update not accept othermirror. Please check if it really doesn't work. I checked when I reported it, and I've checked even now, this is the result: and I repeat: --override-config. I'm sorry, but I couldn't find you mention --override-config anywhere in this thread. Hmm.. maybe a dupe bugreport. strange. 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 ? I think someone filed this kind of bugreport before, and I see traces of manpage being improved already. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#493154: pbuilder: support update --othermirror, ie add to base.tgz the new mirror
On Tue, Feb 24, 2009 at 06:20, Junichi Uekawa dan...@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: - search the manpage - find the option they think it's needed - use it in the command line - have no effect, so the user is confused maybe adding that one option, depends on one other in both directions (a needs be, and not only B is required for A) could help users. You can't require to read the whole manpage. -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#493154: pbuilder: support update --othermirror, ie add to base.tgz the new mirror
reopen 493154 found 493154 0.186 thanks On Sat, Feb 14, 2009 at 05:19, Junichi Uekawa dan...@netfort.gr.jp wrote: There should be nothing that makes pbuilder update not accept othermirror. Please check if it really doesn't work. I checked when I reported it, and I've checked even now, this is the result: $ sudo pbuilder update --othermirror deb http://ftp.it.debian.org/debian/ unstable main contrib non-free Building the build Environment - extracting base tarball [/home/morph/deb/pbuilder/base.tgz] - creating local configuration - copying local configuration - mounting /proc filesystem - mounting /dev/pts filesystem - policy-rc.d already exists Refreshing the base.tgz - upgrading packages Get:1 http://debian.fastweb.it unstable Release.gpg [189B] Get:2 http://debian.fastweb.it experimental Release.gpg [189B] Get:3 http://debian.fastweb.it unstable Release [74.8kB] Get:4 http://debian.fastweb.it experimental Release [73.9kB] Get:5 http://debian.fastweb.it unstable/main Packages/DiffIndex [2038B] Get:6 http://debian.fastweb.it experimental/main Packages/DiffIndex [2023B] Get:7 http://debian.fastweb.it unstable/main 2009-02-19-1435.55.pdiff [4614B] Get:8 http://debian.fastweb.it unstable/main 2009-02-19-1435.55.pdiff [4614B] Get:9 http://debian.fastweb.it unstable/main 2009-02-19-1435.55.pdiff [4614B] Get:10 http://debian.fastweb.it experimental/main 2009-02-19-1435.55.pdiff [1783B] Get:11 http://debian.fastweb.it experimental/main 2009-02-19-1435.55.pdiff [1783B] Get:12 http://debian.fastweb.it experimental/main 2009-02-19-1435.55.pdiff [1783B] Get:13 http://debian.fastweb.it unstable/main 2009-02-19-2030.31.pdiff [6010B] Get:14 http://debian.fastweb.it unstable/main 2009-02-19-2030.31.pdiff [6010B] Get:15 http://debian.fastweb.it unstable/main 2009-02-19-2030.31.pdiff [6010B] Get:16 http://debian.fastweb.it experimental/main 2009-02-19-2030.31.pdiff [1404B] Get:17 http://debian.fastweb.it experimental/main 2009-02-19-2030.31.pdiff [1404B] Get:18 http://debian.fastweb.it experimental/main 2009-02-19-2030.31.pdiff [1404B] Fetched 167kB in 28s (5929B/s) W: Failed to fetch http://debian.fastweb.it/debian/dists/unstable/main/binary-amd64/PackagesIndex MD5Sum mismatch W: Failed to fetch http://debian.fastweb.it/debian/dists/experimental/main/binary-amd64/PackagesIndex MD5Sum mismatch E: Some index files failed to download, they have been ignored, or old ones used instead. - Aborting with an error - unmounting dev/pts filesystem - unmounting proc filesystem - cleaning the build env - removing directory /var/cache/pbuilder/build//14223 and its subdirectories Now, except the error on PackagesIndex ftp.it.debian.org mirror is never accessed, only debian.fastweb.it, the mirror specified in config file: $ grep fastweb ~/.pbuilderrc # Use debian.fastweb.it as source for other packages MIRRORSITE=http://debian.fastweb.it/debian/ I've tried even using '--update' command and with deb http://...; but still nothing. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#493154: pbuilder: support update --othermirror, ie add to base.tgz the new mirror
Package: pbuilder Version: 0.181 Severity: normal Hello, as of now, only with 'create' command we can specify a --othermirror option; please let even 'update' command add the new mirror specified with --othermirror option. Thanks, Sandro -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages pbuilder depends on: ii cdebootstrap 0.5.3 Bootstrap a Debian system ii coreutils 6.10-6 The GNU core utilities ii debconf [debconf-2.0] 1.5.23 Debian configuration management sy ii debianutils 2.30 Miscellaneous utilities specific t ii debootstrap 1.0.10 Bootstrap a basic Debian system ii gcc 4:4.3.1-2 The GNU C compiler ii wget 1.11.4-1 retrieves files from the web Versions of packages pbuilder recommends: ii cowdancer 0.47 Copy-on-write directory tree utili ii devscripts2.10.35scripts to make the life of a Debi ii fakeroot 1.9.5 Gives a fake root environment ii sudo 1.6.9p17-1 Provide limited super user privile Versions of packages pbuilder suggests: pn pbuilder-uml none (no description available) -- debconf information: pbuilder/nomirror: pbuilder/mirrorsite: http://cdn.debian.net/debian pbuilder/rewrite: false -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]