18.06.3 how is it going? --> 18.06.4 --> 19.07 coming soon

I am pretty sure you can upgrade packes in-bilk from opkg and stable repo
and in that page it says create new image.
does that mean creating one with imagebuilder or with sdk?

Just because you can, doesn't mean you should.

You have been warned. Don't complain on the forum and be ready to deal with the consequences yourself, such as manual dependency resolution and additional free space consumption, potentially leading to ABI-conflicts and soft-bricking.

Wouldn't ABI incompatibility of the standard public repositories with the standard public released firmware images also mean that people who currently install OpenWRT 18.06 will also run into that when they install packages?

Potentially, but the release images contain relatively little - e.g. no ssl library by default (which are most likely to change ABI). Breaking changes are avoided, but that doesn't always work out - and it's not guaranteed (nor really tested effectively) either. The further to divert from the 'core', the more likely you are to encounter them (not only because of OpenWrt trying to avoid problems, but also because the basic system library upstreams tend to be rather mature, with less API/ ABI changes than 'optional' libraries).

I only recently learned that the packages for a stable release are frequently updated.
Wouldn't it be safer to leave the built packages unchanged for stable releases.
The benefit would be packages could be installed at anytime without any version conflict.

If updates are needed the user should use SDK and build it all to be consistent.

Imagebuilder should default to the official stable release built packages which remain unchanged.

The "major" issue is that there's little interest in maintaining stable releases as they tend to get dated very quickly. For example, there are already several requests (PRs and wishes) to move targets to 4.19 instead of 4.14 which from a developer point of view (if you want to stay up to date) renders the 19.07 branch somewhat obsolete and yet another point of "failure" which requires time and interest for testing which looking historically most don't have.

But until ABI versioning is fixed what is the benefit of building packages for a stable release frequently.

It would be beneficial to leave it alone and just do point release every 3 -6 months to keep the stable release consistent with all the built packages.

With the current practice, buildbot resources are wasted on frequently building packages that cannot be safely used with the release.

Safety is one of the main reasons packages are updated and recompiled AFAIK - especially for stable releases.

Your lobbying in the feeds to tell maintainers to ignore release branches does not help this cause either.

2 Likes

Reduce the "time to market" for package security fixes is the main motivation for doing this. Building new images/point releases whenever a fix to a non-builtin package is required does not scale.

1 Like

I understand the need to keep packages up to date. I haven't had any issues installing packages but with all these warnings it is seems like something to be concerned about every time you install a package.

1 Like

Perhaps even a quarterly release[1], except in cases of critical security updates.

Once a quarter, a new "full build" -- even when there are not changes in the OpenWrt core.

So that nobody misinterprets this -- I am not asking for quarterly updates of the OpenWrt core here. You would get whatever the latest core release was, but with refreshed, self-consistent packages "good through" the predictable end of the quarter (always March, June, September, December, for example).

This way people who are looking for package upgrades get them on a reasonable cadence and those that are looking to be on the bleeding edge can work with master and snapshots.


[1] Last I checked, FreeBSD installs their quarterly package update repo as default. Things really don't change all that quickly, in general.

3 Likes

yes

this is something I dont understand.
if it causes problems why at all update packages on a device that is supposed to be always on.
and if it is security-wise, then why not security packages that I have get updated?
I have gotten nano (text editor) updates on stable repo, but not Tor onion package.
even though tor is way more needed for a secure net, it is still on the same version that was shiped with the stable first release.

maybe seperate the repos into more repos(based on security and stability) .
for example why tor is in the same repo as rtorrent and why they never get updates (personal use so I remember these two).

and installing from snapshot actually causes ABI issues(I think that is what it talks about when it needs a newer library).

I used to create image from git so this was not an issue,but I got too many compile problems to do that more.

right now the only updates I get is Luci updates which I dont think are that critical( correct me if I am wrong) and I think they get updated from git because they are for web interface and losing that is not suppose to be that bad?

I am really confused by openwrt update policy.

Never had build problems myself after the initial setup, but did you try this? You do not need to build anything and it takes less than 10 minutes to get a full image with all the latest packages.

you misunderstood me.
the imagebuilder (link you provided) get the same packages as the the repo,so the "latest packages" are the same as the repo.
so using that wont change anything for my situation for tor and rtorrent and so on.

this "problem" wont be easy fixed because openwrt developers need to recognize as a problem, and as you can see from this post alone many people don't even want the update to happen for any thing, let alone peasant requested packages like mine.

if it was a way to decouple these non-core packages from main packages (very low chance) this issue would have been fixed.

I see, so you are saying that beyond the core packages everything else if way behind. Well, I guess the response to this will be that it is run by volunteers and if one needs those non-core packages, they can port them. Which makes sense to some degree: there is a limit to what you can get for free.

Like any distro, want stable, use “stable”. Want the latest, use “unstable” but be prepared to resolve your problems on your own. Debian is still on Linux 4.9 for stable, as just one example.

That OpenWrt still tries to support 4/32 devices and most devices are flash-based with limited lifespans and resources further complicates things. You can burn out NOR flash in a few years with frequent updates.

1 Like

maybe if we had a RAM installtion ? :))
the packges updates would be installed to RAM by after startup and then later every month or so to main flash.
I say this because I have 512MB ram :slight_smile:
sorry for you peasants.

Calm down, where did I tell someone to ignore the release brances? If you want to prove me wrong that there's little interest/activity overall feel free to do so. Most targets are already getting bumped to 4.19 just days after branching and that is done by core team so there's clearly a major interest in being more in sync with upstream for example.

@mbo2o
The major issue is that on most devices you'll likely run out of space quickly as deleting old files doesn't free space which may render your device unbootable and that easily reverting a change is more or less not possible at all.

Regarding which packages gets updated or not is exactly what I'm trying to say, it's all about time and effort (irregardless of its main or packages repo). There's no "stable team", it's on induvidual bases. Jumping between OS versions is quite painful, takes time and effort not to mention that you might not want to do more testing than needed on your router etc especially if you only have one.

The "better" solution (depending on how you look at it I guess) is to simply use sysupgrade with a firmware containing updated packages, kernel etc.

@jeff
I personally think that it would suit OpenWrt better given the overall contribution model/time/interest/effort but that's not for me to decide.