From owner-freebsd-questions@freebsd.org Thu Mar 5 21:25:41 2020 Return-Path: Delivered-To: freebsd-questions@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 15BDA24CE27 for ; Thu, 5 Mar 2020 21:25:41 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from p-impout001.msg.pkvw.co.charter.net (p-impout009aa.msg.pkvw.co.charter.net [47.43.26.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48YP1H4Hsdz3HjG for ; Thu, 5 Mar 2020 21:25:39 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from Pauls-MacBook-Pro.local ([70.121.63.82]) by cmsmtp with ESMTPA id 9xznj0bVeUue79xznjvNqZ; Thu, 05 Mar 2020 21:25:31 +0000 X-Authority-Analysis: v=2.3 cv=L+tjvNb8 c=1 sm=1 tr=0 a=iItF4zHBhGCJeUd1/CPJzQ==:117 a=iItF4zHBhGCJeUd1/CPJzQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=rO-37yCau_XnYdhUX4kA:9 a=ClTfM6STnGjAUwTL:21 a=aEvsD257qhfg-A--:21 a=QEXdDO2ut3YA:10 Subject: Re: Strange outcome: different outcomes from portmaster and pkg upgrade To: freebsd-questions@freebsd.org References: <4418f3c1-e025-e691-5c98-9ab9dd32ccc9@tx.rr.com> <20200305122407.4198b191@gumby.homeunix.com> From: Paul Schmehl Message-ID: Date: Thu, 5 Mar 2020 15:25:31 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200305122407.4198b191@gumby.homeunix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CMAE-Envelope: MS4wfPO6BOgHqS8wm0uEycEOy9GceGO55nxZmPqyWe4koL17P+2whvWyhb3/QjImheH54iolAvSNGNa3B6NcBHJfUe90RcbfJyx+DH3WVAphHXYtCidEpRbw ho1IvoKWBFP0t32kTKNzZwx1p9P6XftX3SRW2yqFIqjkVBV5Uv4f9T5TKXeN/AJNypBGvHd8uBKiDCQZiv8PQVh9OrM2rrKknZs= X-Rspamd-Queue-Id: 48YP1H4Hsdz3HjG X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pschmehl_lists@tx.rr.com designates 47.43.26.140 as permitted sender) smtp.mailfrom=pschmehl_lists@tx.rr.com X-Spamd-Result: default: False [-1.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[82.63.121.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[rr.com]; NEURAL_SPAM_MEDIUM(0.31)[0.313,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.10)[ipnet: 47.43.24.0/21(-1.06), asn: 40294(0.59), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2020 21:25:41 -0000 On 3/5/20 6:24 AM, RW via freebsd-questions wrote: > On Wed, 4 Mar 2020 21:09:41 -0600 > Paul Schmehl wrote: > >> I normally build my ports using portmaster. ( Old habits die hard.) >> >> Recently, I've been having problems with a handful of ports failing >> to upgrade. So, I've been fixing those ports by using pkg upgrade. >> >> When I run portmaster, it says I have three ports to upgrade. When I >> run pkg upgrade, it says everything is up to date. > Presumably your packages are up to date with the repository, but not > the ports tree. The ports tree is updated daily through a script in /etc/periodic/daily. [root@colo11 /usr/home/schmehl]# cat /etc/periodic/daily/190.portsnap #!/bin/sh /usr/sbin/portsnap cron /usr/sbin/portsnap update I just ran it manually, but it didn't update any of the affected ports. # portsnap update Removing old files and directories... done. Extracting new files: /usr/ports/astro/xearth/ /usr/ports/audio/libebur128/ /usr/ports/devel/Makefile /usr/ports/devel/py-cle/ /usr/ports/devel/py-minidump/ /usr/ports/devel/py-rq/ /usr/ports/dns/knot2/ /usr/ports/emulators/nemu/ /usr/ports/graphics/pastel/ /usr/ports/graphics/tiled/ /usr/ports/lang/erlang-runtime21/ /usr/ports/mail/ssmtp/ /usr/ports/math/acalc/ /usr/ports/net-mgmt/cacti-spine/ /usr/ports/net-mgmt/ping_exporter/ /usr/ports/net/py-cloudscraper/ /usr/ports/net/storj/ /usr/ports/sysutils/dua-cli/ /usr/ports/www/riot-web/ /usr/ports/x11/libwacom/ /usr/ports/x11/sddm/ Building new INDEX files... done. But portmaster still finds ports it wants to update: ===>>> The following actions will be taken if you choose to proceed:     Upgrade cups-2.2.12 to cups-2.2.13     Upgrade gnutls-3.6.11.1 to gnutls-3.6.12     Upgrade ffmpeg-4.2.1_4,1 to ffmpeg-4.2.2_7,1 ===>>> Proceed? y/n [y] n And pkg does not. # pkg upgrade gnutls Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) Your packages are up to date. Except for ffmpeg. # pkg upgrade ffmpeg Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 4 package(s) will be affected (of 0 checked): New packages to be INSTALLED:     aom: 1.0.0.2873     dav1d: 0.5.2_1     opus: 1.3.1 Installed packages to be UPGRADED:     ffmpeg: 4.2.1_4,1 -> 4.2.2,1 Number of packages to be installed: 3 Number of packages to be upgraded: 1 The process will require 10 MiB more space. 18 MiB to be downloaded. Proceed with this action? [y/N]: -- Paul Schmehl, Retired My opinions are my own. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell