Bug 263570 - Fail to upgrade package deskutils/grantleetheme 22.04.0
Summary: Fail to upgrade package deskutils/grantleetheme 22.04.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-25 21:16 UTC by comptekki
Modified: 2022-05-05 22:04 UTC (History)
3 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description comptekki 2022-04-25 21:16:47 UTC
I installed freebsd 13.1-RC3 and then changed from quarterly to latest and then run:

pkg upgrade

I get this error:

5/222] Upgrading grantleetheme from 21.12.3 to 22.04.0...
[5/222] Extracting grantleetheme-22.04.0:   2%
pkg: Fail to create temporary file: /usr/local/include/KF5/GrantleeTheme/GrantleeTheme/.pkgtemp.GenericFormatter.TkIBoTvuqU3K:Not a directory
[5/222] Extracting grantleetheme-22.04.0: 100%

I have kde5 installed, i.e.:

pkg install kde5

If I do:

pkg remove grantleetheme

then 

pkg upgrade

it succeeds after that.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-04-26 04:15:37 UTC
Moin moin 

This is a known issue that occurs as that filesystem location changed from a file to a directory and the way pkg does the update.

The fix is to do a 
   pkg delete -f grantletheeme
prior to the upgrade.

mfg Tobias
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-04-26 04:21:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8a90098e6b19316d1403ff8ba109a188df369036

commit 8a90098e6b19316d1403ff8ba109a188df369036
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-04-26 04:19:17 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-04-26 04:19:17 +0000

    UPDATING: document issue with deskutils/grantleetheme

    PR:     263570

 UPDATING | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 3 comptekki 2022-04-27 17:19:15 UTC
(In reply to Tobias C. Berner from comment #1)
Thank you!  That worked.

Best regards!
Comment 4 Adriaan de Groot freebsd_committer freebsd_triage 2022-05-05 22:04:59 UTC
Closed because `UPDATING` now addresses this issue directly.