unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47841: [release 1.2.1] could not install on foreign distro
@ 2021-04-17 13:29 Julien Lepiller
  2021-04-17 18:59 ` bug#47841: 'tarball' jobs on ci.guix.gnu.org install the wrong profile Leo Famulari
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Julien Lepiller @ 2021-04-17 13:29 UTC (permalink / raw)
  To: 47841

Hi Guix!

I tried using the latest tarball to install guix, by modifying the
current script. To do that, I downloaded the latest installation script
from savannah and modified it a bit:

In guix_get_bin, I removed the tar.xz extension and the download of the
signature. I also commented out the verification with gpg.

In main, I commented out the call to guix_get_bin_list and replace the
call to guix_get_bin with

guix_get_bin "https://ci.guix.gnu.org/download/" "114" "$tmp_path"

(114 being obtained by looking at the latest build of the tarball:
https://ci.guix.gnu.org/jobset/tarball).

After these changes, I was able to run:

sudo -i $HOME/guix-install.sh

which initially asked me to get the key, then managed to download the
tarball, but failed like so:

https://www.gnu.org/software/guix/
Press return to continue...
Starting installation (Sat Apr 17 08:59:36 AM EDT 2021)
[ PASS ] verification of required commands completed
[ INFO ] init system is: systemd
[ WARN ] We recommend installing and/or starting your distribution
'nscd' service
[ WARN ] Please read 'info guix "Application Setup"' about "Name
Service Switch"
[ INFO ] system is x86_64-linux
[ INFO ] Downloading Guix release archive 114
100%[===================>]  85.11M  4.27MB/s in 19s  
[ PASS ] download completed.
[ PASS ] unpacked archive
[ INFO ] Installing /var/guix and /gnu...
[ INFO ] Linking the root user's profile
/home/roptat/guix-install.sh: line 317:
/root/.config/guix/current/etc/profile: No such file or directory

Indeed, the tarball only has the following in var/guix:

/var/guix/
/var/guix/db/
/var/guix/db/db.sqlite
/var/guix/gcroots/
/var/guix/gcroots/profiles
/var/guix/profiles/
/var/guix/profiles/per-user/
/var/guix/profiles/per-user/root/
/var/guix/profiles/per-user/root/guix-profile
/var/guix/profiles/per-user/root/guix-profile-1-link


whereas the release (1.2.0) tarball contains:

/var/guix/
/var/guix/db/
/var/guix/db/db.sqlite
/var/guix/gcroots/
/var/guix/gcroots/profiles
/var/guix/profiles/
/var/guix/profiles/per-user/
/var/guix/profiles/per-user/root/
/var/guix/profiles/per-user/root/current-guix
/var/guix/profiles/per-user/root/current-guix-1-link

Note guix-profile <> current-guix

The manual still suggests to create a symlink to
/var/guix/profiles/per-user/root/current-guix and source the profile
from it.




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

end of thread, other threads:[~2021-04-20 12:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-17 13:29 bug#47841: [release 1.2.1] could not install on foreign distro Julien Lepiller
2021-04-17 18:59 ` bug#47841: 'tarball' jobs on ci.guix.gnu.org install the wrong profile Leo Famulari
2021-04-17 20:17   ` Leo Famulari
2021-04-18  7:36     ` Mathieu Othacehe
2021-04-18 17:15       ` Leo Famulari
2021-04-20 12:17         ` Mathieu Othacehe
2021-04-17 19:22 ` bug#47841: [release 1.2.1] could not install on foreign distro Leo Famulari
2021-04-17 21:54   ` Leo Famulari
2021-04-18  8:59 ` bug#47841: guix foreign installer Vincent Legoll

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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