[arch-general] HTTP Custom Mirror on Install
Good Evening, I was trying to use a custom mirror during an install today, it is only a HTTP server currently. Is this a problem, does it need to be ftp? As the mirror does work with pacman after install. Thanks! Tom
ti, 2011-03-08 kello 18:39 -0500, Thomas Misilo kirjoitti:
Good Evening,
I was trying to use a custom mirror during an install today, it is only a HTTP server currently. Is this a problem, does it need to be ftp? As the mirror does work with pacman after install.
Thanks!
Tom
There are no limitations on the protocol used, as long as the program used for the downloading supports it. By default atleas ftp, http and local repositories are supported.
I tried http://ip/archlinux/$repo/os/$arch , but pacman says it cannot find them the different tar.gz files to download, but once I install Arch, and add the mirror to mirrorlist as Server = http://ip/archlinux/$repo/os/$arch it works great. Will keep trying to get it work :). Thanks, Tom -----Original Message----- From: arch-general-bounces@archlinux.org [mailto:arch-general-bounces@archlinux.org] On Behalf Of Jesse Juhani Jaara Sent: Tuesday, March 08, 2011 7:18 PM To: arch-general@archlinux.org Subject: Re: [arch-general] HTTP Custom Mirror on Install ti, 2011-03-08 kello 18:39 -0500, Thomas Misilo kirjoitti:
Good Evening,
I was trying to use a custom mirror during an install today, it is only a HTTP server currently. Is this a problem, does it need to be ftp? As the mirror does work with pacman after install.
Thanks!
Tom
There are no limitations on the protocol used, as long as the program used for the downloading supports it. By default atleas ftp, http and local repositories are supported.
On 09/03/11 13:55, Thomas Misilo wrote:
I tried , but pacman says it cannot find them the different tar.gz files to download, but once I install Arch, and add the mirror to mirrorlist as Server = http://ip/archlinux/$repo/os/$arch it works great.
Will keep trying to get it work :).
Thanks,
Tom
Maybe need to expand $repo and $arch in case they are not available in the environment you are working in, try something like http://ip/archlinux/stable/os/x86_64
On Tue, Mar 8, 2011 at 6:17 PM, Jesse Juhani Jaara <jesse.jaara@gmail.com> wrote:
ti, 2011-03-08 kello 18:39 -0500, Thomas Misilo kirjoitti:
Good Evening,
I was trying to use a custom mirror during an install today, it is only a HTTP server currently. Is this a problem, does it need to be ftp? As the mirror does work with pacman after install.
Thanks!
Tom
There are no limitations on the protocol used, as long as the program used for the downloading supports it. By default atleas ftp, http and local repositories are supported.
and btw ... if your talking about a full blown local mirror (where you sync packages daily or whatever), _DON'T_ follow the relevant article in the wiki -- that script breaks symlinks to the pool directory (shared packages across architecture) and you will end up downloading nearly 2x what you should (almost ~45GB IIRC for just the main repos!!) because `*.any.tar.xz` packages, and possibly others, will be duplicated. i found this out the hard way by not testing well enough before initiating the first sync. i was able to write a script and repair it, but a word of caution at least. i've been meaning to update the wiki with my own scriptfoo that actually works pretty nice but i forgot about it until, well, just now :-) C Anthony
I am using the directions on the New Mirror page, as we are looking to eventually opening the mirror to the public. Symlinks are intact in the different directories linking to pool, so that isn't an issue. Thanks, Tom -----Original Message----- From: arch-general-bounces@archlinux.org [mailto:arch-general-bounces@archlinux.org] On Behalf Of C Anthony Risinger Sent: Wednesday, March 09, 2011 4:46 AM To: General Discussion about Arch Linux Subject: Re: [arch-general] HTTP Custom Mirror on Install On Tue, Mar 8, 2011 at 6:17 PM, Jesse Juhani Jaara <jesse.jaara@gmail.com> wrote:
ti, 2011-03-08 kello 18:39 -0500, Thomas Misilo kirjoitti:
Good Evening,
I was trying to use a custom mirror during an install today, it is only a HTTP server currently. Is this a problem, does it need to be ftp? As the mirror does work with pacman after install.
Thanks!
Tom
There are no limitations on the protocol used, as long as the program used for the downloading supports it. By default atleas ftp, http and local repositories are supported.
and btw ... if your talking about a full blown local mirror (where you sync packages daily or whatever), _DON'T_ follow the relevant article in the wiki -- that script breaks symlinks to the pool directory (shared packages across architecture) and you will end up downloading nearly 2x what you should (almost ~45GB IIRC for just the main repos!!) because `*.any.tar.xz` packages, and possibly others, will be duplicated. i found this out the hard way by not testing well enough before initiating the first sync. i was able to write a script and repair it, but a word of caution at least. i've been meaning to update the wiki with my own scriptfoo that actually works pretty nice but i forgot about it until, well, just now :-) C Anthony
On Wed, Mar 9, 2011 at 7:17 AM, Thomas Misilo <misilot@fit.edu> wrote:
I am using the directions on the New Mirror page, as we are looking to eventually opening the mirror to the public. Symlinks are intact in the different directories linking to pool, so that isn't an issue.
no worries, i didn't expect it to bear any significance with regards to your problem, but it was worth a mention. i was referring to this page: https://wiki.archlinux.org/index.php/Local_Mirror so you're probably just fine ... the "correct" way is a standard rsync with a proper filter; the script on the above page directly loops thru the repos by name, omitting the pool directory altogether. anyways, ill probably update today/tomorrow when i get some time, but that page should probably be slapped with a large "try again later". C Anthony
participants (4)
-
C Anthony Risinger
-
Jesse Juhani Jaara
-
Ross
-
Thomas Misilo