Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2021 18:32:04 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Thomas Mueller <mueller6722@twc.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Synth status and failure to install some packages
Message-ID:  <CAJuc1zPaQD1ALZdb%2BPXYny2DLBfOH3ZWtxyJ%2BhQfJSTixG0rSQ@mail.gmail.com>
In-Reply-To: <20210601035006.67330E712F6@mlmmj.nyi.freebsd.org>
References:  <20210530054658.CEA96D7F061@mlmmj.nyi.freebsd.org> <CAJuc1zOcPwX7O4VSCWASpuLyBo1xdZttAwHBDOoihENiEJuTRQ@mail.gmail.com> <20210531085106.49D3BDF3166@mlmmj.nyi.freebsd.org> <CAJuc1zN%2Bk5y1%2BT4TXdTxm%2B9JRH6K%2BBd9PFF%2B2NrQKpJVU1vohg@mail.gmail.com> <20210601035006.67330E712F6@mlmmj.nyi.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Jun 2021 at 15:50, Thomas Mueller <mueller6722@twc.com> wrote:
>
> > synth only upgrades existing packages that are on your system, and
> > makes no assumptions about what the user wants. If you need a tool,
> > you'll have to install it - at which point it becomes a first-class
> > installed module (as opposed to those that can be auto-removed), and
> > synth will upgrade them as required.
>
> Install using synth, or some other way?

Installed via synth or pkg. synth uses pkg(8) when it installs software.

The thing to remember is that poudriere and synth are _repository_
builders. pkg(8) is the actual installation tool that consults the
newly built package repository to install the software.

> > This is useful for some of my systems where I don't need the
> > build-tools, only the end-result package.
>
> > Cheers.
>
> > Jonathan Chen <jonc@chen.org.nz>
>
> I would likely want to build the packages on a different partition so as to keep my present outdated installation intact and not lose everything if rebuilding messes up.
>
> This new partition now has an old 13-current or 12-stable from May 2019, internet connectivity not functional, which I would upgrade to 14-current, or less likely, 13-stable.
>
> If the upgrade build fails, or if internet connectivity is still nonfunctional, then back to NetBSD.
>
> I could use pkg query (is that it?) to make a list of all installed packages and use that with synth, but have had instances of packages named on the synth command line building but not installing.

I can't say that's happened with me, the only time synth fails to
install is when there's a build-problem, an INDEX problem, or a
conflict issue; however, these are all problems originating with the
ports-tree rather than synth.

Cheers.
-- 
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zPaQD1ALZdb%2BPXYny2DLBfOH3ZWtxyJ%2BhQfJSTixG0rSQ>