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.

Reply via email to