Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 53

Thread: apt-mirrored repository

  1. #41
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Re: apt-mirrored repository

    Think about adding the 64-bit packages as well. It will make your local repo much more useful for scaling your systems, or if you make it public.
    ~Mark
    http://nwlinux.com - tech blog

  2. #42
    Join Date
    Dec 2008
    Location
    Taxes
    Beans
    458
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: apt-mirrored repository

    Quote Originally Posted by R.Bucky View Post
    Think about adding the 64-bit packages as well. It will make your local repo much more useful for scaling your systems, or if you make it public.

    This is roughly 94GB of disk space.
    Anyone know if the installer has a source repo?

    Code:
    ############# config ##################
    #
    set base_path    /var/spool/apt-mirror
    #
    set mirror_path  $base_path/mirror
    set skel_path    $base_path/skel
    set var_path     $base_path/var
    set cleanscript $var_path/clean.sh
    set defaultarch  i386
    set postmirror_script $var_path/postmirror.sh
    set run_postmirror 0
    set nthreads     30
    set _tilde 0
    #
    ############# end config ##############
    # 32 bit
    deb http://archive.ubuntu.com/ubuntu lucid main main/debian-installer restricted restricted/debian-installer universe multiverse
    deb http://archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse 
    deb http://archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse 
    #deb http://archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
    deb http://archive.canonical.com/ubuntu lucid partner
    # 64 bit
    deb-amd64 http://archive.ubuntu.com/ubuntu lucid main main/debian-installer restricted restricted/debian-installer universe multiverse
    deb-amd64 http://archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
    deb-amd64 http://archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
    #deb-amd64 http://archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
    deb-amd64 http://archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
    deb-amd64 http://archive.canonical.com/ubuntu lucid partner
    
    # Source code
    deb-src http://archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
    #deb-src http://archive.ubuntu.com/ubuntu lucid-proposed main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu lucid-backports main restricted universe multiverse
    deb-src http://archive.canonical.com/ubuntu lucid partner
    
    ## Webmin
    deb http://download.webmin.com/download/repository sarge contrib
    deb-amd64 http://download.webmin.com/download/repository sarge contrib
    ## Medibuntu
    deb http://packages.medibuntu.org/ lucid free non-free 
    deb-amd64 http://packages.medibuntu.org/ lucid free non-free
    
    
    clean http://archive.ubuntu.com/ubuntu
    clean http://download.webmin.com/download/repository 
    clean http://packages.medibuntu.org/

  3. #43
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Re: apt-mirrored repository

    To which installer to do refer?
    ~Mark
    http://nwlinux.com - tech blog

  4. #44
    Join Date
    Dec 2008
    Location
    Taxes
    Beans
    458
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: apt-mirrored repository

    Quote Originally Posted by R.Bucky View Post
    To which installer to do refer?
    This one:
    deb http://archive.ubuntu.com/ubuntu lucid main main/debian-installer restricted restricted/debian-installer universe multiverse

    When I put in a deb-src for this it fails. Is there an equivalent?

  5. #45
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Re: apt-mirrored repository

    Hmm. You know, I don't have any of the -src listings in my mirror. This is my mirror.list at http://nwlinux.com/single_pages/mirror.list

    It never came to mind that I would want/need the deb-src. Everything that I need to operate a successful mirror is on the mirror. Can you explain why you might want it?
    ~Mark
    http://nwlinux.com - tech blog

  6. #46
    Join Date
    Nov 2006
    Location
    Oregon
    Beans
    4,434
    Distro
    Ubuntu Development Release

    Re: apt-mirrored repository

    You need it if you want to download the source code for a package. You would do that via

    Code:
    apt-get source <package name>
    The majority of users don't ever use these (or rarely do).
    *Don't PM me directly for support, open a new thread
    *Looking for a MythTV quick start guide?

  7. #47
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Re: apt-mirrored repository

    @tgm4883 - thanks for clarifying. I have never used that function in the years that I have been using Ubuntu. You learn something new everyday...
    ~Mark
    http://nwlinux.com - tech blog

  8. #48
    Join Date
    Dec 2008
    Location
    Taxes
    Beans
    458
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: apt-mirrored repository

    Quote Originally Posted by R.Bucky View Post
    @tgm4883 - thanks for clarifying. I have never used that function in the years that I have been using Ubuntu. You learn something new everyday...
    I'm not sure I'll ever need any of this - I wanted the repository because I have done installation/reinstallation of servers probably 50 - 60 times over the last few weeks. By having the repo locally I cut down the transfer time, and hopefully I'm saving someone, somewhere a bit of bandwidth.

    That said, the next thing I'll be putzing around with is a custom installation image. I want to fill in the variables that are usually needed during an install so I don't have to answer prompts for the same thing every time.

    And I'm absolutely sure I'm re-inventing the wheel, but I learn (well, maybe, some days..) when I do this.


    So, the short answer is "because I can"

  9. #49
    Join Date
    Sep 2007
    Location
    Olympia, Washington
    Beans
    548
    Distro
    Ubuntu

    Re: apt-mirrored repository

    Good enough for me. "Because I can" is a great answer

    I am adding the deb-src entries to my mirror as well. I'll see how that works out...
    ~Mark
    http://nwlinux.com - tech blog

  10. #50
    Join Date
    Dec 2008
    Location
    Taxes
    Beans
    458
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: apt-mirrored repository

    Quote Originally Posted by R.Bucky View Post
    Good enough for me. "Because I can" is a great answer

    I am adding the deb-src entries to my mirror as well. I'll see how that works out...
    It's consumed about 94GB of space here so be prepared

Page 5 of 6 FirstFirst ... 3456 LastLast

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
  •