all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Question: purging a package from the store
@ 2016-06-08  9:29 Pjotr Prins
  2016-06-08 10:19 ` Roel Janssen
  2016-06-08 13:33 ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Pjotr Prins @ 2016-06-08  9:29 UTC (permalink / raw)
  To: guix-devel

Our caching server gives a consistent failure for one package. It
exists in the store and 'guix gc checks' pass.

  guix substitute: error: download from
  'http://guix.genenetwork.org:8080/nar/sqd3q1xq5fsbga00bwhghi9shi7xdaac-gtk+-3.18.2'
  failed: 404, "Not Found"

Now I want to purge it without running a full gc. Next reinstall it
and see if it gets fixed.

What is the suggested method for fully purging a package from the store?

Pj.

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

* Re: Question: purging a package from the store
  2016-06-08  9:29 Question: purging a package from the store Pjotr Prins
@ 2016-06-08 10:19 ` Roel Janssen
  2016-06-08 11:14   ` Pjotr Prins
  2016-06-08 13:33 ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Roel Janssen @ 2016-06-08 10:19 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel


Pjotr Prins writes:

> Our caching server gives a consistent failure for one package. It
> exists in the store and 'guix gc checks' pass.
>
>   guix substitute: error: download from
>   'http://guix.genenetwork.org:8080/nar/sqd3q1xq5fsbga00bwhghi9shi7xdaac-gtk+-3.18.2'
>   failed: 404, "Not Found"
>
> Now I want to purge it without running a full gc. Next reinstall it
> and see if it gets fixed.
>
> What is the suggested method for fully purging a package from the store?
>
> Pj.

What about:
  guix gc --delete /gnu/store/...-gtk+-3.18.2/

(add the specific package path after --delete).

A package can only be purged when it is not installed in any profile.

Kind regards,
Roel Janssen

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

* Re: Question: purging a package from the store
  2016-06-08 10:19 ` Roel Janssen
@ 2016-06-08 11:14   ` Pjotr Prins
  0 siblings, 0 replies; 9+ messages in thread
From: Pjotr Prins @ 2016-06-08 11:14 UTC (permalink / raw)
  To: Roel Janssen; +Cc: guix-devel

On Wed, Jun 08, 2016 at 12:19:54PM +0200, Roel Janssen wrote:
> > Our caching server gives a consistent failure for one package. It
> > exists in the store and 'guix gc checks' pass.
> >
> >   guix substitute: error: download from
> >   'http://guix.genenetwork.org:8080/nar/sqd3q1xq5fsbga00bwhghi9shi7xdaac-gtk+-3.18.2'
> >   failed: 404, "Not Found"
> >
> > Now I want to purge it without running a full gc. Next reinstall it
> > and see if it gets fixed.
> >
> > What is the suggested method for fully purging a package from the store?
> >
> > Pj.
> 
> What about:
>   guix gc --delete /gnu/store/...-gtk+-3.18.2/
> 
> (add the specific package path after --delete).
> 
> A package can only be purged when it is not installed in any profile.

Hmmm. It is a running server that actually uses that package.

I wonder if it is the same problem we saw before on the substitute
servers (hits missing). How did we resolve those? What was the real
problem? A rebuild merely reinstates the profile on this machine. It
actually appears to be fine.

Even so the nar server gives an error for this package. Only for this
package - all others are served.

I guess I have to read some source code.

Pj.

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

* Re: Question: purging a package from the store
  2016-06-08  9:29 Question: purging a package from the store Pjotr Prins
  2016-06-08 10:19 ` Roel Janssen
@ 2016-06-08 13:33 ` Ludovic Courtès
  2016-06-08 16:11   ` Pjotr Prins
  2016-06-10 10:02   ` Pjotr Prins
  1 sibling, 2 replies; 9+ messages in thread
From: Ludovic Courtès @ 2016-06-08 13:33 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

Hello!

Pjotr Prins <pjotr.public12@thebird.nl> skribis:

> Our caching server gives a consistent failure for one package. It
> exists in the store and 'guix gc checks' pass.
>
>   guix substitute: error: download from
>   'http://guix.genenetwork.org:8080/nar/sqd3q1xq5fsbga00bwhghi9shi7xdaac-gtk+-3.18.2'
>   failed: 404, "Not Found"

It looks a lot like <http://bugs.gnu.org/21888>, which we should really
fix now.

Good to see you’re running your own service!

Ludo’.

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

* Re: Question: purging a package from the store
  2016-06-08 13:33 ` Ludovic Courtès
