From owner-freebsd-pkgbase@freebsd.org Wed Oct 16 23:36:44 2019 Return-Path: Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5191E152E9F for ; Wed, 16 Oct 2019 23:36:44 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com [IPv6:2607:f8b0:4864:20::e29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46tpbb3cgBz4QRn; Wed, 16 Oct 2019 23:36:43 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-vs1-xe29.google.com with SMTP id b1so319030vsr.10; Wed, 16 Oct 2019 16:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=hpxXQUY9Pwwfksg9l1pwVMja89l1UWaQTGpiWmt+PJ0=; b=q8tx+axOQdxvCzd9kK266yfaZcNUxkIVEU2a7g9bhMdqu2MhmVl6xWBsBglIK5sXyR +vEP5QXsuPPHIk3ZeBL1y9jtYW/x+5ZiWsAFxEFxf2rxfCIBTsMfD29ruNtnVZJD+cBM GN8wm0rcWSi1eyhyP2c+fs0LwsRjCeuwYUGw+02/gJggv8rquZrvMncDiVflTqxQdf0b uVMiFlrG0NDp3KMjkH9UhrYxVwStp+3AedW6dz8uCxtLBjOIhnzmcI/lrsSxc0hqsp/Z +xaLurzMvhjxV7C06Sc4mWnwrH7ylndhUKkBKbZtBBWAN+drcllYIQYqMLfm6vwimKIj GMrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hpxXQUY9Pwwfksg9l1pwVMja89l1UWaQTGpiWmt+PJ0=; b=Vb2SN6X2y8uWuq+6hkC1WjEGNvqjTe1w/tx/HExIPHo7HOFz5gJWCSuVMJBvSI12/l f9WyZv7fbGimsNkHQaP8LR7oSh5f5XrcmldJVRTKA1KXVN3liB+J2NNou7XTR5D+XyeF 5ZQkWWk7fS9pExXR/b7J10rhBJ8IYJ4SI1lGKuUZ49DE1fBlStH9kkTKGc1myTP4Sgos R63eZK24UuH4aT+6hcQn4EHYCw9OzPFCtWVm0LWefAP67e8JPpcBTfyWSMXfbbWioHGT Sq+pjeU7LxB2arRz5mgK3MsmUbsRcseJmL4M6keugELVZoHZJlB732DjobqaXUbqHwnz 4FFA== X-Gm-Message-State: APjAAAWfJnUe1qjvr9e17MWyPXpD5TCltivmYF6Sw82ImSIDdaWC2iOD q+jMB82aQ0jO0BLsZ0vJFoaymAciXGGAVyFpEG5izQ== X-Google-Smtp-Source: APXvYqxKu3nd4WTnFABsMyWToAxhu0d850dmZkvZmSwTlwvPiwma4JosEUg5WTKIH5OF0RN0jy+Yf9zvgXwu+Z9EAL8= X-Received: by 2002:a05:6102:52a:: with SMTP id m10mr291814vsa.42.1571269002122; Wed, 16 Oct 2019 16:36:42 -0700 (PDT) MIME-Version: 1.0 From: Ben Woods Date: Thu, 17 Oct 2019 07:36:31 +0800 Message-ID: Subject: =?UTF-8?Q?=2Epkgnew_even_if_files_didn=E2=80=99t_previously_exist?= To: Baptiste Daroussin , "freebsd-pkgbase@freebsd.org" , "manu@freebsd.org" X-Rspamd-Queue-Id: 46tpbb3cgBz4QRn X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=q8tx+axO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of woodsb02@gmail.com designates 2607:f8b0:4864:20::e29 as permitted sender) smtp.mailfrom=woodsb02@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-9.67), ipnet: 2607:f8b0::/32(-2.47), asn: 15169(-2.10), country: US(-0.05)]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[9.2.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; 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.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Oct 2019 23:36:44 -0000 Hi everyone, Recently the default behaviour of pkg (or pkgbase?) was changed to install any new files with a .pkgnew suffix. My understand is that this was introduced to ensure pkg does not overwrite any existing files that were not previously managed by pkg. However, the current behaviour is that even if there was no existing file, new files are still only being installed with the .pkgnew suffix. As the sysadmin I then have to go looking for any .pkgnew files and remove the suffix - this would be good to avoid overwriting existing files, but feels over the top where no such file exists. To me, this feels like the incorrect behaviour. Can I please ask - is this a deliberate functionality, and if so, why? Thanks. Ben -- -- From: Benjamin Woods woodsb02@gmail.com