From nobody Wed Apr 27 19:59:58 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 270D31AAA79D for ; Wed, 27 Apr 2022 20:00:18 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KpV3P3vrSz3PhT for ; Wed, 27 Apr 2022 20:00:17 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-io1-xd34.google.com with SMTP id e15so4446387iob.3 for ; Wed, 27 Apr 2022 13:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=8IbmDzrNt+TBKDBBshgjR56cCzXvNdzH/TO4VLTrzN4=; b=V+Cz0HlpOpYDFvc0O4apbAdGeU+f0EeVyoIn98LpYMcuoUmr2XEBDS3rTYedZ9j1ao NE5HpMpJMgx/fDOXdIc7O+6ccvjHb0yr3+RpBeKULEXf0G6OQLnOv4lGC3Yb8BsMHpVx PEQFJDRWlbVqpwFVE/quB3TKcr0duL26kYa9rW1lJgWhgflghvMs0DRylqjtdqb3DdzN 8Z9OLAFpVfV/+poUNY1/5IYLKt+RN0hx9FGjbahGHoOlMzyNBgr4jBPVOj5FhgFK5P08 IbHWuOohOL9MPO6O1Nx5gttYT6xW8pEo20LTrKAtFHzxuHFN29JhAcHtz7DY6WeIcRNY 3Fug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8IbmDzrNt+TBKDBBshgjR56cCzXvNdzH/TO4VLTrzN4=; b=md5S+u6jFzdgWO/fDrc9Mr6Of7kPVeGKWk4TRXpXIAbRwGwizN781ovj/Mk6Fh1LGq zcTpvj2xqN5NVlZswULTVUkuflRvtTn97VaPpvIRk4BnjiU8PnZ+d7cSkMVdRbKQMoTm bRRgQPvVK76vZXZG+HuabNM7D/VwpGKjLO3lky7JSJc7vZDPuSf0lr8JsQX4FU9RCZvM hWxKqw4jQSg9WWNCEtI/d4giLDF0J92nSZg+mejFIZNuKsJ+Jn8F1ni70qESUJEZ5ZTS jiftL7lny8yvGqNztOmgf7mc5lj7E6fC7B58k+sKVRH18Fj5sgicF12D0pGrvt7orRIk khtA== X-Gm-Message-State: AOAM532HoR14IH69pq8Hp6hmFGvYl7IxOAtczn8fJ8qCH+Ul49YbKu7h DMWWJQmBV1PcC9lt3m04ydMKEFMoWMWefixH8NAhj6g8SvNu5GEiev4= X-Google-Smtp-Source: ABdhPJxSIm2assN3y/r5hVobCZqsFG//RGIJgTp+wuxMHV4y3G3ZYYAC1CF4mNvkv6ILZTyVVt58YshndeL5dJTBlKQ= X-Received: by 2002:a02:950c:0:b0:323:918d:a98f with SMTP id y12-20020a02950c000000b00323918da98fmr12058981jah.190.1651089609633; Wed, 27 Apr 2022 13:00:09 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 From: Michael Schuster Date: Wed, 27 Apr 2022 21:59:58 +0200 Message-ID: Subject: "pkg upgrade" failing with "Fail to create temporary file: ... Not a directory" To: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4KpV3P3vrSz3PhT X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=V+Cz0Hlp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::d34 as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-2.01 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d34:from]; NEURAL_SPAM_SHORT(0.99)[0.986]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MLMMJ_DEST(0.00)[freebsd-current]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N Hi, $subject happened to me just now on current. I researched it on the internet, the answer to this issue seems to be a universal "uninstall and install the package" which seems to have worked in all cases I saw it suggested. I'm trying to embed this command into a script and would like to avoid manual intervention (I have to admit, this is the first time I've encountered this error in the two years I've been doodling with FreeBSD again) ... Is anything more known about this error behaviour, and what I can do to avoid it? TIA Michael PS: in case it matters: the full path shown in the error message is /usr/local/include/KF5/GrantleeTheme/GrantleeTheme/.pkgtemp.GenericFormatter.qSk5LxEaheWG, the package being extracted is grantleetheme-22.04.0 -- Michael Schuster http://recursiveramblings.wordpress.com/ recursion, n: see 'recursion'