[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-22 Thread Nobuto MURATA
  * bin/ubuntu-defaults-image: Add --mirror/--security-mirror option for
   faster local building. These do _not_ set the mirror in the target apt (as
  of now). Thanks Nobuto MURATA! (LP: #998271)

to clear my intention, pasted my comment from
https://code.launchpad.net/~nobuto/ubuntu/quantal/ubuntu-defaults-
builder/add-mirror/+merge/124952

Changing target's sources.list is quite easy by passing LB_MIRROR_BINARY
and LB_MIRROR_BINARY_SECURITY. Those will be used on live-session, but
sources.list of installed target will be re-generated by ubiquity or d-i
as far as I understand.

if someone wants a mirror used on everywhere including installed target,
more work will be needed like passing preseeded file of a mirror url to
ubiquity, I'm afraid.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-19 Thread Redmar
This looks great!. I installed apt-cacher on my local network to try to
speed up the downloads, but noticed it is not used. Will I be able to
specify the apt-cacher server as a mirror as well with this change?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-19 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/ubuntu-defaults-builder

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-19 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-defaults-builder - 0.39

---
ubuntu-defaults-builder (0.39) quantal; urgency=low

  * bin/ubuntu-defaults-image: Add --mirror/--security-mirror option for
faster local building. These do _not_ set the mirror in the target apt (as
of now). Thanks Nobuto MURATA! (LP: #998271)
 -- Martin Pitt martin.p...@ubuntu.com   Thu, 20 Sep 2012 06:09:11 +0200

** Changed in: ubuntu-defaults-builder (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-18 Thread Nobuto MURATA
** Changed in: ubuntu-defaults-builder (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: ubuntu-defaults-builder (Ubuntu)
 Assignee: (unassigned) = Nobuto MURATA (nobuto)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-18 Thread Launchpad Bug Tracker
** Branch linked: lp:~nobuto/ubuntu/quantal/ubuntu-defaults-builder/add-
mirror

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-18 Thread Nobuto MURATA
** Description changed:

+ ubuntu-default-image cannot specify an archive mirror.
+ 
+ default servers below is not so fast for everyone, it takes fair amount of 
time for build compared to use an archive mirror.
+  - http://archive.ubuntu.com/ubuntu
+  - http://security.ubuntu.com/ubuntu
+ 
  Please add an option to choose archive mirrors like:
  
  $ ubuntu-default-image --mirror 'http://CC.archive.ubuntu.com/ubuntu/'
  --locale LOCALE
  
  It may reduce time of downloading packages needed for image building.
  
- ProblemType: Bug
- DistroRelease: Ubuntu 12.04
+ ProblemType: BugDistroRelease: Ubuntu 12.04
  Package: ubuntu-defaults-builder 0.31
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
  Uname: Linux 3.2.0-24-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: i386
  CheckboxSubmission: 1d84ca1b2de43c2199974f7b8a6ca9cb
  CheckboxSystem: 0657dd966bc74d2b22e7c94051aa55af
  Date: Fri May 11 16:11:02 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Beta i386 (20111007)
- PackageArchitecture: all
- SourcePackage: ubuntu-defaults-builder
+ PackageArchitecture: allSourcePackage: ubuntu-defaults-builder
  UpgradeStatus: Upgraded to precise on 2012-04-27 (14 days ago)

** Changed in: ubuntu-defaults-builder (Ubuntu)
   Status: In Progress = Confirmed

** Changed in: ubuntu-defaults-builder (Ubuntu)
 Assignee: Nobuto MURATA (nobuto) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-18 Thread Nobuto MURATA
oh wait, my branch may conflict with --keep-apt and --keep-apt-
components.

if /var/lib/apt/lists/$MIRROR_ubuntu_dists_* are kept with --keep-apt,
but it's not useful because $MIRROR is different from
{archive,security}.ubuntu.com used on live-session.



/home/ubuntu/ubuntu-defaults-builder/bin/ubuntu-defaults-image: Removing 
unnecessary files...
removed `/var/cache/apt/pkgcache.bin'
removed `/var/cache/apt/srcpkgcache.bin'
removed `/var/lib/apt/lists/_root_packages_._Packages'
removed `/var/lib/apt/lists/_root_packages_._Release'
removed `/var/lib/apt/lists/_root_packages_._Release.gpg'
removed 
`/var/lib/apt/lists/ftp.jaist.ac.jp_pub_Linux_ubuntu_dists_precise-security_Release'
removed 
`/var/lib/apt/lists/ftp.jaist.ac.jp_pub_Linux_ubuntu_dists_precise-security_Release.gpg'
removed 
`/var/lib/apt/lists/ftp.jaist.ac.jp_pub_Linux_ubuntu_dists_precise-security_main_binary-amd64_Packages'
removed 
`/var/lib/apt/lists/ftp.jaist.ac.jp_pub_Linux_ubuntu_dists_precise-security_main_binary-i386_Packages'


** Attachment added: binary.log
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+attachment/3322854/+files/binary.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-18 Thread Nobuto MURATA
Re-submitting the branch with a check for incompatible options.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-09-18 Thread Martin Pitt
I don't understand why --mirror conflicts with --keep-apt? The globs are
deliberately set up so that they do not assume a particular mirror. The
output you showed in comment 3 looks just fine?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-05-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ubuntu-defaults-builder (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 998271] Re: adding --mirror option for ubuntu-defaults-image to choose archive mirrors

2012-05-11 Thread Nobuto MURATA
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998271

Title:
  adding --mirror option for ubuntu-defaults-image to choose archive
  mirrors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-defaults-builder/+bug/998271/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs