unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: 27261@debbugs.gnu.org, ludo@gnu.org, mhw@netris.org
Subject: bug#27261: guix package -u should warn about non-existent packages
Date: Sun, 25 Jun 2017 19:53:26 -0400	[thread overview]
Message-ID: <20170625235326.GA24268@jasmine.lan> (raw)
In-Reply-To: <87wp7z95f1.fsf@gnu.org>

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

On Sun, Jun 25, 2017 at 10:30:10PM +0200, Ludovic Courtès wrote:
> Mark H Weaver <mhw@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.

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

  reply	other threads:[~2017-06-25 23:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06  0:48 bug#27261: guix package -u should warn about non-existent packages Mark H Weaver
2017-06-25 20:30 ` Ludovic Courtès
2017-06-25 23:53   ` Leo Famulari [this message]
2017-06-26  8:01     ` Ludovic Courtès
2017-06-26 18:32       ` Leo Famulari
2017-06-26 18:51         ` Marius Bakke
2017-06-27 13:56           ` Ludovic Courtès
2017-06-27 19:41         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170625235326.GA24268@jasmine.lan \
    --to=leo@famulari.name \
    --cc=27261@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).