On 2020-11-28, Gregory Edigarov wrote:
> #!/bin/sh
> rm -rf /usr/local/* /var/db/pkg/* /var/db/pkg/.* /etc/rc.d/*_daemon
There are only 3 packages with /etc/rc.d/*_daemon files.. also
you aren't putting /usr/local/lib/X11/app-defaults back how it should
be, and you miss creating the directory st
On Sat, Nov 28, 2020, at 9:40 AM, Gregory Edigarov wrote:
>
>
> On 11/25/20 3:26 PM, Manuel Giraud wrote:
> > Hi,
> >
> > I'd like to upgrade (on -current) and, in the process, remove some cruft
> > accumulated over the years. I usually do sysupgrade and sysclean for
> > system.
> >
> > But for p
On 11/25/20 3:26 PM, Manuel Giraud wrote:
> Hi,
>
> I'd like to upgrade (on -current) and, in the process, remove some cruft
> accumulated over the years. I usually do sysupgrade and sysclean for
> system.
>
> But for packages, I think I would be better to reinstall everything
> since "pkg_check
On Wed, Nov 25, 2020 at 10:10:03PM -, Stuart Henderson wrote:
> > It's not right. Use pkg_delete -cX first. There are package files in
> > many other places that need to go away.
>
> Be very careful with -c! It may remove configuration files that you
> actually want to keep.
>
You're right.
On November 26, 2020 10:23:33 AM GMT+01:00, Stuart Henderson
wrote:
>On 2020/11/25 23:56, Alexander Hall wrote:
>>
>>
>> On November 25, 2020 11:09:02 PM GMT+01:00, Stuart Henderson
> wrote:
>> >On 2020-11-25, Manuel Giraud wrote:
>> >> I have one (somewhat) related question left: is possib
On 2020/11/25 23:56, Alexander Hall wrote:
>
>
> On November 25, 2020 11:09:02 PM GMT+01:00, Stuart Henderson
> wrote:
> >On 2020-11-25, Manuel Giraud wrote:
> >> I have one (somewhat) related question left: is possible to capture
> >the
> >> output of pkg_delete -an in a file? I tried the fol
Stuart Henderson writes:
[...]
> What you need is:
>
> $ pkg_delete -an 2>&1 > /tmp/foo
>
> - redirect stderr to stdout, then redirect stdout (which now includes
> stderr) to /tmp/foo.
This does not really work. There is some information left but not the
list of unused dependencie
> On Nov 25, 2020, at 2:15 PM, Manuel Giraud wrote:
>
> I have one (somewhat) related question left: is possible to capture the
> output of pkg_delete -an in a file? I tried the following (without
> luck):
> $ pkg_delete -an > /tmp/foo
> $ pkg_delete -an > /tmp/foo 2>&1
Ho
On November 25, 2020 11:09:02 PM GMT+01:00, Stuart Henderson
wrote:
>On 2020-11-25, Manuel Giraud wrote:
>> I have one (somewhat) related question left: is possible to capture
>the
>> output of pkg_delete -an in a file? I tried the following (without
>> luck):
>>$ pkg_delete -an >
On 2020-11-25, Chris Bennett wrote:
> On Wed, Nov 25, 2020 at 02:26:42PM +0100, Manuel Giraud wrote:
>> Hi,
>>
>> I'd like to upgrade (on -current) and, in the process, remove some cruft
>> accumulated over the years. I usually do sysupgrade and sysclean for
>> system.
>>
>> But for packages, I
On 2020-11-25, Manuel Giraud wrote:
> I have one (somewhat) related question left: is possible to capture the
> output of pkg_delete -an in a file? I tried the following (without
> luck):
>$ pkg_delete -an > /tmp/foo
Here you redirect stdout from the process to /tmp/foo
>
Chris Bennett writes:
[...]
> Sometimes you just have to do tedious. upgrade vs install does not give
> you the same system. I almost never do a fresh install, but every once
> in a while, it's a good choice.
> Hope this is helpful. Others may give different or better advice.
> sysupgrade is a
On Wed, Nov 25, 2020 at 02:26:42PM +0100, Manuel Giraud wrote:
> Hi,
>
> I'd like to upgrade (on -current) and, in the process, remove some cruft
> accumulated over the years. I usually do sysupgrade and sysclean for
> system.
>
> But for packages, I think I would be better to reinstall everythin
Sebastien Marie writes:
> looks at the output of:
> # pkg_delete -a -n
That was quick! Thanks to both of you.
--
Manuel Giraud
On Wed, Nov 25, 2020 at 02:26:42PM +0100, Manuel Giraud wrote:
> Hi,
>
> I'd like to upgrade (on -current) and, in the process, remove some cruft
> accumulated over the years. I usually do sysupgrade and sysclean for
> system.
>
> But for packages, I think I would be better to reinstall everythin
> On Nov 25, 2020, at 6:29 AM, Manuel Giraud wrote:
>
> I think I could do the following but I don't know if it is safe:
>- sysupgrade (+ sysclean)
>- pkg_info -mz > mypkg
>- umount /usr/local
>- newfs partition_of_usr_local
>- mount /usr/local
>
Hi,
I'd like to upgrade (on -current) and, in the process, remove some cruft
accumulated over the years. I usually do sysupgrade and sysclean for
system.
But for packages, I think I would be better to reinstall everything
since "pkg_check -F" does not seems to complain and I can see I have,
for e
17 matches
Mail list logo