unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54387: Error when trying to upgrade guix
@ 2022-03-14 15:14 jbranso--- via Bug reports for GNU Guix
  2022-03-16 18:48 ` bug#54387: jbranso--- via Bug reports for GNU Guix
  2022-03-16 19:07 ` bug#54387: jbranso--- via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: jbranso--- via Bug reports for GNU Guix @ 2022-03-14 15:14 UTC (permalink / raw)
  To: 54387

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4431 bytes --]

Howdy Guix!

Sorry for resending, I do not think the first email had a subject or from.  Thanks!


When I try switch guix generations I get the following error:


/s/h/j/p/gnu/guix-config [master] λ guix system switch-generation 2
guix system: warning: unrecognized boot parameters at '/var/guix/profiles/system/parameters'
Backtrace:
In ice-9/boot-9.scm:
  1752:10 16 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In unknown file:
          15 (apply-smob/0 #<thunk 7f13adb7a2e0>)
In ice-9/boot-9.scm:
    724:2 14 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8 13 (_ #(#(#<directory (guile-user) 7f13adb7fc80>)))
In guix/ui.scm:
   2209:7 12 (run-guix . _)
  2172:10 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 10 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/status.scm:
    822:3  9 (_)
    802:4  8 (call-with-status-report _ _)
In ice-9/boot-9.scm:
  1752:10  7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   658:37  6 (thunk)
In guix/scripts/system.scm:
   375:10  5 (switch-to-system-generation #<store-connection 256.99 7f13adb8ee60> "2")
   382:16  4 (reinstall-bootloader #<store-connection 256.99 7f13adb8ee60> 2)
In ice-9/boot-9.scm:
  1747:15  3 (with-exception-handler #<procedure 7f13ab1e3e40 at ice-9/boot-9.scm:1831:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
In gnu/system.scm:
   469:15  2 (read-boot-parameters-file "/var/guix/profiles/system")
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f


Here is what is inside that file /var/guix/profiles/system/parameters.

/s/h/j/p/gnu/guix-config [master] λ cat /su:root@localhost:/var/guix/profiles/system/parameters
(boot-parameters (version 1) (label "GNU with Linux-Libre 5.15.26") (root-device "/dev/mapper/cryptroot") (kernel "/gnu/store/70qfrg1iqcia8sr1f19sq1dnsgmf4vxf-linux-libre-5.15.26/bzImage") (kernel-arguments ("modprobe.blacklist=pcspkr" "modprobe.blacklist=usbmouse,usbkbd" "quiet")) (initrd "/gnu/store/j2bk2h3x60w41xgwdihqwd9467l20pb4-raw-initrd/initrd.cpio.gz") (bootloader-name grub) (bootloader-menu-entries ((menu-entry (version 0) (label "Debian 10") (device #f) (device-mount-point #f) (linux "/boot/vmlinuz-4.19.0-8-amd64") (linux-arguments ("root=/dev/sda3" "quiet")) (initrd "/boot/initrd.img-4.19.0-8-amd64")))) (locale "en_US.utf8") (store (device #f) (mount-point "/") (directory-prefix #f) (crypto-devices ((uuid dce #vu8(215 141 34 77 75 90 65 110 175 239 60 231 124 75 213 172))))))
/s/h/j/p/gnu/guix-config [master] λ


Here is the config generated by the auto-installer.  I believe I am using the
latest installer...corresponding to Guix 1.3

;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-service-modules desktop networking ssh xorg)

(operating-system
  (locale "en_US.utf8")
  (timezone "America/Indiana/Indianapolis")
  (keyboard-layout (keyboard-layout "us" "dvorak"))
  (host-name "barnabas")
  (users (cons* (user-account
                  (name "joshua")
                  (comment "Joshua Allen Branson")
                  (group "users")
                  (home-directory "/home/joshua")
                  (supplementary-groups
                    '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))
  (packages
    (append
      (list (specification->package "nss-certs"))
      %base-packages))
  (services
    (append
      (list (service network-manager-service-type)
            (service wpa-supplicant-service-type))
      %base-services))
  (bootloader
    (bootloader-configuration
      (bootloader grub-bootloader)
      (target "/dev/sda")
      (keyboard-layout keyboard-layout)))
  (mapped-devices
    (list (mapped-device
            (source
              (uuid "d78d224d-4b5a-416e-afef-3ce77c4bd5ac"))
            (target "cryptroot")
            (type luks-device-mapping))))
  (file-systems
    (cons* (file-system
             (mount-point "/")
             (device "/dev/mapper/cryptroot")
             (type "ext4")
             (dependencies mapped-devices))
           %base-file-systems)))



I also am using a librebooted Thinkpad T400.  Thanks!




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

* bug#54387:
  2022-03-14 15:14 bug#54387: Error when trying to upgrade guix jbranso--- via Bug reports for GNU Guix
@ 2022-03-16 18:48 ` jbranso--- via Bug reports for GNU Guix
  2022-03-16 19:07 ` bug#54387: jbranso--- via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: jbranso--- via Bug reports for GNU Guix @ 2022-03-16 18:48 UTC (permalink / raw)
  To: 54387

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

Some people on irc helped me this this. I was reconfiguring via root. Root was using the old guix.
Putting in "source /etc/profile" in /root/.bashrc seemed to fix the issue.

Thanks,

Joshua

[-- Attachment #2: Type: text/html, Size: 474 bytes --]

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

* bug#54387:
  2022-03-14 15:14 bug#54387: Error when trying to upgrade guix jbranso--- via Bug reports for GNU Guix
  2022-03-16 18:48 ` bug#54387: jbranso--- via Bug reports for GNU Guix
@ 2022-03-16 19:07 ` jbranso--- via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: jbranso--- via Bug reports for GNU Guix @ 2022-03-16 19:07 UTC (permalink / raw)
  To: 54387-done

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

done. Thanks!

[-- Attachment #2: Type: text/html, Size: 274 bytes --]

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

end of thread, other threads:[~2022-03-16 19:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-14 15:14 bug#54387: Error when trying to upgrade guix jbranso--- via Bug reports for GNU Guix
2022-03-16 18:48 ` bug#54387: jbranso--- via Bug reports for GNU Guix
2022-03-16 19:07 ` bug#54387: jbranso--- via Bug reports for GNU Guix

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