From owner-freebsd-ports@FreeBSD.ORG Wed Apr 1 04:29:06 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3F39253 for ; Wed, 1 Apr 2015 04:29:06 +0000 (UTC) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A737CF63 for ; Wed, 1 Apr 2015 04:29:06 +0000 (UTC) Received: by iedm5 with SMTP id m5so33840417ied.3 for ; Tue, 31 Mar 2015 21:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Cp6v9b3XJG0YsSnaNWXEnlPx1OmEKgBJcG9bs2yCBPQ=; b=M/Wp8n2P+MwtoHxnXoCKX1uInbyehYRNXC9jS5TaTFkqC9MyMPYj/3kA3CDDVRfgSm HffLP/hY4kZzW1QKjRU/zzcoYx6EHNyx1/qsF+iuOapWlSELOECCTlZub+oegXXti+3/ uL87o1EhtYF757clf2L8d6ImVgLB/qH1AvKjHJdOO/dtORzy+EvKJsqRrVv4SKJsD3nE 7FZCiMdp3lC0AeNrRTarzTwWRpj9iB5VymsWazW+n1J8KNuwK6vmcmLIj6mWHge2nB2o jaF+79GEt4Mp/SA0sC6MlO7xhQ3RFVrWcFZsrUMk9we06rqPtTsB5Mria/DGggtlpDpK VRhw== MIME-Version: 1.0 X-Received: by 10.107.33.136 with SMTP id h130mr61097583ioh.54.1427862546114; Tue, 31 Mar 2015 21:29:06 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.174.86 with HTTP; Tue, 31 Mar 2015 21:29:06 -0700 (PDT) In-Reply-To: <551AEBD1.8050307@rawbw.com> References: <551AEBD1.8050307@rawbw.com> Date: Tue, 31 Mar 2015 21:29:06 -0700 X-Google-Sender-Auth: Qo7nHO4WQZx0CfPCZD0l1ZjdpXU Message-ID: Subject: Re: Replacing vlc with vlc-qt4 broke pkg upgrade From: Kevin Oberman To: Yuri Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 04:29:07 -0000 On Tue, Mar 31, 2015 at 11:47 AM, Yuri wrote: > Few days ago vlc was replaced with vlc->qt4. I rebuilt all packages from > my ports tree with poudriere, tried to 'pkg upgrade', and pkg fails to > handle this: > > All repositories are up-to-date. > Checking for upgrades (28 candidates): 100% > Processing candidates (28 candidates): 100% > Checking integrity... done (1 conflicting) > pkg: Cannot solve problem using SAT solver: > conflict rule: The following packages conflict with each other: > vlc-2.2.0_3,4(r), vlc-qt4-2.2.0_3,4(r) > dependency rule: package vlc(r) depends on: vlc(l)phonon-vlc(l) > conflict rule: The following packages conflict with each other: > vlc-2.2.0_3,4(r), vlc-2.2.0_3,4(r) > upgrade rule: upgrade local vlc-2.2.0_2,4 to remote vlc-2.2.0_3,4 > cannot install package vlc, remove it from request? [Y/n]: > > vlc is installed as automatic. Shouldn't pkg uderstand that vlc and vlc-qt > are counterparts and should be substituted? > > There is no /usr/ports/UPDATING record for this. Is think such record > should be added if pkg can't handle this. Or what is the solution? > > Yuri > > I don't see any information that vlc-qt4 has replaced vlc. It is just a version of vlc that will build using the old version of Qt. If you update vlc, it will install the required Qt5 ports. If you wish to stick to Qt4, you must tel the package system to replace vlc with vlc-qt4. I believe that the correct way to do this: % pkg set -o multimedia/vlc:multimedia/vlc-qt4 % pkg install multimedia/vlc-qt4 -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com