From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#27261: guix package -u should warn about non-existent packages Date: Sun, 25 Jun 2017 19:53:26 -0400 Message-ID: <20170625235326.GA24268@jasmine.lan> References: <878tl654b8.fsf@netris.org> <87wp7z95f1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPHLz-00075V-3p for bug-guix@gnu.org; Sun, 25 Jun 2017 19:54:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPHLu-0002Vp-9x for bug-guix@gnu.org; Sun, 25 Jun 2017 19:54:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPHLu-0002Vf-5v for bug-guix@gnu.org; Sun, 25 Jun 2017 19:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dPHLt-0000RR-Im for bug-guix@gnu.org; Sun, 25 Jun 2017 19:54:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87wp7z95f1.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27261@debbugs.gnu.org, ludo@gnu.org, mhw@netris.org --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 25, 2017 at 10:30:10PM +0200, Ludovic Court=E8s wrote: > Mark H Weaver 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. >=20 > 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. --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAllQTPMACgkQJkb6MLrK fwiSrRAAqQMbR3OCQTdQNa0jFKme6WmzYOxF2OYyR6uOhIxq3kIu0jJM+hglzCBC D7gH+YxCOjhonfLGk6Rti82rFDTwH1+/TplmKln6PHgxvHpJG4rrSPotpT4lESDk KjkEOLV8JIL+4AW+F708/ne08C7hkqmdv5r1/xgyR2ArUeZ7L2HhYMZt4YNUS4yA 2RQx4DrxW7EPLi22/rFAvd3bhROts2UVrrpz1w7GZtFYvMUlFYcJnaMmxH5FwniN XQaE1zqonyBEdXqm04+c1ckkSLxsJmrG6pEpM1UxBZK9CIcV+qY/0st0t5bM/CsC xiOM37KELDvueZq9ukySAn2w2EpLlYenMnq1fRWLG6nWHoDwipLmmDrPlLQrXlUs zKaJebNThQERkSdo9sbbkXP7VsZxeMtgH1yrXNXSkNM7diEFXm79Zuel2OSKyCK7 nB+KSy7lxAy8XCLFGIy9XD8qlZ423ryDIyMi08l6l9zSUizsGAyHidOu4H5FYz8z YhHKYLUC9yDv82XTmFMSaQ6Yyp6GNl8wd6FNPCwlfd/9BgORFsAdreZCu+jE4dEC MZE45j99CEwvuePWg2bH/Dv9C2xY/pSF1TGbcV2SbGnT6/N4eLzsnC2MwY7Pc1/Z eQ0KpXB0ffMdc8TCLo8CFHwADhVMvHPHlmCKmbnMFMZRKdlFQug= =zqMn -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--