Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-18 Thread chohag
Mark writes:
> "> That will never happen."
>
> And some serious reason?

/usr/sbin/sysupgrade is 218 lines short _with_ comments and I for
one like it that way.

It's difficult to screw up by using it and easy to figure out what
it did if you do.

> It was a great idea indeed. :/

So was dividing the base system into sets.

... when a 20MB hard drive was considered "large" (heavy too).

Reading this email has cost you more than the portion of the storage
medium which would hold the sets you don't want to install.

Matthew



Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-18 Thread Florian Obser
On 2023-11-18 15:57 +01, m...@emailgroups.net wrote:
> On Sat, Nov 18, 2023, at 11:57, Mark wrote:
>> "> That will never happen."
>> 
>> And some serious reason?
>> 
>> It was a great idea indeed. :/
>
> They don't go out of their way to assist with foot shooting.

Oh, we like foot guns as much as the next person. If they are hilarious
enough.

This one just leads to whining and hard to debug problems, and we
already have enough of each.

-- 
In my defence, I have been left unsupervised.



Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-18 Thread misc
On Sat, Nov 18, 2023, at 11:57, Mark wrote:
> "> That will never happen."
> 
> And some serious reason?
> 
> It was a great idea indeed. :/

They don't go out of their way to assist with foot shooting.

The files under /usr take up about 8 GB and I've installed gnome
and what not.

Just get a bigger SD-card?  

puffy$ df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0a  986M128M809M14%/
/dev/sd0l  131G1.9G123G 2%/home
/dev/sd0d  3.9G   49.9M3.6G 2%/tmp
/dev/sd0f 23.5G2.0G   20.3G10%/usr
/dev/sd0g  986M290M647M31%/usr/X11R6
/dev/sd0h 19.4G4.9G   13.5G27%/usr/local
/dev/sd0k  5.8G   86.0K5.5G 1%/usr/obj
/dev/sd0j  2.9G2.0K2.8G 1%/usr/src
/dev/sd0e 28.7G   79.5M   27.2G 1%/var



Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-18 Thread Mark
"> That will never happen."

And some serious reason?

It was a great idea indeed. :/


Theo de Raadt , 17 Kas 2023 Cum, 18:20 tarihinde şunu
yazdı:

> Odd Martin Baanrud  wrote:
>
> > Perhaps sysupgrade should be enhanced, so one could either choose which
> sets should be upgraded, or even beter, the tool could figure out which
> sets are installed, and upgrade just those.
>
> That will never happen.
>
>
>
>


Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Daniele B.
Mihai Popescu :

> Make it Rust or GTK based, but please include the support for http, it
> is more convenient to do it remotely using www.

Do OpenBSD running seriously on Ruby, Python, etc, etc and then we discuss
about www that appears the only think we can still like to run over it,
and sorry for the point over the "i".

Note: I just launched software written with them and the only think that
I remain with is the thought to try Go, maybe in Docker..

-- Daniele Bonini



Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Mihai Popescu
> I still have gsysupgrade lying around somewhere. It's a gtk app. I never
> made a port for it because I got sidetracked rewriting it to use qt.

> It isn't written in rust?  The shame.

Make it Rust or GTK based, but please include the support for http, it
is more convenient to do it remotely using www.

Thank you.



Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Theo de Raadt
Florian Obser  wrote:

> On 2023-11-17 16:06 +01, Odd Martin Baanrud  wrote:
> > Hello Jan,
> >
> > Thanks for the tip.
> > The upgrade went smoothly.
> > I ran “sysupgrade -n”, deleted the game set and the X sets and rebooted.
> >
> > Perhaps sysupgrade should be enhanced, so one could either choose
> > which sets should be upgraded, or even beter, the tool could figure
> 
> I still have gsysupgrade lying around somewhere. It's a gtk app. I never
> made a port for it because I got sidetracked rewriting it to use qt.

It isn't written in rust?  The shame.



Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Theo de Raadt
Odd Martin Baanrud  wrote:

> Perhaps sysupgrade should be enhanced, so one could either choose which sets 
> should be upgraded, or even beter, the tool could figure out which sets are 
> installed, and upgrade just those.

That will never happen.





Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Florian Obser
On 2023-11-17 16:06 +01, Odd Martin Baanrud  wrote:
> Hello Jan,
>
> Thanks for the tip.
> The upgrade went smoothly.
> I ran “sysupgrade -n”, deleted the game set and the X sets and rebooted.
>
> Perhaps sysupgrade should be enhanced, so one could either choose
> which sets should be upgraded, or even beter, the tool could figure

I still have gsysupgrade lying around somewhere. It's a gtk app. I never
made a port for it because I got sidetracked rewriting it to use qt.

> out which sets are installed, and upgrade just those.
>
> Regards, Martin.
>

-- 
In my defence, I have been left unsupervised.



Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-17 Thread Odd Martin Baanrud
Hello Jan,

Thanks for the tip.
The upgrade went smoothly.
I ran “sysupgrade -n”, deleted the game set and the X sets and rebooted.

Perhaps sysupgrade should be enhanced, so one could either choose which sets 
should be upgraded, or even beter, the tool could figure out which sets are 
installed, and upgrade just those.

Regards, Martin.



Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-16 Thread Jan Stary
IF you have a good reason to not let sysupgrade do a full install
(space? on my RPI that's the case), you can simply

sysupgrade -sfn
rm /home/_sysupgrade/x*
reboot



Re: Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-16 Thread Nick Holland

On 11/16/23 20:25, Odd Martin Baanrud wrote:

Hello,

I’m planning to upgrade my router from 7.3 to 7.4 using sysupgrade, but I’ve 
one concern.
Some time ago, I upgraded a RPi4 from 7.2 to 7.3, and X got installed, even 
though it wasn’t before the upgrade.
I thaught sysupgrade only upgraded the installed sets.


Nope.  Never did.  It always assumes a full, all file-set install.


How does it work on 7.3?


Same as it has om the past.  Full upgrade.


On my router, I have base, comp and man installed, and I don’t want the X sets 
on that machine.


if you don't want X or any other file set, just do a manual upgrade
from the console.  It's that simple.  No one mandates the use of
sysupgrade, sysupgrade is just a very special case (though highly
useful) subset of potential ways to do an install

But, whatever your reason for wanting to keep some files off your
computer, it is probably flawed.  So I'd really suggest, just don't
worry about it, just do an upgrade, let it install everything, and
be done with it.  But if you don't like the way sysupgrade does
things, don't use that tool.

Nick.



Upgrading from 7.3 to 7.4 with sysupgrade

2023-11-16 Thread Odd Martin Baanrud
Hello,

I’m planning to upgrade my router from 7.3 to 7.4 using sysupgrade, but I’ve 
one concern.
Some time ago, I upgraded a RPi4 from 7.2 to 7.3, and X got installed, even 
though it wasn’t before the upgrade.
I thaught sysupgrade only upgraded the installed sets.
How does it work on 7.3?
On my router, I have base, comp and man installed, and I don’t want the X sets 
on that machine.

Regards, Martin