3 ms·
With a proper package manager, applications won't break with the ugprade of a shared library, because their dependencies will be such that the new shared librar
by duairc 17y ago
With a proper package manager, applications won't break with the ugprade of a shared library, because their dependencies will be such that the new shared library will conflict with the application (or, what usually happens, a new build of the application against that shared library is uploaded to the repository at the same time as the library). Sometimes the packaging of a program has bugs in it though, so the situation you describe sometimes happens, but I've only ever seen it happen when I'm installing random Ubuntu packages in my Debian install though.
So, yes, while you're right that shared libraries can sometimes cause the problems you describe, a good package manager will pretty much fix them. But what I love the most about Linux though is that if something bad like that happens (like the ABI of a shared library changing)... it's a minor inconvenience, but so what?
apt-get source $package
cd $package-$version
apt-get build-dep $package
dpkg-buildpackage
cd ..
dpkg -i *.deb
And bam, you just rebuild the program against the new shared library with the different ABI, and everything works. Obviously this isn't "user friendly", but then again I never had to do this before I started mixing packages from different OSes together. And isn't it so easy to do! You can just do that for any program in on your whole computer! "Hmmm, I wonder how this program works", and one command later you have its source code! Another command later and you've built all of that code, into a nice Debian package too. It's so wonderful to have such a powerful package manager.
- randallsquared 17y agoIt used to be really easy to junk a Debian system by installing random apps to try them and then uninstalling them. Even with more modern Debian-based systems like Ubuntu, installing and then uninstalling something (say, kubuntu-desktop, to pick an example that happened to me recently) does not leave your system in the same state it was before you started. Instead, you get (to a GUI user) bizarre random configuration changes, and programs that worked may now not work (or vice versa!). Basically, as someone who switched back to Linux from Mac recently, Synaptic and the Software Center (and why there are two tools that show different-but-overlapping package sets is another WTF) are full of surprises and why-did-THAT-change?! moments.
- rbanffy 17y ago> It used to be really easy to junk a Debian system by installing random apps to try them Oh.. The 90's... Seriously: I moved to Debian-based distros in 2002 and never experienced anything like what you describe. And mind you I ran testing with packages from sid directly for a couple years.
- randallsquared 17y agoBefore switching to Ubuntu late last year, the last time I'd used Debian on the desktop was around 2000, so it's true that my experiences with Debian are mostly 90s-era. However, it's still the case with Ubuntu that it's common to install something, try it, and then be unable to get things back to the way they were before (mostly speaking of desktops, WMs, and themes, here). It's not uncommon to allow Update Manager to update things and then find that programs that were working fine suddenly don't work. This happened to me just in the last month with Wine, and happened a while before that with PulseAudio. I have the patience and time to spend a day changing my config until things work again, but it's certainly a ways behind both Mac and Windows in this area. Additionally (while I'm venting), Ubuntu trains you out of reporting bugs because if you actually reported a bug whenever things went wrong, it would be a part-time job. I actually had fewer update problems with Gentoo ca 2003, though at the time I had things to get done and just wanted stuff to work, whereas now that that I don't depend on my home system to make money, I find fixing the problems fun. :)