Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2021 12:19:52 -0700
From:      David Christensen <dpchrist@holgerdanske.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Upgrading packages (fail)
Message-ID:  <923927ca-65e4-0278-b25d-0940ca54d79e@holgerdanske.com>
In-Reply-To: <YVRtY88VuvOjslap@geeks.org>
References:  <e829d9fe-5b1c-605b-e617-a026c67b850b@holgerdanske.com> <6070.1632879098@segfault.tristatelogic.com> <YVRtY88VuvOjslap@geeks.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/29/21 06:42, Doug McIntyre wrote:
> On Tue, Sep 28, 2021 at 06:31:38PM -0700, Ronald F. Guilmette wrote:
>> In message <e829d9fe-5b1c-605b-e617-a026c67b850b@holgerdanske.com>,
>> David Christensen <dpchrist@holgerdanske.com> wrote:
>>
>>>> I've just now tried to correct that via the following commands and actions:
>>>>
>>>>      freebsd-update fetch
>>>>      freebsd-update install
>>>
>>> I do 'pkg update' here.
>>>
>>>>      pkg upgrade
>>>>      (power cycle / reboot)
> 
> There should be another
>        	     freebsd-udpate install

This is my SOHO server, updated last week:

2021-09-29 12:15:31 toor@f3 ~
# freebsd-version ; uname -a
12.2-RELEASE-p10
FreeBSD f3.tracy.holgerdanske.com 12.2-RELEASE-p7 FreeBSD 
12.2-RELEASE-p7 GENERIC  amd64


Following your advice:

2021-09-29 12:14:10 toor@f3 ~
# freebsd-update install
src component not installed, skipped
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.


Following the error message:

2021-09-29 12:14:19 toor@f3 ~
# freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 12.2-RELEASE from update2.freebsd.org... 
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 12.2-RELEASE-p10.

2021-09-29 12:15:25 toor@f3 ~
# freebsd-update install
src component not installed, skipped
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.


> here as well to cleanup and remove old shared libs no longer needed after you did
> your `pkg upgrade`


2021-09-29 12:13:49 toor@f3 ~
# pkg autoremove
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages:

Installed packages to be REMOVED:
	python37: 3.7.12

Number of packages to be removed: 1

The operation will free 110 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling python37-3.7.12...
[1/1] Deleting files for python37-3.7.12: 100%


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?923927ca-65e4-0278-b25d-0940ca54d79e>