4 ms·
Well that's a reason not to use a distro right? If I type `sudo dnf install redis`, I want to install redis not valkey.
by sigzero 1y ago
Well that's a reason not to use a distro right? If I type `sudo dnf install redis`, I want to install redis not valkey.
- Alupis 1y agoI disagree probably because I'm just used to it. Most of your major distros do this, including Fedora and Debian (the two largest). Usually this is due to license issues.
- fastball 1y ago"I'm used to it" is a terrible reason for disagreement.
- gkbrk 1y agoIf I update my packages and suddenly an open-source software is replaced with a closed-source one, I would blame my distro. It's totally normal for distros to replace packages like this with the best replacement they have.
- cortesoft 1y agoThis would suck if you wrote scripts that looked for a process called 'redis' running on your machine.
- thayne 1y agoI'd imagine the package would have a symlink for redis that points to valkey
- fastball 1y agoI think that is not normal at all, and absolutely should not be normalized. It is much worse for my package manager to install a totally different software, than for my package manager to install a new version of the software I asked for that now has a different license. Also as an aside, SSPL is not closed-source. If the distro wants to do something, they can throw a warning up saying "this package is now licensed with the SSPL, would you still like to install? Try installing valkey for a BSD-licensed alternative". But installing software I didn't ask for is bad, actually.
- Alupis 1y agoYou're a bit late to the party. Its been normalized for almost as long as distros have existed. No, you don't just randomly have a different package installed one day, at least on major distros. The next distro release will include the new package. If for any reason you care, you can always go install the other one you want instead as well, it just won't be part of the default package repos. Generally, the replacement packages are 1:1 with the one they are replacing, and/or compatibility shims are included during the install. Its seamless. Also, generally the package manager does tell you what it's installing. The major Linux distros are very careful about this stuff. The two largest have huge enterprise user bases, and it's never been a problem. Many of the Linux distros are extremely opinionated on what goes into their default package repositories - it's a major reason why you choose certain distros. You are delegating all of this concern about packages, compatibility, bug/security fixes, and licenses and whatever to the maintainers of the distro. They are very careful not to break existing systems, and aren't going to surprise you one day with a major disruptive change. For them to replace Redis, for instance, with Valkey, it's going to be on the next major os release, it'll be a drop in replacement (all Redis commands continue to work, etc), and you'll have an opportunity to see this change while installing packages. This isn't "shoot from the hip" npm style stuff...
- lblume 1y agoOn Arch Linux, you are explicitly asked whether to replace a package with the (distro-)designated successor.
- fc417fc802 1y ago
- Xunjin 1y agoI understand your point, but that's how distros handles mostly licence issues. And I do believe that's the right way, we should strive for OSS projects in a distro that literally focuses on it.
- skywhopper 1y agoNot really. Post-closing the source, the thing called “Redis” was the actual fork, and Valkey was the original community-built product. Users who want existing configurations to continue working on the same terms need “install redis” command not to break their licensing expectations.
- cortesoft 1y agoFirst, they didn't "close the source". The new license is not closed source. You can argue why you think the license is bad, but it is not closed source. Second, I don't know about you, but continuing to function in the same way is my primary need for systems I am managing. When my provisioning system installs a package by name, i expect it to work in the same way as before. Switching binary names breaks that promise. My setup has scripts that do things like check that a process named "redis" is running... this will break if the process is now called "valkey" I feel like all the commenters live in some kind of crazy alternate world where purity of license matters more than stability of systems.
- barotalomey 1y ago> When my provisioning system installs a package by name, i expect it to work in the same way as before. But where do you put the blame? The distro for making that change, or the redis company for breaking your software stack?
- cortesoft 1y agoLook, I know licensing decisions are important and a lot of people care a lot about them. For me and my company, though, it just doesn't matter. We don't use redis in a way that would ever come into conflict with the license, so it really doesn't affect me. Redis didn't break my software stack with the license change. I am sorry, but I just can't get up the energy to care that much about which license they choose. If it helps them make money, fine go for it. I can't root that hard for the side Amazon is on.
- s1mplicissimus 1y ago> Well that's a reason not to use a distro right? If I type `sudo dnf install redis`, I want to install redis not valkey. Using a distro that handles things your way is your privilege. I assume most people who install packages care about the functionality they provide, not the brand name - so it seems like a fair default for distros that aim to appeal to broad user bases imo.
- nozzlegear 1y ago> Using a distro that handles things your way is your privilege. I assume most people who install packages care about the functionality they provide, not the brand name This is an amusing example of "the duality of man," having just finished reading a bunch of comments to the effect of "the user should have the ultimate say as to what apps they can install from the App Store" in the Apple thread.
- fc417fc802 1y agoBut you do have the ultimate say in this case. You can reconfigure the mainstream package managers in all sorts of ways, set up your own repos, anything you'd like. I use a distro because I don't have the time or energy to do all of that for myself. It's a purely voluntary arrangement unlike the iOS/Android duopoly that modern society is increasingly built on top of.
- cortesoft 1y agoIt's not just the brand name, it's also the binary name. All the support code I have expects the binary to be named 'redis' Also, what happens if functionality drifts?
- immibis 1y agoSo the redis package renames it to redis. No big deal. You're thinking of it as if upstream is primary. Actually, when you use a distribution package, the distribution has the final say over the contents of the package.
- nektro 1y ago100% if they wanna stop shipping redis they should just remove the redis package
- barotalomey 1y agoProblem is, redis threw their users under the bus by relicensing [1], and user would end up with an outdated redis version. 1: https://github.com/redis/redis/commit/0b34396924eca4edc524469886dc5be6c77ec4ed https://github.com/redis/redis/commit/0b34396924eca4edc52446...
- ray023 1y agoI LIKE this. Why would you not use a distro if it just removes packages? Or force closed source on you if it's legal to install the binaries? I do not know it's the same on Ubuntu, but I consciously made the decision and typed out the valkey package. If I would not know now about all the BS and would just want Redis I would LOVE for my distro to just install a replacement without me noticing anything. Maybe with a little hint and conformation message during install why this is happening and that is it. Hats off to Fedora maintainers, this is how you make the end user happy!