From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia@riseup.net Subject: Re: The art of guessing a packaged downgrade version of a package Date: Sat, 02 Jan 2016 17:41:49 +0100 Message-ID: References: <22bcae0b31e189110555fdff8dfc948a@riseup.net> <20160101210959.GA11284@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFPFa-0000SH-52 for guix-devel@gnu.org; Sat, 02 Jan 2016 11:41:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFPFW-0002ca-Um for guix-devel@gnu.org; Sat, 02 Jan 2016 11:41:54 -0500 Received: from mx1.riseup.net ([198.252.153.129]:40770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFPFW-0002cW-MY for guix-devel@gnu.org; Sat, 02 Jan 2016 11:41:50 -0500 In-Reply-To: <20160101210959.GA11284@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel On 2016-01-01 22:09, Leo Famulari wrote: > On Fri, Jan 01, 2016 at 09:35:40PM +0100, swedebugia@riseup.net wrote: >> (trying to get gnupg to work knowing that ludo runs some 2.0 version) >> ~/src/guix$ guix package -i gnupg:2.0.0 -r gnupg >> guix package: error: package `gnupg-2.1.10' lacks output `2.0.0' > > Did you try `guix package -i gnupg-2.0.29`? That should put the 2.0 > series gnupg in your profile. You can even specify just 'gnupg-2.0' and > Guix will pick the lastest available gnupg in the '2.0' series. > >> >> I would like to improve this command by making it either show me the >> valid >> outputs (and optionally choosing one of them to install) for this >> specific >> package OR hint me about running: >> guix package --show=gnupg > > I see the value of hints, but never an interactive command as suggested > by a menu of valid outputs. Interactive commands break automation. Okay. I added some hints to the error messages and will submit a patch soon.