unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* guix package: error: build failed: opening lock file?
@ 2018-04-05 19:43 myglc2
  2018-04-06  6:13 ` Chris Marusich
  0 siblings, 1 reply; 4+ messages in thread
From: myglc2 @ 2018-04-05 19:43 UTC (permalink / raw)
  To: help-guix

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

I am running a 'guix system vm' and 'guix package -i' fails ...

g1@server17 ~$ guix package -i icecat
guix package: error: build failed: opening lock file
`/gnu/store/4iznqdzql2cp4l2jkr09jn10xxw861c4-mirrors.lock': Read-only
file system

Any idea what I am doing wrong? Here are the details ...

guix system vm -M 4 -c 4 /home/g1/src/vm/vms/server17/server17.scm

sudo /gnu/store/1vnsn52grzvpzrdndv1f3nkf7mdwd5wk-run-vm.sh -name
server17 -net
tap,ifname=server17,script=/home/g1/src/vm/qemu-ifup,downscript=/home/g1/src/vm/qemu-ifdn
-daemonize -display none

TIA - George


[-- Attachment #2: server17.scm --]
[-- Type: application/octet-stream, Size: 2176 bytes --]

;; -*-Scheme-*-
;;; server server17 config
(use-modules (gnu))
(use-modules (gnu system nss))
(use-service-modules
 avahi
 networking ; dhcp-client-service
 ssh ; openssh-service-type
 ) 
(use-modules (gnu packages))
(operating-system
  (host-name "server17")
  (timezone "America/New_York")
  (locale "en_US.utf8")
  (bootloader (grub-configuration (target "/dev/sda")))
  (file-systems (cons (file-system
			(device "g1sd")
			(title 'label)
			(mount-point "/")
			(type "ext4"))
		      %base-file-systems))
  (users (cons*
	  (user-account
	   (name "g1")
	   (group "users")
	   (supplementary-groups '("wheel"))
	   (home-directory "/home/g1"))
	  (user-account
	   (name "al")
	   (group "users")
	   (supplementary-groups '("wheel"))
	   (home-directory "/home/al"))
	  %base-user-accounts))
  (packages (append (map specification->package
			 '(
			   "aspell"
			   "aspell-dict-en"
			   "automake"
			   "conkeror"
			   "cups"
			   "emacs"
			   "emacs-ag"
			   "emacs-bui" ; to build emacs-guix from git checkout
			   "emacs-debbugs" ; so we can map C-c d >> guix bugs
			   "emacs-flycheck"
			   "emacs-guix"
			   "emacs-git-modes"
			   "emacs-highlight-symbol"
			   "emacs-highlight-sexp"
			   "emacs-pdf-tools"
			   "emacs-with-editor"
			   "emacs-paredit"
			   "font-dejavu"
			   "font-gnu-freefont-ttf"
			   "geiser"
			   "gettext-minimal"
			   "git"
			   "graphviz"
			   "gs-fonts"
			   "guile"
			   "guile-charting"
			   "help2man"
			   "icecat"
			   "isync"
			   "magit"
			   "make"
			   "nss-certs"
			   "openssh"
			   "screen"
			   "rsync"
			   "sicp"
			   "strace"
			   "the-silver-searcher"
			   "time"
			   "tree"
			   "wget"
			   "xauth"
			   "xeyes"
			   )) %base-packages))
  (services (cons*
	     (dhcp-client-service)
	     (service openssh-service-type
		      (openssh-configuration
		       (x11-forwarding? #t)
		       (permit-root-login #t)
		       (authorized-keys
			`(
			  ("g1" ,(local-file "glc.pub"))
			  ("al" ,(local-file "glc.pub"))
			  ("root" ,(local-file "glc.pub"))))))
	     (avahi-service)
	     (ntp-service)
	     %base-services))
  (name-service-switch %mdns-host-lookup-nss))

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

end of thread, other threads:[~2018-04-06 16:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-05 19:43 guix package: error: build failed: opening lock file? myglc2
2018-04-06  6:13 ` Chris Marusich
2018-04-06  8:35   ` Ludovic Courtès
2018-04-06 16:24     ` myglc2

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