Re: readline problem
So it seems that guix pull should always be followed by guix package -u ? If so, why doesn't guix pull just do the upgrade? Thanks Jim ‐‐‐ Original Message ‐‐‐ On Wednesday, January 19th, 2022 at 2:45 PM, Ricardo Wurmus wrote: > Wiktor Żelazny w...@freeshell.de writes: > > > [[PGP Signed Part:Undecided]] > > > > On Tue, Jan 18, 2022 at 03:51:35PM +0100, Ricardo Wurmus wrote: > > > > > Wiktor Żelazny w...@freeshell.de writes: > > > > > > > Hey, this sounds just like the problem I reported earlier this > > > > > > > > month. > > > > > > Can you please tell us the issue number? > > > > I did not file an issue as I wasn’t sure if that was a bug. I’m talking > > > > about the “"libc.so.6: version `GLIBC_2.33' not found" with guix > > > > time-machine --channels” thread on this mailing list, started on January > > > > 8th. > > Oh, okay. I thought there had been a bug report with a discussion I > > missed. > > > > Builds are isolated, of course, but it’s common that people who don’t > > > > > > use manifests end up building a profile that consists of a colorful > > > > > > mosaic of packages from different versions of Guix. > > > > > > guix install foo > > > > > > guix pull > > > > > > guix install bar > > > > > > guix pull > > > > > > guix install baz > > > > I suppose that this problem does not arise if `guix package -u` is run > > > > after each `guix pull`? > > It should not happen then, correct. > > Though I have had reports from confused users at work who say that “guix > > upgrade” doesn’t necessarily help, and that they actually had to use > > “guix install” on all packages again. I haven’t been able to confirm > > this yet. > > --- > > Ricardo
Re: Unable to get rid of guix-past (and unable to pull)
Gabriel Wicki writes: > Howdy! > > So, mysterious things seem to happen on my machines - yes, that's right, > i managed to reproduce the following behaviour. But see yourself: > > Guix pull fails (has guix-past been rebased or force-pushed?) > > gabriel@silvi ~$ guix pull > Updating channel 'guix' from Git repository at > 'https://git.savannah.gnu.org/git/guix.git'... > Updating channel 'gabber' from Git repository at > 'https://git.sr.ht/~gabber/gabber-channel'... > Updating channel 'nonguix' from Git repository at > 'https://gitlab.com/nonguix/nonguix'... > Updating channel 'guix-gaming-games' from Git repository at > 'https://gitlab.com/guix-gaming-channels/games.git'... > Updating channel 'guix-past' from Git repository at > 'https://codeberg.org/guix-science/guix-past.git'... > guix pull: error: aborting update of channel 'guix-past' to commit > f99ada4123de1eadf668d34dac2d726407634549, which is not a descendant of > 5fb77cce01f21a03b8f5a9c873067691cf09d057 > hint: This could indicate that the channel has been tampered with and is > trying to force a roll-back, > preventing you from getting the latest updates. If you think this is not > the case, explicitly allow > non-forward updates. > > So i investigate: > > gabriel@silvi ~$ guix describe > Generation 21 Oct 23 2024 22:56:15(current) > guix 5f4ba1c > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 5f4ba1c09fa0fba1ed230b80bae9f6a4d0d2d303 > gabber 20f7905 > repository URL: https://git.sr.ht/~gabber/gabber-channel > branch: trunk > commit: 20f7905206826e0d110cab57974b3426683ac814 > nonguix ad966c3 > repository URL: https://gitlab.com/nonguix/nonguix > branch: master > commit: ad966c3844385e8f7b60b0dc915f92a1eba47e09 > guix-gaming-games 5762eda > repository URL: https://gitlab.com/guix-gaming-channels/games.git > branch: master > commit: 5762eda5023071da5beb0f4d06a5456bb5c0 > guix-past 5fb77cc > repository URL: https://gitlab.inria.fr/guix-hpc/guix-past > branch: master > commit: 5fb77cce01f21a03b8f5a9c873067691cf09d057 > > Weirdly enough, guix-past is not im my channels configuration (which is > managed by guix home): > > gabriel@silvi ~$ cat .config/guix/channels.scm > (list (channel > (name 'guix) > (url "https://git.savannah.gnu.org/git/guix.git";) > (branch "master") > (introduction > (make-channel-introduction > "9edb3f66fd807b096b48283debdcddccfea34bad" > (openpgp-fingerprint > "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA" > (channel > (name 'gabber) > (url "https://git.sr.ht/~gabber/gabber-channel";) > (branch "trunk")) > (channel > (name 'nonguix) > (url "https://gitlab.com/nonguix/nonguix";) > (branch "master") > (introduction > (make-channel-introduction > "897c1a470da759236cc11798f4e0a5f7d4d59fbc" > (openpgp-fingerprint > "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5" > (channel > (name 'guix-gaming-games) > (url "https://gitlab.com/guix-gaming-channels/games.git";) > (branch "master") > (introduction > (make-channel-introduction > "c23d64f1b8cc086659f8781b27ab6c7314c5cca5" > (openpgp-fingerprint > "50F3 3E2E 5B0C 3D90 0424 ABE8 9BDC F497 A4BB CC7F") > > And even pulling with explicitly stating the channels file (which i > thought would **only** pull the channels described in said file) fails > pulling guix-past -- which is *not* part of that very file: > > gabriel@silvi ~$ guix pull --channels=!$ > guix pull --channels=.config/guix/channels.scm > Updating channel 'guix' from Git repository at > 'https://git.savannah.gnu.org/git/guix.git'... > Updating channel 'gabber' from Git repository at > 'https://git.sr.ht/~gabber/gabber-channel'... > Updating channel 'nonguix' from Git repository at > 'https://gitlab.com/nonguix/nonguix'... > Updating channel 'guix-gaming-games' from Git repository at > 'https://gitlab.com/guix-gaming-channels/games.git'... > Updating channel 'guix-past' from Git repository at > 'https://codeberg.org/guix-science/guix-past.git'... > guix pull: error: aborting update of channel 'guix-past' to commit > f99ada4123de1eadf668d34dac2d726407634549, which is not a descendant of > 5fb77cce01f21a03b8f5a9c873067691cf09d057 > hint: This could indicate that the channel has been tampered with and is > trying to force a roll-back, > preventing you from getting the latest updates. If you think this is not > the case, explicitly
Is mkdir-p a directory outside of /gnu/store.... possible?
Hi, I am using the guix package manager on Debian. I guix package --install-from-file-myapp.scm and during the install process I would like to (mkdir-p "$HOME/.config/myapp") and then (system* (cp "/gnu/store/.../myapp/config.txt" "$HOME/.config/myapp")) I launch guix package -i... from my home directory /home/jbs I have tried (mkdir-p "/home/jbs/.config/myapp") (system* "mkdir" "-p" "/home/jbs/.config/myapp") (invoke "mkdir" "-p" "/home/jbs/.config/myapp") but get permissions errors. I can't even make the directory in /tmp... I see the discussions on $HOME, homeless-shelter and the hacks in .../scripts/environment.scm so I presume I cannot determine $HOME(?) but even hardcoding my home does not work. Is it possible during the make/install process to make a directory outside of /gnu/store... and if yes how? Thanks Jim