Bug 236171 - x11/plasma5-plasma-workspace: Update 5.14.5_1 -> 5.15.2 fails with an install error
Summary: x11/plasma5-plasma-workspace: Update 5.14.5_1 -> 5.15.2 fails with an install...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-kde (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-03 03:09 UTC by Peter C B Henderson
Modified: 2019-03-03 10:53 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments
Output of "pkg version" showing installed ports before upgrade. (41.56 KB, text/plain)
2019-03-03 03:09 UTC, Peter C B Henderson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 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 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