all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: Tobias Geerinckx-Rice <me@tobias.gr>, help-guix@gnu.org
Subject: Re: Guix installing different package versions on different machines
Date: Sat, 28 Sep 2019 22:43:05 +0200	[thread overview]
Message-ID: <33b38103-a090-6bb5-27dd-ed3d236ad8e1@posteo.de> (raw)
In-Reply-To: <8736ggeb4b.fsf@nckx>

The moment at which I did the `guix pull` and `guix package- u` cannot
be the issue for outdated packages, as I have done both multiple times
weeks after noticing the behavior described. It is not, that the package
was not available in the morning but was available in the afternoon or
something like that. For weeks I've tried multiple times and the version
difference is still there.

On 9/28/19 4:41 PM, Tobias Geerinckx-Rice wrote:
> Zelphir,
>
> Zelphir Kaltstahl 写道:
>> I installed Guix on my own machine (Xubuntu 18.04.3) and at work on my
>> machine (Ubuntu 18.04.3). Although I do `guix pull` and then `guix
>> package -u`, both machines get different versions of packages installed
>> this way.
>
>> Guile (home: 2.2.4, work: 2.2.6).
>
> This is not normal.  GNU Guile 2.2.6 was added to Guix almost 3 months
> ago.
>
> What does ‘guix describe’ return on both machines?  Something recent? 
> You can look up the commit IDs in the git history.
>
> What does ‘which guix’ say?  It should print the same thing on both
> machines (/home/you!/.config/guix/current/bin/guix). Certainly not
> /usr/local/bin/guix or anything like that.

This seems to be more in the right direction:

$ guix describe
guix describe: error: failed to determine origin

$ which guix
/usr/local/bin/guix

So there seems to be an issue here. The question then is, how it got to
/usr/local/bin/guix. `sudo aptitude search guix` does not reveal any
results, so I cannot have installed it in such a way. I am quite sure
that I simply followed the instructions on the website to do a binary
installation on both system, at work and at home.

I currently do not have access to the machine at work for the next few
days, so I cannot check what the results for those commands are on that
machine.

If /usr/local/bin/guix is wrong, what could cause it and do I need to
reinstall Guix?

>
>> I don't
>> understand this behavior, as I thought that both installations of Guix
>> should use the same repositories, because I installed them the same way
>> and I even use the same OS at the core. Furthermore I thought, that Guix
>> installs packages as they have been provided by contributors and does
>> not perform checks, whether some package is suitable on a system.
>>
>> Where is my understanding wrong?
>
> Trick question :-)  Your understanding is, generally, correct.
>
>> What can lead to this behavior?
>
> Guix doesn't strictly ‘use repositories’: package definitions are part
> of and updated in sync with the package manager, which is why it
> matters *which* guix runs when you invoke it and why I'm interested in
> the output of ‘which guix’ above.  ‘guix pull’ *only* updates
> /home/you!/.config/guix/current/bin/guix.
>
> Packages can be marked as unsupported on certain architectures (e.g.
> i686 vs. x86_64 or aarch64) and/or kernels (the Hurd or Linux), but
> guile@2.2.6 supports all of them.
>
> AFAIK Guix only runs on one OS (GNU), so that can't affect things either.
>
> Jesse Gibbons 写道:
>> To make sure all package versions match, write cron jobs to do this
>> at the
>> same time on both machines.
>
> Yes.  If said matching is really important to you, having all machines
> ‘git pull --commit=…’ to the same commit is even better but requires
> some communication between them.


It is not a production system, I just want to be on the up-to-date
version of packages, when they are released. So not super important, but
annoying to know, that for some reason I am not getting the new version
at home.

Thank for your help so far,

Zelphir

  reply	other threads:[~2019-09-28 20:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-28 13:02 Guix installing different package versions on different machines Zelphir Kaltstahl
2019-09-28 13:48 ` Jesse Gibbons
2019-09-28 14:41   ` Tobias Geerinckx-Rice
2019-09-28 20:43     ` Zelphir Kaltstahl [this message]
2019-09-29 23:02       ` Hebi Li
2019-10-03 13:13       ` Zelphir Kaltstahl
2019-10-03 15:06         ` Tobias Geerinckx-Rice

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=33b38103-a090-6bb5-27dd-ed3d236ad8e1@posteo.de \
    --to=zelphirkaltstahl@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=me@tobias.gr \
    /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.