@ 2016-06-08 16:11   ` Pjotr Prins
  2016-06-10 13:04     ` Ludovic Courtès
  2016-06-10 10:02   ` Pjotr Prins
  1 sibling, 1 reply; 9+ messages in thread
From: Pjotr Prins @ 2016-06-08 16:11 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

On Wed, Jun 08, 2016 at 03:33:50PM +0200, Ludovic Courtès wrote:
> Good to see you’re running your own service!

It is used for GeneNetwork - a complex web service. It uses git for
byte-identical installs and a Guix server for distributing the
binaries. This is my current way to making sure everyone is running
the exact same software tree and get binary installs.

The installation notes are here:

  https://github.com/pjotrp/genenetwork2/blob/paper/doc/README.org#quick-installation-recipe

It is not as easy as 'guix package -i genenetwork2'. But then, it
works (TM). People are installing it this way.

Pj.
-- 

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

* Re: Question: purging a package from the store
  2016-06-08 13:33 ` Ludovic Courtès
  2016-06-08 16:11   ` Pjotr Prins
@ 2016-06-10 10:02   ` Pjotr Prins
  2016-06-10 13:05     ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Pjotr Prins @ 2016-06-10 10:02 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

On Wed, Jun 08, 2016 at 03:33:50PM +0200, Ludovic Courtès wrote:
> Hello!
> 
> Pjotr Prins <pjotr.public12@thebird.nl> skribis:
> 
> > Our caching server gives a consistent failure for one package. It
> > exists in the store and 'guix gc checks' pass.
> >
> >   guix substitute: error: download from
> >   'http://guix.genenetwork.org:8080/nar/sqd3q1xq5fsbga00bwhghi9shi7xdaac-gtk+-3.18.2'
> >   failed: 404, "Not Found"
> 
> It looks a lot like <http://bugs.gnu.org/21888>, which we should really
> fix now.

Confirmed. The bug is fixed, even running publish on the 'wrong' locale.

Many thanks!

Pj.

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

* Re: Question: purging a package from the store
  2016-06-08 16:11   ` Pjotr Prins
@ 2016-06-10 13:04     ` Ludovic Courtès
  2016-06-10 14:43       ` Pjotr Prins
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2016-06-10 13:04 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

Pjotr Prins <pjotr.public12@thebird.nl> skribis:

> On Wed, Jun 08, 2016 at 03:33:50PM +0200, Ludovic Courtès wrote:
>> Good to see you’re running your own service!
>
> It is used for GeneNetwork - a complex web service. It uses git for
> byte-identical installs and a Guix server for distributing the
> binaries. This is my current way to making sure everyone is running
> the exact same software tree and get binary installs.
>
> The installation notes are here:
>
>   https://github.com/pjotrp/genenetwork2/blob/paper/doc/README.org#quick-installation-recipe

Nice!  One limitation that may be a problem for you is that ‘guix
publish’ doesn’t yet compress the archives it serves.

> It is not as easy as 'guix package -i genenetwork2'. But then, it
> works (TM). People are installing it this way.

Is there anything particular preventing you from writing a genenetwork2
package?

Thanks,
Ludo’.

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

* Re: Question: purging a package from the store
  2016-06-10 10:02   ` Pjotr Prins
@ 2016-06-10 13:05     ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2016-06-10 13:05 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

Pjotr Prins <pjotr.public12@thebird.nl> skribis:

> On Wed, Jun 08, 2016 at 03:33:50PM +0200, Ludovic Courtès wrote:
>> Hello!
>> 
>> Pjotr Prins <pjotr.public12@thebird.nl> skribis:
>> 
>> > Our caching server gives a consistent failure for one package. It
>> > exists in the store and 'guix gc checks' pass.
>> >
>> >   guix substitute: error: download from
>> >   'http://guix.genenetwork.org:8080/nar/sqd3q1xq5fsbga00bwhghi9shi7xdaac-gtk+-3.18.2'
>> >   failed: 404, "Not Found"
>> 
>> It looks a lot like <http://bugs.gnu.org/21888>, which we should really
>> fix now.
>
> Confirmed. The bug is fixed, even running publish on the 'wrong' locale.

Great!

Also, you can now run:

  guix publish --ttl=3d

if you want to make sure users don’t see “updating the list of
substitutes” too often.  ;-)

But see the note in the manual about it.

Ludo’.

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

* Re: Question: purging a package from the store
  2016-06-10 13:04     ` Ludovic Courtès
@ 2016-06-10 14:43       ` Pjotr Prins
  0 siblings, 0 replies; 9+ messages in thread
From: Pjotr Prins @ 2016-06-10 14:43 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

On Fri, Jun 10, 2016 at 03:04:14PM +0200, Ludovic Courtès wrote:
> Is there anything particular preventing you from writing a
> genenetwork2 package?

The package exists, but I can't push it to Guix.  Some software in
there is not properly licensed. I'll need to approach the authors
one-by-one.

We may get there eventually if anyone is interested.

Pj.

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

end of thread, other threads:[~2016-06-10 14:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08  9:29 Question: purging a package from the store Pjotr Prins
2016-06-08 10:19 ` Roel Janssen
2016-06-08 11:14   ` Pjotr Prins
2016-06-08 13:33 ` Ludovic Courtès
2016-06-08 16:11   ` Pjotr Prins
2016-06-10 13:04     ` Ludovic Courtès
2016-06-10 14:43       ` Pjotr Prins
2016-06-10 10:02   ` Pjotr Prins
2016-06-10 13:05     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.