unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Updating Guix package manager on Debian-based systems
@ 2017-10-03 10:24 David Seaward
  2017-10-04 14:25 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: David Seaward @ 2017-10-03 10:24 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1435 bytes --]

Hi all,

Previous discussion suggested that Guix (the package manager)
could not be included in Debian (and therefore derivatives) due
to technical policy. As a Debian-derivative user (PureOS and
sometimes Ubuntu) I'd still like a convenient way to try out and
recommend Guix to others. That is, more convenient than the (very
thorough) instructions at
https://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html

I think this hinges on how to get updates once Guix is installed.
If Guix can perform updates itself (including system
re-configuration as required), then a one-off first-time script
for Debian-based systems would be sufficient. I'm going to
(slowly) try my hand at this as time permits.

But, if Guix can't update itself or can't perform configuration
changes on a parent Debian system (should the need arise), then a
deb package is definitely more suitable. Delivering it in a deb
repository (rather than just offering a deb file to download)
would be best, because then users would get updates easily. For
the user it would be as simple as this...

sudo add-apt-repository 'deb https://magical.unicorn/repos/guix
stable main'
# maybe some command here for a key
sudo apt update
sudo apt install guix

Of course, someone would need to keep packaging guix as a deb,
build the debs and push them to https://magical.unicorn/repos --
it wasn't clear to me if this kind of effort is feasible?

Regards,
David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Updating Guix package manager on Debian-based systems
  2017-10-03 10:24 Updating Guix package manager on Debian-based systems David Seaward
@ 2017-10-04 14:25 ` Ludovic Courtès
  2017-10-08 15:38   ` Adonay Felipe Nogueira
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-10-04 14:25 UTC (permalink / raw)
  To: David Seaward; +Cc: guix-devel

Hello,

David Seaward <dseaward925@gmail.com> skribis:

> But, if Guix can't update itself or can't perform configuration
> changes on a parent Debian system (should the need arise), then a
> deb package is definitely more suitable. Delivering it in a deb
> repository (rather than just offering a deb file to download)
> would be best, because then users would get updates easily. For
> the user it would be as simple as this...

Guix can update itself.  There are two components: each user’s Guix, and
guix-daemon (installed as root).  For the latter, you need to:

  # guix pull
  # guix package -u guix

For the former, each user should run ‘guix pull’.

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Updating Guix package manager on Debian-based systems
  2017-10-04 14:25 ` Ludovic Courtès
@ 2017-10-08 15:38   ` Adonay Felipe Nogueira
  0 siblings, 0 replies; 3+ messages in thread
From: Adonay Felipe Nogueira @ 2017-10-08 15:38 UTC (permalink / raw)
  To: guix-devel

Just for clarity: "# " means it must be run as root.

Generally, you woould want to update/pull and upgrade guix as root
first. When done, then do the same for everyone that *does* have a Guix
profile enabled.

ludo@gnu.org (Ludovic Courtès) writes:

> Hello,
>
>
> Guix can update itself.  There are two components: each user’s Guix, and
> guix-daemon (installed as root).  For the latter, you need to:
>
>   # guix pull
>   # guix package -u guix
>
> For the former, each user should run ‘guix pull’.
>
> HTH,
> Ludo’.

-- 
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
  instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-08 15:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-03 10:24 Updating Guix package manager on Debian-based systems David Seaward
2017-10-04 14:25 ` Ludovic Courtès
2017-10-08 15:38   ` Adonay Felipe Nogueira

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).