unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Old packages in GUIX under Debian stable
@ 2022-07-26  7:19 Alexander Asteroth
  2022-07-27 14:21 ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Asteroth @ 2022-07-26  7:19 UTC (permalink / raw)
  To: help-guix


Dear all,

I'm currently playing around with GUIX on a current Debian stable  
(11.4) release. More precisely I'm trying to substitute the  
"GUIX-System"-part of GUIX by Debian and install (nearly) all other  
packages using GUIX.

At first this worked perfectly fine but suddenly after a guix pull,  
guix is presenting me with really old software

e.g. (all other softwares seem to be as old as well):

> name: icecat
> version: 78.4.0-guix0-preview1

I verified that the version of the guix binary is from my current  
profile, the environment variables are freshly set from current  
profile as well.

Any hint about what could have gone wrong here? I was suspecting the  
old kernel and libraries from Debian causing this but since it worked  
in the first place that cannot be the cause.

Cheers,
Alex





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

* Re: Old packages in GUIX under Debian stable
  2022-07-26  7:19 Old packages in GUIX under Debian stable Alexander Asteroth
@ 2022-07-27 14:21 ` Ricardo Wurmus
  2022-07-28  8:23   ` Alexander Asteroth
  0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2022-07-27 14:21 UTC (permalink / raw)
  To: Alexander Asteroth; +Cc: help-guix


Alexander Asteroth <alexander.asteroth@h-brs.de> writes:

> I verified that the version of the guix binary is from my current
> profile, the environment variables are freshly set from current
> profile as well.

Do you mean the ~/.config/guix/current profile or some other profile?
What does “type guix” say?  And what does “guix describe” say?

-- 
Ricardo


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

* Re: Old packages in GUIX under Debian stable
  2022-07-27 14:21 ` Ricardo Wurmus
@ 2022-07-28  8:23   ` Alexander Asteroth
  2022-07-28  9:04     ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Asteroth @ 2022-07-28  8:23 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

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

Dear Ricardo,

On Wed, Jul 27 2022, 16:21:22, Ricardo Wurmus wrote:

> Alexander Asteroth <alexander.asteroth@h-brs.de> writes:
>
>> I verified that the version of the guix binary is from my current
>> profile, the environment variables are freshly set from current
>> profile as well.
>
> Do you mean the ~/.config/guix/current profile or some other profile?

yes.

> What does “type guix” say?

$ type guix
guix is hashed ($HOME/.guix-profile/bin/guix)

> And what does “guix describe” say?

$ guix describe
Generation 1	Jul 26 2022 15:19:43	(current)

I reinstalled just recently again. Now based on Debian testing and using
the guix-installer script. Interestingly now package isync is newer
(1.4.1 instead of 1.3.3) so I can at least read email again. But for
icecat it still has the old version

$ guix search icecat
name: icecat
version: 78.10.0-guix0-preview1

Cheers,
Alex

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 524 bytes --]

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

* Re: Old packages in GUIX under Debian stable
  2022-07-28  8:23   ` Alexander Asteroth
@ 2022-07-28  9:04     ` Tobias Geerinckx-Rice
  2022-07-28 11:50       ` Alexander Asteroth
  0 siblings, 1 reply; 6+ messages in thread
From: Tobias Geerinckx-Rice @ 2022-07-28  9:04 UTC (permalink / raw)
  To: help-guix, Alexander Asteroth, Ricardo Wurmus

Hi Alexander,

>$ type guix
>guix is hashed ($HOME/.guix-profile/bin/guix)

You ran 'guix install guix' or the equivalent.  The solution is simple:

1. Don't :-)  Update Guix only with 'guix pull'.
2. Run 'guix remove guix; hash guix' and verify that type now points to 
~/.config/guix/current.


Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.


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

* Re: Old packages in GUIX under Debian stable
  2022-07-28  9:04     ` Tobias Geerinckx-Rice
@ 2022-07-28 11:50       ` Alexander Asteroth
  2022-07-28 11:58         ` (
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Asteroth @ 2022-07-28 11:50 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: help-guix, Ricardo Wurmus

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

Hi Tobias,

On Thu, Jul 28 2022, 11:04:21, Tobias Geerinckx-Rice wrote:

> Hi Alexander,
>
>>$ type guix
>>guix is hashed ($HOME/.guix-profile/bin/guix)
>
> You ran 'guix install guix' or the equivalent.

Yes, I did that because the guix version installed by Debian at some
point started to refused to install anything because it was complaining
about wrong manifest all the time.

> The solution is simple:
>
> 1. Don't :-)  Update Guix only with 'guix pull'.
> 2. Run 'guix remove guix; hash guix' and verify that type now points to 
> ~/.config/guix/current.

If did that now (guix remove guix) and guix now points to
/usr/local/bin/guix (as installed by the guix install script).

Still `guix search icecat` shows version 78 as current

```
$ guix describe
  guix a0178d3
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a0178d34f582b50e9bdbb0403943129ae5b560ff
```

Now I ran a 'guix pull' anbd sourced the profile

```
$guix describe
Generation 3	Jul 28 2022 13:26:16	(current)
  guix bdb2e26
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: bdb2e262fcbea76de807cd829c2d2270661546a5
```     

```
$type guix
guix is hashed ($HOME/.config/guix/current/bin/guix)
```
and now software seems to be recent. Finally.

One thing I noticed during this process is that the location of the
users profile seems to have changed at some point from .guix-profile to
.config/guix/current and that my shell init files referred to the wrong
location maybe that caused the issues in the first place?

Thanks a lot!

-- Alex

>
>
> Kind regards,
>
> T G-R
>
> Sent on the go.  Excuse or enjoy my brevity.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 524 bytes --]

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

* Re: Old packages in GUIX under Debian stable
  2022-07-28 11:50       ` Alexander Asteroth
@ 2022-07-28 11:58         ` (
  0 siblings, 0 replies; 6+ messages in thread
From: ( @ 2022-07-28 11:58 UTC (permalink / raw)
  To: Alexander Asteroth, Tobias Geerinckx-Rice; +Cc: help-guix, Ricardo Wurmus

On Thu Jul 28, 2022 at 12:50 PM BST, Alexander Asteroth wrote:
> One thing I noticed during this process is that the location of the
> users profile seems to have changed at some point from .guix-profile to
> .config/guix/current and that my shell init files referred to the wrong
> location maybe that caused the issues in the first place?
Having a ~/.config/guix/current is entirely normal:

* /run/current-system/profile - `guix system` profile
* ~/.guix-profile - `guix package` profile
* ~/.guix-home/profile - `guix home` profile
* ~/.config/guix/current - `guix pull` profile

    -- (


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

end of thread, other threads:[~2022-07-28 11:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26  7:19 Old packages in GUIX under Debian stable Alexander Asteroth
2022-07-27 14:21 ` Ricardo Wurmus
2022-07-28  8:23   ` Alexander Asteroth
2022-07-28  9:04     ` Tobias Geerinckx-Rice
2022-07-28 11:50       ` Alexander Asteroth
2022-07-28 11:58         ` (

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).