Hacker News new | ask | show | jobs
by gkafkg8y8 3499 days ago
You seem convinced that $PATH handles everything. That's not accurate. Deployment scripts can make automated changes to config files and need paths. One package assumes a hardcoded path for another package- typically a symlink, but if those symlinks are moving around, that could break.

And the package management system isn't off-topic if one of the reasons for moving paths is to become more standard. Apt, Yum, Pacman, etc. all have different ways of doing things, and if the goal is to become more standard, then you have to wonder why the Linux community has not banded together on a single packaging system standard.

1 comments

Deployment scripts can make automated changes to config files and need paths.

And proper deployment systems can handle this. Or it's templated and can be changed with a single variable. We're also not talking about every possible binary ever, we're only talking about /bin which is a limited and well-known set of things, for which symlinks will exist. It will not affect any piece of software ever and associated configuration files, the blast radius is very small and well understood.

And the package management system isn't off-topic if one of the reasons for moving paths is to become more standard.

That's not the reason. The reason the move is happening is because there is no real point in having /bin and /usr/bin separate. It's a historical relic which offers very little benefit to users and is largely confusing to newcomers. Debian isn't making the move to standardise with what other distro's are doing, they're doing it b/c it makes sense for their users. It just so happens that others have come to the same conclusion and since they've made that change before we can learn from how and why they did it.

then you have to wonder why the Linux community has not banded together on a single packaging system standard.

You should read up on how dpkg and rpm were created, and why every other package format and package manager ever has been too. Besides the history, every single one of them has their flaws and issues. If we had one that was perfect, that solved every single issue related to package management ever, in a platform independent way that we can all agree on I'm pretty sure everyone would be using it. I'm all ears for proposals though, but so far any time this has been attempted it hasn't gotten anywhere. And this is a completely different domain than moving /bin around.