Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: [HowTo] Building a local Mirror for Ubuntu Repositories.

  1. #11
    Join Date
    Mar 2008
    Location
    Tampa, FL
    Beans
    112
    Distro
    Ubuntu Development Release

    Re: [HowTo] Building a local Mirror for Ubuntu Repositories.

    Thanks, found that right after I posted. I'll have to look up the syntax but I'm sure the man page will tell me.
    ______________________________________________

    http://www.tampabaycomputing.com/blog/

  2. #12
    pricetech is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Apr 2008
    Beans
    1,651

    Re: [HowTo] Building a local Mirror for Ubuntu Repositories.

    Quote Originally Posted by oneloveamaru View Post
    Thanks, found that right after I posted. I'll have to look up the syntax but I'm sure the man page will tell me.
    Cool. Much success with it and feel free to post on this thread any tips you learn while doing.

  3. #13
    Join Date
    Mar 2007
    Location
    Albuquerque, NM
    Beans
    30
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Re: [HowTo] Building a local Mirror for Ubuntu Repositories.

    Excellent How-To, thank you for posting it.

    Do you need to use the deb-amd64 and deb-i386 sources to get both repositories, or is that only for older distributions (I only see it on older how-tos).

    Thanks!
    "It is not enough to succeed, others must fail." - Gore Vidal

  4. #14
    pricetech is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Apr 2008
    Beans
    1,651

    Re: [HowTo] Building a local Mirror for Ubuntu Repositories.

    Seems forever since I wrote that tutorial, but I'm pretty sure you do. I didn't include it since I was only supporting and building for a single processor architecture.

    Best I recall you add lines for each repo that start with "deb-amd64" instead of just "deb".

    I hope I'm remembering right.

  5. #15
    pricetech is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Apr 2008
    Beans
    1,651

    Re: [HowTo] Building a local Mirror for Ubuntu Repositories.

    From the man page for sources.list:

    distribution may also contain a variable, $(ARCH) which expands to the Debian architecture (i386, m68k, powerpc, ...) used on the system. This permits architecture-independent sources.list files to be used. In general this is only of interest when specifying an exact path, APT will automatically generate a URI with the current architecture otherwise.
    I haven't done it, so I don't know about any "gotchas" that you might encounter.

    Have fun with it and do please post back anything you learn for the benefit of others.

    If you decide to write a new tutorial, feel free to use anything from mine that saves you time.

    Joe

  6. #16
    Join Date
    Mar 2007
    Location
    Albuquerque, NM
    Beans
    30
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: [HowTo] Building a local Mirror for Ubuntu Repositories.

    I downloaded the repos this weekend and yes, you do need to specify deb-i386 and/or deb-amd64. I ran apt-mirror on a 64-bit machine and just plain "deb ..." only got the 64-bit repos. I've update my mirror.list to include "deb-i386" and "deb-amd64" and I'll see what happens tonight when I update it.

    Thanks again for your help.
    "It is not enough to succeed, others must fail." - Gore Vidal

  7. #17
    Join Date
    Aug 2008
    Location
    Arizona
    Beans
    10
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: [HowTo] Building a local Mirror for Ubuntu Repositories.

    would it be possible to create a shell script with all commands and instructions for automated server installs

    need a script to set up 12 ubuntu servers as load balancers

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •