Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2022 14:40:38 -0700
From:      David Christensen <dpchrist@holgerdanske.com>
To:        questions@freebsd.org
Subject:   Re: pkg upgrade vs building from source
Message-ID:  <3da3d329-a19d-51cd-0f78-ef77dbf66bfe@holgerdanske.com>
In-Reply-To: <CAMtcK2rp2JLHpWJbQHv1DQBB8MS3=ro9hbJF0orUEK3rqJ5xLw@mail.gmail.com>
References:  <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com> <e4544587-50bb-55e8-3284-58a76b3a69f7@freebsd.org> <CAMtcK2rp2JLHpWJbQHv1DQBB8MS3=ro9hbJF0orUEK3rqJ5xLw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/8/22 08:35, paul beard wrote:
 > My skepticism over pkg doing what I expect grows after recent events.

 > I allowed [pkg] to upgrade postfix the other day and discovered that 
it no longer worked;

 > How do other people manage this?


I have operated a FreeBSD SOHO server 24x7 for 3+ years, starting with 
FreeBSD-11.2-RELEASE-amd64,  I strive to keep my systems as simple and 
"official" as possible.  I have never seen any problems that I could 
attribute to freebsd-update(1) or pkg(1).


My upgrade mantra is:

# freebsd-update fetch install

# pkg update

# pkg upgrade

# pkg autoremove

# pkg clean


On 10/8/22 13:18, paul beard wrote:
 > On 10/8/22 11:11, Graham Perrin wrote:
 >> Which version of FreeBSD, exactly?
 >>
 > FreeBSD www.paulbeard.org 12.3-RELEASE FreeBSD 12.3-RELEASE r371126 
GENERIC
 >   i386
 >
 >
 >> Packages from latest, or quarterly?
 >>
 > Hm…whatever pkg update pulls
 >>
 >> freebsd-version -kru ; uname -aKU
 >>
 > See above.


For comparison:

2022-10-08 14:03:04 toor@f3 ~
# freebsd-version -kru ; uname -aKU
12.3-RELEASE-p6
12.3-RELEASE-p6
12.3-RELEASE-p7
FreeBSD f3.tracy.holgerdanske.com 12.3-RELEASE-p6 FreeBSD 
12.3-RELEASE-p6 GENERIC  amd64 1203000 1203000


I do not see any freebsd-version(1) output in your output, above.


I do not see a patch level in your uname(1) output, above.


The most obvious difference is that you are running i386 and I am 
running amd64.  That is not supposed to matter.


 > pkg -vv | grep -e url -e enabled -e priority
 >
 >      url             : 
"pkg+http://pkg.FreeBSD.org/FreeBSD:12:i386/quarterly
 > ",
 >      enabled         : yes,
 >      priority        : 0,


For comparison:

2022-10-08 14:03:12 toor@f3 ~
# pkg -vv | grep -e url -e enabled -e priority
     url             : 
"pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly",
     enabled         : yes,
     priority        : 0,


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3da3d329-a19d-51cd-0f78-ef77dbf66bfe>