all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix-daemon is still of version 0.15.0
@ 2018-12-31 18:56 znavko
  2018-12-31 22:14 ` Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: znavko @ 2018-12-31 18:56 UTC (permalink / raw)
  To: Help Guix

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

I have read this https://www.gnu.org/software/guix/blog/2018/multi-dimensional-transactions-and-rollbacks-oh-my/ <https://www.gnu.org/software/guix/blog/2018/multi-dimensional-transactions-and-rollbacks-oh-my/> 

As described in blog, package definitions have tight coupling with package manager version.

Because of this I can install older version Icecat-62 only from guix-0.15.0, but cannot install it from guix-0.16.0, cause guix-0.16.0 has only one package definition of Icecat-63:

$ guix package --show=icecat
name: icecat
version: 60.3.0-gnu1...

The guix-0.15.0 has Icecat-62:

$ /gnu/store/mfvjx6s8knbh8xn5gsxa92aqisg7v1dp-profile/bin/guix package --show=icecat
name: icecat
version: 60.2.0-gnu1

I have 2 question:
- Why older version of guix can work with guix-daemon newer version? Can there be any conflicts? How does it work exactly?

The second question concerns guix-daemon in my system.  I've discovered I still have guix-daemon-0.15.0 working process despite I've made `guix pull` from root and non-root user and using guix-0.16.0:

# ps -ef | grep guix-daemon
root       293     1  0 19:00 ?        00:00:00 /gnu/store/mmdk0hia4j0blrzclyv9nrlz57g3lbv7-guix-0.15.0-8.71a78ba/bin/guix-daemon --build-users-group guixbuild --max-silent-time 0 --timeout 0 --log-compression bzip2 --substitute-urls https://mirror.hydra.gnu.org <https://mirror.hydra.gnu.org>
root      2046   293  0 20:26 ?        00:00:07 /gnu/store/mmdk0hia4j0blrzclyv9nrlz57g3lbv7-guix-0.15.0-8.71a78ba/bin/guix-daemon 2040                guixbuild --max-silent-time 0 --timeout 0 --log-compression bzip2 --substitute-urls https://mirror.hydra.gnu.org <https://mirror.hydra.gnu.org>
root      3307  2054  0 20:58 pts/3    00:00:00 grep --color=auto guix-daemon

# guix --version
guix (GNU Guix) 402c36c1d6299e0d916f4e96ef5bf47efcd4e330
Copyright (C) 2018 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html <http://gnu.org/licenses/gpl.html>>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

# guix describe
Generation 65    Dec 31 2018 10:59:36    (current)
  guix 402c36c
    repository URL: https://git.savannah.gnu.org/git/guix.git <https://git.savannah.gnu.org/git/guix.git>
    branch: master
    commit: 402c36c1d6299e0d916f4e96ef5bf47efcd4e330


# guix package --show=guix
name: guix
version: 0.16.0-8.7ba2b27
outputs: out
systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux...


- Why guix-daemon is still 0.15.0 while as root user has guix-0.16.0? How to upgrade it? Do I need something like `guix system upgrade`? - Manual has no such option.

[-- Attachment #2: Type: text/html, Size: 4460 bytes --]

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

* Re: guix-daemon is still of version 0.15.0
  2018-12-31 18:56 guix-daemon is still of version 0.15.0 znavko
@ 2018-12-31 22:14 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2018-12-31 22:14 UTC (permalink / raw)
  To: znavko; +Cc: Help Guix


znavko@tutanota.com writes:

> - Why older version of guix can work with guix-daemon newer version?
> Can there be any conflicts? How does it work exactly?

The daemon has a limited role that is independent of package
definitions.  Clients communicate with the daemon using a simple
protocol that has only seen very few changes over the years.  The daemon
does not know anything about packages.  It understands the format of
derivations, which is what Guix package definitions are “compiled” to.

As long as the derivation format doesn’t change, the daemon version
doesn’t really matter that much.

> The second question concerns guix-daemon in my system. I've discovered
> I still have guix-daemon-0.15.0 working process despite I've made
> `guix pull` from root and non-root user and using guix-0.16.0:
[…]
> - Why guix-daemon is still 0.15.0 while as root user has guix-0.16.0?
> How to upgrade it? Do I need something like `guix system upgrade`? -
> Manual has no such option.

Are you using GuixSD or do you use Guix on a foreign distribution?  On
GuixSD you would periodically run “sudo -E guix system reconfigure
/etc/config.scm” to upgrade your system — including the daemon.

On a foreign distribution you need to check how the daemon is started –
via systemd or some other way?  Maybe the service file references the
old daemon explicitly?  To answer this we need a little more information
about how you installed Guix.

--
Ricardo

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

end of thread, other threads:[~2019-01-01 10:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-31 18:56 guix-daemon is still of version 0.15.0 znavko
2018-12-31 22:14 ` Ricardo Wurmus

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.