* bug#21773: guix package -u "*" fails
@ 2015-10-28 12:44 Jan Synáček
2015-10-28 14:05 ` Thompson, David
0 siblings, 1 reply; 4+ messages in thread
From: Jan Synáček @ 2015-10-28 12:44 UTC (permalink / raw)
To: 21773
[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 2174 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#21773: guix package -u "*" fails
2015-10-28 12:44 bug#21773: guix package -u "*" fails Jan Synáček
@ 2015-10-28 14:05 ` Thompson, David
2015-10-28 14:43 ` Alex Sassmannshausen
2015-10-28 14:59 ` Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Thompson, David @ 2015-10-28 14:05 UTC (permalink / raw)
To: Jan Synáček; +Cc: 21773
On Wed, Oct 28, 2015 at 8:44 AM, Jan Synáček <jan.synacek@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.
- Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#21773: guix package -u "*" fails
2015-10-28 14:05 ` Thompson, David
@ 2015-10-28 14:43 ` Alex Sassmannshausen
2015-10-28 14:59 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Alex Sassmannshausen @ 2015-10-28 14:43 UTC (permalink / raw)
To: Thompson, David; +Cc: Jan Synáček, 21773
Hello,
Thompson, David writes:
> On Wed, Oct 28, 2015 at 8:44 AM, Jan Synáček <jan.synacek@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.
To add to David's comment, you could try ".*".
But alternatively, afaik, providing no argument to -u is the equivalent
to providing ".*".
HTH,
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#21773: guix package -u "*" fails
2015-10-28 14:05 ` Thompson, David
2015-10-28 14:43 ` Alex Sassmannshausen
@ 2015-10-28 14:59 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2015-10-28 14:59 UTC (permalink / raw)
To: Thompson, David; +Cc: Jan Synáček, 21773-done
"Thompson, David" <dthompson2@worcester.edu> skribis:
> On Wed, Oct 28, 2015 at 8:44 AM, Jan Synáček <jan.synacek@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’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-28 15:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-28 12:44 bug#21773: guix package -u "*" fails Jan Synáček
2015-10-28 14:05 ` Thompson, David
2015-10-28 14:43 ` Alex Sassmannshausen
2015-10-28 14:59 ` Ludovic Courtès
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).