Bug 236171

Summary: x11/plasma5-plasma-workspace: Update 5.14.5_1 -> 5.15.2 fails with an install error
Product: Ports & Packages Reporter: Peter C B Henderson <peter.henderson>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed FIXED    
Severity: Affects Many People CC: tcberner
Priority: --- Flags: tcberner: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Output of "pkg version" showing installed ports before upgrade. none

Description Peter C B Henderson 2019-03-03 03:09:54 UTC
Created attachment 202513 [details]
Output of "pkg version" showing installed ports before upgrade.

Usng "portupgrade -a", plasma5-plasma-workspace-5.14.5_1 -> plasma5-plasma-workspace-5.15.2 fails with the message:

pkg-static: plasma5-plasma-workspace-5.15.2 conflicts with plasma5-plasma-desktop-5.14.5_1 (installs files into the same place).  Problematic file: /usr/local/lib/qt5/plugins/kcms/kcm_translations.so

I fixed the problem by using "pkg delete -f plasma5-plasma-desktop" and then running "portupgrade -a" again.

This brought everything up-to-date.

FYI:  From "uname -a": FreeBSD 11.2-RELEASE-p9 #0 r343989.
I've attached the output of "pkg version"
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2019-03-03 10:21:17 UTC
That's just a side effect from the file moving from one to the other package -- not really anything we can do to "fix" it :), apart from maybe adding a very specific CONFLICTS_INSTALL line.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-03-03 10:53:26 UTC
A commit references this bug:

Author: tcberner
Date: Sun Mar  3 10:52:39 UTC 2019
New revision: 494493
URL: https://svnweb.freebsd.org/changeset/ports/494493

Log:
  x11/plasma5-plasma-workspace: mark conflicting with old plasma5-plasma-desktop version

  A file was moved between packages between 5.14.x and 5.15.x.
  This hopefully helps portupgrade/portmaster to get the order right.

  PR:		236171
  Reported by:	Peter C B Henderson <peter.henderson@ieee.org>

Changes:
  head/x11/plasma5-plasma-workspace/Makefile