From owner-freebsd-pkg@FreeBSD.ORG Tue Aug 13 14:44:26 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9EF494EE for ; Tue, 13 Aug 2013 14:44:26 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1CE392B98 for ; Tue, 13 Aug 2013 14:44:25 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r7DEiIt4005689 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 13 Aug 2013 15:44:19 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r7DEiIt4005689 Authentication-Results: smtp.infracaninophile.co.uk/r7DEiIt4005689; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <520A4642.8050706@freebsd.org> Date: Tue, 13 Aug 2013 15:44:18 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: pkgng and similar package (lynx) installation problems References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 14:44:26 -0000 On 13/08/2013 14:16, CeDeROM wrote: > I was just installing LYNX port from exonetric repository with pkgng > 1.1.4 when I got this problem that lynx conflicts with another lynx > package files. This seems like conflict between www/lynx-current and > www/lynx which have both the same package name. This should not > happen, www/lynx-current should be named lynx-current right? How to > avoid similar problems? Shouldn't pkg ask which package to install > before doing anything? No -- in general there's no objection to having two versions of lynx in ports or in a pkg repository, so long as they have distinct port origins (which they do). You can always use the full port origin or the combination of name and version as the selector with 'pkg install'. Don't be misled by the way you'ld generally use just the port name: that's a convenience which pkg provides for ease of use. It's unambiguous for 90%+ of the available ports, but there are some cases (lynx, subversion) where it can lead to foot-shooting. In fact, there's an open issue (https://github.com/freebsd/pkg/issues/566) at the moment to do with the name given on the command line resolving to several packages: in essence installing several packages by matching one name like that is something we'd want the user to confirm they intended. Port maintainers /may/ at their discretion change the port names to avoid this sort of collision, but that is not mandatory. So, try: pkg install www/lynx or pkg install www/lynx-current depending on which one you actually want. Cheers, Matthew