all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* paps not found after migrating VM
@ 2019-04-24 18:05 Laura Lazzati
  2019-04-24 20:31 ` Björn Höfling
  0 siblings, 1 reply; 3+ messages in thread
From: Laura Lazzati @ 2019-04-24 18:05 UTC (permalink / raw)
  To: help-guix

Hi guix!

I've been migrating my VM to a new fresh one with the same foreign
distro but installed with minimal installation (Ubuntu 18.04) and I am
encountering this issue:
When I try to run the script to create the documentation videos, I get:


/build-video.sh
Entering a Guix container to build the videos.
Available packages in the container: paps make imagemagick guile
ffmpeg inkscape coreutils findutils cairo-xcb
guix environment: error: paps: unknown package

Paps is installed. Here I show the output of 'which paps' 'guix
--version' and 'guix package -I'

New VM that doesn't work:
<-----------------------------------starts here
--------------------------------------------->
guix --version
guix (GNU Guix) 0.16.0
Copyright (C) 2018 the Guix authors
License GPLv3+: GNU GPL version 3 or later <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.

which paps
/home/laura/.guix-profile/bin/paps

 guix package -I
texinfo    6.5    out    /gnu/store/r7dmaiczxb4vikn9644hsxmnh0sjyjg1-texinfo-6.5
guile-syntax-highlight    0.1    out
/gnu/store/cmdq7mxj1xm0916jjgvj2lj9iwrp3ynk-guile-syntax-highlight-0.1
glibc-locales    2.28    out
/gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28
vim    8.1.0644    out
/gnu/store/xpmgf3qa7ygz89829275qv3af5l0m790-vim-8.1.0644
git    2.21.0    out    /gnu/store/f7lmi6k82mw54gz00m5nq4abpc79mgbp-git-2.21.0
gettext    0.19.8.1    out
/gnu/store/4sd2cgxcq8vwzjkdrbpykqf9ksm4ll73-gettext-0.19.8.1
itstool    2.0.2    out
/gnu/store/83c6gi7gwls7m6ah2ii4wyshgs92xmcq-itstool-2.0.2
inkscape    0.92.4    out
/gnu/store/c89wm1fck8hyr82xwalpm99y3q6whwpm-inkscape-0.92.4
ffmpeg    4.1.3    out
/gnu/store/8ifqfwzs4badjpgawaw96nfaz10anxl2-ffmpeg-4.1.3
mpv    0.29.1    out    /gnu/store/2n2n3156bgsyay30zn0jj2slaqs8yk18-mpv-0.29.1
aegisub    3.2.2    out
/gnu/store/5i97h0j86svbqlnvxahq88l3whjl08id-aegisub-3.2.2
vlc    3.0.6    out    /gnu/store/qgvf3r8rchcas23a3vcy0x5lc2d4xqx8-vlc-3.0.6
fontconfig    2.13.1    out
/gnu/store/66jfnfgca7yi6xmpw6ax86cldvr016ia-fontconfig-2.13.1
nss    3.41    out    /gnu/store/rv9xn15wqcm40y71p4cmp7409gknymxq-nss-3.41
guile    2.2.4    out    /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4
imagemagick    6.9.10-16    out
/gnu/store/fxphwmmwlfxmp18wi86na1i6ss7ny75d-imagemagick-6.9.10-16
gnutls    3.6.5    out
/gnu/store/x1aj9ppinvf9vcyvfnb4dxfxpnymhqax-gnutls-3.6.5
haunt    0.2.4    out    /gnu/store/nvrmk13v4gh1li66hj8pbgv5wn0jk6i4-haunt-0.2.4
recutils    1.8    out
/gnu/store/wzk023ls4f7dq4mcc3kc86vskhw804n1-recutils-1.8
emacs    26.2    out    /gnu/store/x4vijxdsfgsnmvj9lxj1qj485zk20mm6-emacs-26.2
nss-certs    3.41    out
/gnu/store/3n0wwz2kij71xa7wkgblwi8ifx452gav-nss-certs-3.41
cairo-xcb    1.16.0    out
/gnu/store/16ym9c2n7y7kj4cikbszl07p70sknmlp-cairo-xcb-1.16.0
totem    3.26.2    out
/gnu/store/g9yliy6wv09wf16a5rcmcy4g9bj46rlq-totem-3.26.2
icecat    60.6.1-guix1    out
/gnu/store/s26h75i90wkjablwa82yv15cqyxs7l35-icecat-60.6.1-guix1
paps    0.7.0-1.37e6ca1    out
/gnu/store/0n0ix4hdh23ka6sffdamx0znj235kg2l-paps-0.7.0-1.37e6ca1
coreutils    8.30    out
/gnu/store/xzgfh8kdxilyymi1a8i97b1nci1iybhi-coreutils-8.30
findutils    4.6.0    out
/gnu/store/5x982hxmqfxazl04drmq83f138skddmr-findutils-4.6.0
<----------------------------ends
here----------------------------------------------------->

old VM that works:

<-------------------------------starts
here------------------------------------------------->
guix --version
guix (GNU Guix) 0.16.0-10.2637cfd
Copyright (C) 2019 the Guix authors
License GPLv3+: GNU GPL version 3 or later <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.

which paps
/home/laura/.guix-profile/bin/paps

guix package -I
gettext    0.19.8.1    out
/gnu/store/fqwfmh4l6ssp875hwbqy335z81sih2nz-gettext-0.19.8.1
go-ipfs    0.4.18    out
/gnu/store/11gpzcxs4mb82y33avw9b9wdv3498k28-go-ipfs-0.4.18
itstool    2.0.2    out
/gnu/store/x1iv138ljdqwq448xz2ymvnv7drzh58z-itstool-2.0.2
inkscape    0.92.3    out
/gnu/store/za5ywnwnb1cy2xp3q2dqa9jqxjbrxnbg-inkscape-0.92.3
texinfo    6.5    out    /gnu/store/r7dmaiczxb4vikn9644hsxmnh0sjyjg1-texinfo-6.5
glibc-utf8-locales    2.28    out
/gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28
ffmpeg    4.1    out    /gnu/store/gpwl4qp6px3cani9np4i8lvqyl8lalrm-ffmpeg-4.1
mpv    0.29.1    out    /gnu/store/k3m7zd0sfxa9d02rjrqgkfhdlph505dj-mpv-0.29.1
aegisub    3.2.2    out
/gnu/store/3rjl9f0lh5yf8nc5f7kh6nycc0ka9naq-aegisub-3.2.2
vlc    3.0.5    out    /gnu/store/s3fg74cia1ji6vq04qiqxhg2ihi6ybwn-vlc-3.0.5
fontconfig    2.13.1    out
/gnu/store/66jfnfgca7yi6xmpw6ax86cldvr016ia-fontconfig-2.13.1
nss    3.39    out    /gnu/store/7835mfkr1w28qjhbnnjj3hn9dpa16v5q-nss-3.39
guile    2.2.4    out    /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4
paps    0.7.0-1.37e6ca1    out
/gnu/store/dhkbafzpbchzhghizx63sd79vi3c54q5-paps-0.7.0-1.37e6ca1
imagemagick    6.9.10-14    out
/gnu/store/qf4k11fic4jhx7pzfgrl5c781gk41x19-imagemagick-6.9.10-14
gnutls    3.6.5    out
/gnu/store/x1aj9ppinvf9vcyvfnb4dxfxpnymhqax-gnutls-3.6.5
haunt    0.2.4    out    /gnu/store/nvrmk13v4gh1li66hj8pbgv5wn0jk6i4-haunt-0.2.4
guix    0.16.0-10.2637cfd    out
/gnu/store/kwibzwgxpnpfc01bz0d67iyl9p3m6gf2-guix-0.16.0-10.2637cfd
guile-syntax-highlight    0.1    out
/gnu/store/cmdq7mxj1xm0916jjgvj2lj9iwrp3ynk-guile-syntax-highlight-0.1
glibc-locales    2.28    out
/gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28
recutils    1.8    out
/gnu/store/w8whd2cf816b18lmk34800421h6xjcdl-recutils-1.8
emacs    26.1    out    /gnu/store/9b5ii2pbk4wbjbm6l2jl2i8spnsiznk3-emacs-26.1
nss-certs    3.41    out
/gnu/store/3n0wwz2kij71xa7wkgblwi8ifx452gav-nss-certs-3.41
cairo-xcb    1.16.0    out
/gnu/store/9nqqmk6b93392yqksraby41v3ww2rzkr-cairo-xcb-1.16.0
totem    3.26.2    out
/gnu/store/m50m4qh9v5ss0fw0bfmw3jns69z0j0g4-totem-3.26.2
icecat    60.5.0-guix1    out
/gnu/store/9998lqxzgg8z77bl19ga2ycvjrxaz6d2-icecat-60.5.0-guix1
<-----------------------------------ends
here----------------------------------------------->

Here I also copy the content of the script:

build-video.sh:
<-----------------------------------starts
here----------------------------------------------->
#!/bin/sh

# Script to enter a Guix container which has all
# necessary packages to build the videos plus some
# convenient ones.

PACKAGES="paps make imagemagick guile ffmpeg inkscape coreutils
findutils cairo-xcb"

echo "Entering a Guix container to build the videos."
echo "Available packages in the container: $PACKAGES"
guix environment -C --ad-hoc $PACKAGES -- ./helper.sh $1
<-----------------------------------ends
here----------------------------------------------->

Regards :)
Laura

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

* Re: paps not found after migrating VM
  2019-04-24 18:05 paps not found after migrating VM Laura Lazzati
@ 2019-04-24 20:31 ` Björn Höfling
  2019-04-25  1:36   ` Laura Lazzati
  0 siblings, 1 reply; 3+ messages in thread
From: Björn Höfling @ 2019-04-24 20:31 UTC (permalink / raw)
  To: Laura Lazzati; +Cc: help-guix

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

On Wed, 24 Apr 2019 15:05:19 -0300
Laura Lazzati <laura.lazzati.15@gmail.com> wrote:

> /build-video.sh
> Entering a Guix container to build the videos.
> Available packages in the container: paps make imagemagick guile
> ffmpeg inkscape coreutils findutils cairo-xcb
> guix environment: error: paps: unknown package
> 
> Paps is installed. Here I show the output of 'which paps' 'guix
> --version' and 'guix package -I'
> 
> New VM that doesn't work:
> <-----------------------------------starts here
> --------------------------------------------->  
> guix --version
> guix (GNU Guix) 0.16.0
> Copyright (C) 2018 the Guix authors

I wonder about the version. It should be 0.16.0 only after
installation. Did you ever do a 'guix pull'?

If you did pull, then you should have as version one of the latest
commit ids:

guix --version
guix (GNU Guix) e01bd1a67447c1f2a2b5b03e8ea8fbbccd2cd5bd
Copyright (C) 2019 the Guix authors

Compare also the copyright year!

paps was added this year, on: 2019-01-05 

If after a guix pull you still see the wrong guix version, maybe
something in your PATH is pointing to the wrong guix?

Look at `which guix`, it should be somehting like:

/home/user/.config/guix/current/bin/guix

Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* Re: paps not found after migrating VM
  2019-04-24 20:31 ` Björn Höfling
@ 2019-04-25  1:36   ` Laura Lazzati
  0 siblings, 0 replies; 3+ messages in thread
From: Laura Lazzati @ 2019-04-25  1:36 UTC (permalink / raw)
  To: Björn Höfling; +Cc: help-guix

Hi Bruno :)

> I wonder about the version. It should be 0.16.0 only after
> installation. Did you ever do a 'guix pull'?
Yes, I guix pulled, otherwise I wouldn't have been able to install
paps. I will guix pull again, does no harm.

> If you did pull, then you should have as version one of the latest
> commit ids:
>
> guix --version
> guix (GNU Guix) e01bd1a67447c1f2a2b5b03e8ea8fbbccd2cd5bd
> Copyright (C) 2019 the Guix authors
>
> Compare also the copyright year!
It is super weird.
> Look at `which guix`, it should be somehting like:
>
> /home/user/.config/guix/current/bin/guix
I think this is the issue, it is not pointing at the right guix. Will
let you know after fixing it :)
Thank you for your help.

Regards!
Laura

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

end of thread, other threads:[~2019-04-25  1:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-24 18:05 paps not found after migrating VM Laura Lazzati
2019-04-24 20:31 ` Björn Höfling
2019-04-25  1:36   ` Laura Lazzati

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.