From owner-freebsd-ports@freebsd.org Sat Apr 7 19:56:01 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F779FA2F0D for ; Sat, 7 Apr 2018 19:56:01 +0000 (UTC) (envelope-from SRS0=NHov=G4=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1FA96F0F7 for ; Sat, 7 Apr 2018 19:56:00 +0000 (UTC) (envelope-from SRS0=NHov=G4=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 149E628462; Sat, 7 Apr 2018 21:55:53 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 18BA528411; Sat, 7 Apr 2018 21:55:52 +0200 (CEST) Subject: Re: pkg version - Orphanned status phpMyAdmin 4.7.9 To: Kurt Jaeger , Jos Chrispijn Cc: FreeBSD Ports ML References: <414792de-2b1f-c576-0810-04e756452153@cloudzeeland.nl> <20180407150018.GB37752@home.opsec.eu> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <796fc955-6bac-b144-0d81-e5adfaae0155@quip.cz> Date: Sat, 7 Apr 2018 21:55:49 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: <20180407150018.GB37752@home.opsec.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2018 19:56:01 -0000 Kurt Jaeger wrote on 2018/04/07 17:00: > Hi! > >> Running 'pkg version', I got phpMyAdmin status "?" (orphan) > [...] >> ===>  Installing for phpMyAdmin-php56-4.7.9 > [...] >> Can you tell me how I can solve this? Thanks! > > I think it happens because databases/phpmyadmin was modified to work with > every php version (it was 'flavored'). So the php-version is now part > of PKGNAME. > > To fix it, this should work: > > pkg delete phpmyadmin > > pkg install phpmyadmin I can't tell if it works for phpMyAdmin too but I use "pkg upgrade -f category/portname" often (in similar cases) So you can try "pkg upgrade -f databases/phpmyadmin" as the package name was changed but port's origin is the same, it will remove old version and install new flavored version. Miroslav Lachman