NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libstdc++.so.7 is missing
On Fri, Jan 18, 2019 at 09:26:48AM +1100, Simon Burge wrote:
> Edgar Pettijohn wrote:
>
> > On Jan 17, 2019 7:35 AM, Pedro Pinho <pmppinho%gmail.com@localhost> wrote:
> > >
> > > While we are at it... is there a pkgin command to remove every installed package?
> >
> > I don't think so. I do it like so:
> >
> > pkg_info | awk '{print $1}' > pkgs.txt
> >
> > remove pkgin from the list
> >
> > while read -r pkg; do
> > pkgin remove $pkg
> > done < pkgs.txt
> >
> > forgive errors. I'm writing from memory on my phone.
>
> Do you need to use pkgin (which I've never used) or can you use
No.
> pkg_delete? This will remove all installed packages:
>
> pkg_delete -r '*'
I didn't realize that it could take a glob. Definantly easier.
Edgar
>
> Cheers,
> Simon.
Home |
Main Index |
Thread Index |
Old Index