pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How do I update all my installed packages from source?



It seems the magic (emphasis on the word magic) command is something like:
  pkg_rolling-replace -u
- can that be documented?
- can 'make replace' at the top level invoke it?

On Mon, 9 Mar 2020 at 10:13, Andrew Cagney <andrew.cagney%gmail.com@localhost> wrote:
>
> On Mon, 9 Mar 2020 at 09:57, Greg Troxel <gdt%lexort.com@localhost> wrote:
> >
> > Andrew Cagney <andrew.cagney%gmail.com@localhost> writes:
> >
> > > Nothing jumped out in the user section of pgksrc/doc/pkgsrc.txt, trying:
> > >
> > >   $ cd pkgsrc/
> > >   $ make update
> > >
> > > seems to want to build everything?
> >
> > https://wiki.netbsd.org/pkgsrc/how_to_upgrade_packages/
>
> So:
>   'make update', invoked in a pkgsrc _package_ directory, ...
> it isn't going to work.  And 'make replace'' is an unknown target at
> the top level.
>
> > Keep in mind that this page cautions about ABI issues with make replace.
> > While true, they are easy to recover from.  make update if it hits a
> > build failure can result in things being removed and not put back, and
> > that is very much harder to recover from.
> >


Home | Main Index | Thread Index | Old Index