GNU bug report logs - #27261
guix package -u should warn about non-existent packages

Previous Next

Package: guix;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Tue, 6 Jun 2017 00:50:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #13 received at 27261 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 27261 <at> debbugs.gnu.org, ludo <at> gnu.org, mhw <at> netris.org
Subject: Re: bug#27261: guix package -u should warn about non-existent packages
Date: Sun, 25 Jun 2017 19:53:26 -0400
[Message part 1 (text/plain, inline)]
On Sun, Jun 25, 2017 at 10:30:10PM +0200, Ludovic Courtès wrote:
> Mark H Weaver <mhw <at> netris.org> skribis:
> > In order to guard against users unwittingly using old software with
> > unpatched security flaws, "guix package -u" should issue a warning if
> > any packages in the profile that match the provided patterns are not
> > found in the set of available packages.
> 
> Fixed in a1b46bdc069e6e3bbc5b171fafbc40213611ff1f, thanks!

I noticed this doesn't work in some cases, although I'm not sure exactly
when it will work and when it won't.

I ran `guix pull` after this missing package warning was implemented,
but before I pushed afc9d8ec2b724b67f (gnu: Add jmtpfs).

I installed jmtpfs from a Git checkout, and then ran `guix package -u .`

As expected, Guix complained that the jmtpfs package does not exist.

However, it did not complain about the syncthing package in my profile,
even though syncthing is not available in Guix. The syncthing package is
on a branch that's not checked out, and there is no stray
'gnu/packages/syncthing.go' file.

I thought it might be caused by the presence of the qsyncthingtray
package in Guix (not in my profile), but even after I deleted that
package and rebuilt Guix from a fresh checkout, I still had this
problem.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 51 days ago.

Previous Next


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