Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 22700 ideas, 138270 comments, 2629576 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #13528: Allow specifying your own Apt repository during installation

Written by jsereno the 22 Sep 08 at 05:11. Related project: Live CD installer. Status: New
Rationale
During the installation process from the Live or Alternate disc, the installer queries the Apt repository. In the case of the Alternate installer, you are prompted for an optional proxy for the installer to use to get to the official Apt repository.

It would be good to be able to specify an optional alternate location to access the Apt repository, eg: a local portable hard-drive, or your own personal server on your local network with a mirror of the official repository, without having to wait until installation has finished before you can reconfigure your setup to use your preferred local repository.

In the Live installer, it could simply be a text box somewhere to enter in an optional repository URI, eg: file://media/disk/myrepo/ubuntu or http://mirror.mydomain.com/ubuntu and in the Alternate installer, you could ask it when the proxy question is asked in an expanded dialog box.

If the URI specified fails or is left blank, then the installer proceeds using the default "factory" repository as currently employed by Ubuntu.

If the URI provided is successful, then the /etc/apt/sources.list file could be automatically populated by default with the URI specified during installation instead of the usual one.

Assumptions:
- The user has an up-to-date local repository.
- The user has all the required sub-sections present in that repository, ie: hardy, hardy-updates, hardy-security, hardy-proposed, hardy-backports, hardy-partner.

Pros:
- Saves a little time installing, especially for those with slow Internet access.
- Saves a little time reconfiguring for a local repository after installation because it's now done for you.
- Streamlines updates upon first boot - go straight to the Update Manager, knowing that all the updates will come from your selected URI.
- Could potentially reduce traffic on the official parent and child mirrors.

Cons:
- May potentially confuse novice users who think something NEEDS to be specified. Perhaps only offer this option on the Alternate installer?

11
votes
up equal down
Solution #1: Auto-generated solution of idea #13528
Written by jsereno the 22 Sep 08 at 05:11.
Ubuntu Brainstorm was updated in January 2009. Since the idea #13528 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!

Propose your solution

Attachments
No attachments.


Duplicates


Comments
cheesehead (Brainstorm admin) wrote on the 22 Sep 08 at 12:54
Why not use the Minimal CD (https://help.ubuntu.com/community/Installation/MinimalCD),
then edit your repo list,
then install the rest from your personal repo?

You get the same benefit without confusing anyone.
And you can do it right now.
Added benefit: You can script the specific packages and settings you want from your repo.

ripperzane wrote on the 22 Sep 08 at 23:09
Technical:
I have done that, went to the /etc/apt/sources/list and changed all the archive.ubuntu.com to my local apt repo (mirror on my network), and it saved me hardly no time, but doing apt-get instals is MUCH faster. Once you get past the initial sync that is.

jsereno wrote on the 28 Sep 08 at 14:23
Personally I disable the /etc/apt/sources.list (comment everything out) and place my own repository list under /etc/apt/sources.list.d/myrepo.list and then refresh Apt-Get but I'm trying to be lazy and be able to specify it up front.

Cheesehead: I have to admit I've never used the minimal CD. I'll give that a shot - thanks!


Post your comment