Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 21:29:06 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Yuri <yuri@rawbw.com>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Replacing vlc with vlc-qt4 broke pkg upgrade
Message-ID:  <CAN6yY1thc2SDQXdYP0Y3hM0xMDeuvA_5RQxNKxTSOUM-8R0yRw@mail.gmail.com>
In-Reply-To: <551AEBD1.8050307@rawbw.com>
References:  <551AEBD1.8050307@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 31, 2015 at 11:47 AM, Yuri <yuri@rawbw.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1thc2SDQXdYP0Y3hM0xMDeuvA_5RQxNKxTSOUM-8R0yRw>