unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: myglc2@gmail.com
To: help-guix@gnu.org
Subject: guix package: error: build failed: opening lock file?
Date: Thu, 05 Apr 2018 15:43:50 -0400	[thread overview]
Message-ID: <877eplv3pl.fsf@gmail.com> (raw)

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

             reply	other threads:[~2018-04-05 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-05 19:43 myglc2 [this message]
2018-04-06  6:13 ` guix package: error: build failed: opening lock file? Chris Marusich
2018-04-06  8:35   ` Ludovic Courtès
2018-04-06 16:24     ` myglc2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877eplv3pl.fsf@gmail.com \
    --to=myglc2@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).