unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* guix package -u --fallback does nothing
@ 2017-07-25  9:35 Hartmut Goebel
  2017-07-25 11:16 ` Hartmut Goebel
  0 siblings, 1 reply; 4+ messages in thread
From: Hartmut Goebel @ 2017-07-25  9:35 UTC (permalink / raw)
  To: help-guix

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

Hi,

I'm try upgrading from guix-0.12.0-10.ba2260d but the profile is not upated.

I used "guix pull" to get the latest version.

"guix package -u" is loading substitutes, fails with this and recommends
using --fallback.

"guix package -u --fallback" when run the first time did compile some
packages, but did not update the profile.

"guix package -u --fallback" when run another time does *nothing*. "guix
package -l" still show the old generation.


"guix package -A guix" lists guix-0.13.0-4.f1ddfe4, so it should be
aware of the new package.

What is going on here? How can I solve this?

I also tried setting SSL_CERT_DIR, SSL_CERT_FILE and GIT_SSL_CAINFO
without success.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


[-- Attachment #2: 0xBF773B65.asc --]
[-- Type: application/pgp-keys, Size: 14855 bytes --]

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

* Re: guix package -u --fallback does nothing
  2017-07-25  9:35 guix package -u --fallback does nothing Hartmut Goebel
@ 2017-07-25 11:16 ` Hartmut Goebel
  2017-07-25 12:27   ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Hartmut Goebel @ 2017-07-25 11:16 UTC (permalink / raw)
  To: help-guix

Am 25.07.2017 um 11:35 schrieb Hartmut Goebel:
> "guix package -u --fallback" when run another time does *nothing*. "guix
> package -l" still show the old generation.

"guix package --fallback -u" did the trick.

Weird. I'll open a bug-report

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

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

* Re: guix package -u --fallback does nothing
  2017-07-25 11:16 ` Hartmut Goebel
@ 2017-07-25 12:27   ` Ludovic Courtès
  2017-07-25 17:25     ` ng0
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-07-25 12:27 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: help-guix

Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

> Am 25.07.2017 um 11:35 schrieb Hartmut Goebel:
>> "guix package -u --fallback" when run another time does *nothing*. "guix
>> package -l" still show the old generation.
>
> "guix package --fallback -u" did the trick.
>
> Weird. I'll open a bug-report

No need: ‘-u’ takes an optional regexp.  When you type “-u --fallback”,
it takes “--fallback” as that regexp.

This is a common mistake though, so we could change ‘guix package’ to at
least emit a warning then the regexp starts with a hyphen.

Thoughts?

Ludo’.

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

* Re: guix package -u --fallback does nothing
  2017-07-25 12:27   ` Ludovic Courtès
@ 2017-07-25 17:25     ` ng0
  0 siblings, 0 replies; 4+ messages in thread
From: ng0 @ 2017-07-25 17:25 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

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

Ludovic Courtès transcribed 0.6K bytes:
> Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
> 
> > Am 25.07.2017 um 11:35 schrieb Hartmut Goebel:
> >> "guix package -u --fallback" when run another time does *nothing*. "guix
> This is a common mistake though, so we could change ‘guix package’ to at
> least emit a warning then the regexp starts with a hyphen.
> 
> Thoughts?

Yes, I agree. A warning would be useful for those who forget that
--update / -u acts this way.
Or maybe a error message + something like this in addition:

guix package --update --bazinga is wrong, did you mean guix package --bazinga --update

> Ludo’.
> 
> 

-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2017-07-25 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25  9:35 guix package -u --fallback does nothing Hartmut Goebel
2017-07-25 11:16 ` Hartmut Goebel
2017-07-25 12:27   ` Ludovic Courtès
2017-07-25 17:25     ` ng0

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