On Thu, 23 Apr 2020 13:49:05 +0530 Harshad Joshi <firewal...@gmail.com> wrote:
Hi, what does # cat config/build | grep Distribution say? > Did everytime from rm -rf * to rebuild entire chroot but issue is > still on. > > I will update it here if issue gets resolved. I am trying to isolate > the problem > > --sent from OnePlus device-- > > On Thu, 23 Apr, 2020, 1:20 PM , <jnq...@gmail.com> wrote: > > > did you `lb clean` to get a fresh start before you retried `lb > > build`? > > > > so: > > > > sudo rm -rf config > > sudo lb clean > > lb config --distribution buster > > sudo lb build > > > > does that sort things out? > > > > On Thu, 2020-04-23 at 12:21 +0530, Harshad Joshi wrote: > > > > Did it multiple times but no use. It's still downloading stretch > > repositories! > > > > I am not able to isolate root cause as from where live builder is > > taking stretch repo settings at second stage when I have explicitly > > set distribution option to buster! > > > > --sent from OnePlus device-- > > > > On Thu, 23 Apr, 2020, 12:14 PM , <jnq...@gmail.com> wrote: > > > > Did you just run `lb config --distribution buster` on top of an > > existing config? > > > > Understand that the first time you run `lb config` some options, if > > not explicitly set, are automatically determined based upon others. > > The final config is then saved to disk. If you then subsequently > > run `lb config` to change something, you have to be careful because > > some options may end up with old values, they don't get updated per > > the change you're trying to make. > > > > There are some options that automatically get set per the > > distribution option value. I suspect that the most likely cause of > > your problem is that you've got an existing config with these other > > options set to 'stretch' from your first attempt at creating a > > config, and thus your subsequent use of `lb config --distribution > > buster` is not propagating to those other config options. > > > > The easiest fix for this here (assuming this is indeed the cause) > > is to just delete the existing config directory, then re-run `lb > > config --distribution buster`. > > > > > > On Thu, 2020-04-23 at 11:29 +0530, Harshad Joshi wrote: > > > > Please check attachments sent in this mail. I have configured lb to > > use buster and we can see it is building configuration for debian > > buster distribution > > > > However as per second attachent in next stage of live build, we can > > see it is using stretch repositories to download binary packages > > > > Why is this happening?? > > > > --sent from OnePlus device-- > > > > On Thu, 23 Apr, 2020, 11:23 AM , <jnq...@gmail.com> wrote: > > > > On Thu, 2020-04-23 at 11:16 +0530, Harshad Joshi wrote: > > > > I have downloaded a buster live CD from debian site and I am trying > > to build live CD using buster repository, but live build is using > > stretch repositories by default despite me configuring it to use > > buster lb config - > > - distribution buster > > > > Please help me in resolving this issue. > > > > --sent from OnePlus device-- > > > > > > replace: lb config - - distribution buster > > with: lb config --distribution buster > > > > note the unwanted spaces in yours > > > >