all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Quiliro <quiliro@riseup.net>
Cc: help-guix@gnu.org
Subject: Re: installing a mirror for offline installation
Date: Fri, 26 May 2017 20:36:50 +0200	[thread overview]
Message-ID: <87wp93ea7x.fsf@elephly.net> (raw)
In-Reply-To: <20170526131240.3fc7eeae@riseup.net>


Quiliro <quiliro@riseup.net> writes:

> El Fri, 26 May 2017 13:20:36 +0200
> Ricardo Wurmus <rekado@elephly.net> escribió:
>
>>
>> Quiliro <quiliro@riseup.net> writes:
>>
>> > I finally could install bare-bones.scm GuixSD working machine. Now i
>> > am interested in installing a mirror [of hydra] for offline
>> > installation. There is no telecommunications where I live. So I could
>> > bring the server to download substitutes and then take it back to my
>> > network for local download. I was told that an nginx mirror of hydra
>> > would cache only substitutes after they have been requested through
>> > it.
>>
>> This is a little complicated.  We build software continuously with
>> Hydra, so what you want would only really work for one particular
>> version of Guix.
>>
>> Hydra provides binaries not only for a single version of Guix, so you
>> cannot just copy everything.  What you *can* do, however, is this:
>>
>> * provision a portable computer with lots of disk space
>
> Will 100GB be enough? 1TB?

Do you need *all* packages?  Note that it would only be for *one*
version of Guix, so you’d have to do this again if you want to update
the machines at some point.

>> * check out the version of Guix you plan to install elsewhere
>>
>> * build *every* package that you know you will need at the remote site.
>>   (This could be done by building a system configuration, for example.)
>
> I have no idea how to do this. I know how to install a group of
> packages to make a desktop for example. But is there a group where all
> packages are installed? Could there be a conflict where one package is
> not downloaded because it will conflict with another? (I know this is
> usually not the case in GuixSD but all cases have been considered?)

There will not be any conflicts.  You don’t install these packages into
a profile, you just add them to the store where every item has its own
directory.  Only when installing packages into a single profile there
can be file name conflicts.

Not all packages can actually be built.  There’s a small percentage of
packages that fails to build from source and you would probably waste a
lot of time trying to build them locally.  I don’t know if there’s an
easy way to exclude those packages and refuse to build anything locally
(maybe with a smart offloading setup).

It might be easier to just build a single complete system configuration,
export it (e.g. with “guix archive” or “guix copy”) and import it on the
other machine.  I don’t think it’s a good idea to repeatedly build and
copy store items over.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

  reply	other threads:[~2017-05-26 18:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-25 23:19 installing a mirror for offline installation Quiliro
2017-05-26 11:20 ` Ricardo Wurmus
2017-05-26 18:12   ` Quiliro
2017-05-26 18:36     ` Ricardo Wurmus [this message]
2017-05-26 18:48       ` Quiliro
     [not found]       ` <20170526135013.167cdfaf@riseup.net>
2017-05-26 19:57         ` Ricardo Wurmus
2017-06-05 19:41           ` Quiliro
2017-06-07 14:57             ` Quiliro
2017-06-16 15:51           ` Quiliro
2017-06-05 19:25 ` Quiliro
2017-06-05 21:23   ` Ricardo Wurmus
2017-06-16 17:05   ` ng0
2017-06-16 17:40     ` Quiliro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wp93ea7x.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=quiliro@riseup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.