GNU bug report logs - #21773
guix package -u "*" fails

Previous Next

Package: guix;

Reported by: Jan Synáček <jan.synacek <at> gmail.com>

Date: Wed, 28 Oct 2015 12:45:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#21773: closed (guix package -u "*" fails)
Date: Wed, 28 Oct 2015 15:00:05 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 28 Oct 2015 15:59:26 +0100
with message-id <87fv0v82ep.fsf <at> gnu.org>
and subject line Re: bug#21773: guix package -u "*" fails
has caused the debbugs.gnu.org bug report #21773,
regarding guix package -u "*" fails
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
21773: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21773
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jan Synáček <jan.synacek <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix package -u "*" fails
Date: Wed, 28 Oct 2015 13:44:07 +0100
[Message part 3 (text/plain, inline)]
I installed guix on my Fedora 23 machine according to
https://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html#Binary-Installation.
After that, I don't recall installing anything but guile. When I attempt to
run the following command, I see a backtrace.

# guix package -u "*"
warning: failed to install locale: Invalid argument
Backtrace:
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure 27e4d20> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure 27e4d20>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2401: 12 [save-module-excursion #<procedure 2801940 at
ice-9/boot-9.scm:4045:3 ()>]
4050: 11 [#<procedure 2801940 at ice-9/boot-9.scm:4045:3 ()>]
1724: 10 [%start-stack load-stack ...]
1729: 9 [#<procedure 2818ea0 ()>]
In unknown file:
   ?: 8 [primitive-load
"/gnu/store/85nyj4lz480mxaj5szffli3c1k2rbhfn-guix-0.8.3/bin/.guix-real"]
In guix/ui.scm:
1032: 7 [run-guix-command package "-u" "*"]
In ice-9/boot-9.scm:
 157: 6 [catch srfi-34 #<procedure 4142a20 at guix/ui.scm:378:2 ()> ...]
 157: 5 [catch system-error ...]
In guix/scripts/package.scm:
 995: 4 [#<procedure 4144150 at guix/scripts/package.scm:984:4 ()>]
 854: 3 [process-actions (# # # # ...)]
 566: 2 [options->installable (# # # # ...) #<<manifest> entries: #>]
In srfi/srfi-1.scm:
 664: 1 [filter-map #<procedure 413e5e0 at guix/scripts/package.scm:566:16
(expr)> ...]
In unknown file:
   ?: 0 [make-regexp "*"]

ERROR: In procedure make-regexp:
ERROR: In procedure make-regexp: Invalid preceding regular expression

# guix --version
warning: failed to install locale: Invalid argument
guix (GNU Guix) 0.8.3

-- 
Jan Synáček
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: "Thompson\, David" <dthompson2 <at> worcester.edu>
Cc: Jan Synáček <jan.synacek <at> gmail.com>,
 21773-done <at> debbugs.gnu.org
Subject: Re: bug#21773: guix package -u "*" fails
Date: Wed, 28 Oct 2015 15:59:26 +0100
"Thompson, David" <dthompson2 <at> worcester.edu> skribis:

> On Wed, Oct 28, 2015 at 8:44 AM, Jan Synáček <jan.synacek <at> gmail.com> wrote:
>> I installed guix on my Fedora 23 machine according to
>> https://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html#Binary-Installation.
>> After that, I don't recall installing anything but guile. When I attempt to
>> run the following command, I see a backtrace.
>
> That's because '*' isn't a valid regular expression.

Right, so if you want to upgrade all the packages, you can run either:

  guix package -u

or:

  guix package -u '.*'

Anyway, the backtrace was clearly sub-optimal.  Commit fd688c8 fixes
that.  Now you’d get this:

--8<---------------cut here---------------start------------->8---
$ LC_ALL=cs_CZ.utf8 ./pre-inst-env guix package -u '*'
guix package: error: '*' is not a valid regular expression: Nepřípustný předchozí regulární výraz
--8<---------------cut here---------------end--------------->8---

Thank you!

Ludo’.


This bug report was last modified 9 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.