3 ms·
The package manager concept is actually what I hate most about Linux systems and Ubuntu's strategy to not let you upgrade some packages without upgrading the OS
by fauigerzigerk 16y ago
The package manager concept is actually what I hate most about Linux systems and Ubuntu's strategy to not let you upgrade some packages without upgrading the OS itself is insane.
Packages tend to thrust some completely idiosyncratic configuration scheme down my throat that is documented nowhere and that creates conflicts of its own. They don't just solve dependencies they encourage dependencies because they are supposed to be resolved automatically anyway. But they're not. Things break all the time. The Linux dependency hell has far surpassed the infamous Windows DLL hell of the 90s.
I was called to help people fix their Ubuntu installation after some package upgrade had uninstalled half the system. I had an upgrade replace a working but proprietary wifi driver with a non functional "free" one, etc, etc.
Most of the problems I ever had with Ubuntu were caused by that completely broken package management idea. If I want Python 2 and 3 on the same system I can't have a package manager tell me that's not supposed to be when I know full well that it's no problem.
- dkarl 16y agoThey don't just solve dependencies they encourage dependencies This is a good thing. Developers' attitude toward dependencies gets very lax when it's too much work to declare them or too much work for the user to satisfy them. Then you get into situations where you install a piece of software and 90% of the functionality is broken, because the developer was "considerate" enough not to "force" a bunch of dependencies on you, so you resort to Google to find the real dependencies, which of course aren't available for your distro. Apt gives developers a flexible way to declare different kinds of dependencies, and the Debian and Ubuntu distro repositories give them confidence that the dependencies will install smoothly for users. I had much more difficulty with undeclared dependencies back in the day than I have with excessive dependencies now. It's just wrong for software to easily install in a mostly broken state. If you want broken, partly-working software, you should have to do extra work to achieve that, not the other way around.
- Gormo 16y agoHow about statically-linked builds? Hard drives and memory are cheap compared to the annoyances of having to manage dependencies on the user's system. Package management is a solution to a problem that doesn't need to exist in the first place.
- koenigdavidmj 16y agoThen some central library has a security hole and half your system has to get updated, instead of just one thing. Also, you might like http://sta.li/ http://sta.li/ ;)
- Gormo 16y agoTrue enough, if the security hole is in a library that half of the software on my system is using. But most applications have fairly frequent update cycles for their own codebase anyway, and it's just as likely that an update to a central dynamically-linked library might introduce a new security hole that instantly compromises half of my system at once. Thanks for the link to sta.li, I'll check it out. What I'd really like to see is a Linux distro that managed applications the way OSX does - every program is contained in its own directory.
- pyre 16y agoIIRC, they still dynamically link against system libraries. It's just that OSX isn't a moving target with respect to what is expected to be in the system in it's 'base' state of a specific version. So you dynamically link against everything that should be in the system in the 'base' state, and then all other libraries need to be self-contained in the .app directory. The problem with this on Linux is that: 1) the 'base' configuration is a moving target that varies across vendors and 2) most of the libraries/etc that would make up that 'base state' are things that people would want to upgrade/modify/whatever (thereby messing up your 'base state' that you were supposed to be able to rely on) (You don't have this on OSX because Apple is the one that controls most of the things in the 'base state').
- astine 16y ago"What I'd really like to see is a Linux distro that managed applications the way OSX does - every program is contained in its own directory." That exists, it's called Gobo Linux. I've never touched it, but you can give it a try: http://www.gobolinux.org/ http://www.gobolinux.org/
- Symmetry 16y ago
- pronoiac 16y agoUbuntu's strategy to not let you upgrade some packages without upgrading the OS itself is insane. You can; it's called "pinning:" https://help.ubuntu.com/community/PinningHowto https://help.ubuntu.com/community/PinningHowto If I want Python 2 and 3 on the same system I can't have a package manager tell me that's not supposed to be when I know full well that it's no problem. Let me check; here on Jaunty I can separately install python2.4, python2.5, python2.6, python3.0, & python3.1. I don't doubt that you've had problems with the package managers, but, um, I think you're doing it wrong.
- fauigerzigerk 16y agoI guess what I'm "doing wrong" is to expect sensible out of the box behaviour. I'm fully aware that I can make it do whatever I want to if I put enough work into it. That holds for almost everything in life. What's limited in my life, though, is time. Installing Python 3 alongside the old version didn't work for a long time after Python 3 came out. If it works now, that's fine. I compiled my own Python 3 a long time before it finally appeared in my system's package manager. [Edit] And one more thing. I'm not a sysadmin and my interest in system configuration and change management is very limited. But I've been using Linux for a very long time, so if I'm still doing it wrong then many people will do be doing it wrong and that means there's something wrong with the way it works.
- deleted 16y ago[deleted]
- s3graham 16y agoOn the contrary, you're acting like you desperately want to be a sysadmin by demanding to control which specific version of each package is installed.
- fauigerzigerk 16y agoNo, I want developers to be in control of dependency management.
- india 16y ago> The package manager concept is actually what I hate most about Linux systems You really should give Slackware a try. None of that sophisticated package management nuisance[1] and everything just works! [1] http://en.wikipedia.org/wiki/Slackware#Package_management http://en.wikipedia.org/wiki/Slackware#Package_management
- dinkumthinkum 16y agoI'm not sure I would say "everything just works" and Slackware in the same sentencd!
- rtra 16y agoI'd say "Everything just works as expected"
- fungi 16y ago> Ubuntu's strategy to not let you upgrade some packages without upgrading the OS itself is insane. you're doing it wrong
- deleted 16y ago[deleted]