Debian Upgrade May Cause Serious Breakage
daria42 writes "Debian developer Bill Allombert has e-mailed the Debian community saying he estimates about 30% of users upgrading from Debian Woody to Sarge will suffer 'serious breakage'. Allombert says the upgrade process suffers from a number of bugs reported before the release went live several days ago. Chief among the problems, he said, were cyclic dependencies and the fact that software installation tool apt depended heavily on the changing C++ libraries. Allombert wants developers to test the upgrade cycle continuously during development and not just during the freeze period just before release."
Chief among the problems, he said, were cyclic dependencies and the fact that software installation tool apt depended heavily on the changing C++ libraries.
:-)
Let this be a lesson to those of you who claimed that "APT is unbreakable." There's no such thing as an unbreakable technology. There is however, such a thing as a robust technology that resists failure. As packaging systems go, APT is fairly good. However, my belief is that packaging systems are inherently flawed.
What you want in an OS, is a method for determining the precise core upon which you can base your applications on. Such a core would effectively be an immutable set of system APIs that cannot be changed. The upshot to this situation is that the given system is verifyable. i.e. I can have a script go through and ensure that everything that should exist does exist. From that information, I can then do a delta to find out what exists that shouldn't exist.
This is in direct opposition to a packaging system that builds an OS out of inter-dependent components. The problem with such a strategy is that using inter-dependent components only works if you're building from scratch. As anyone who has managed a version control system can tell you, things get extremely complicated (and tend to require manual intervention) as soon as files start branching. The same thing happens in packaging systems as soon as you start doing upgrades to individual components. Soon you find yourself with a mess of mismatched dependencies which require constant manual intervention to solve. Not a good situation.
In the case of a defined core, you can simply wipe out the old core and replace it with the new one. As long as testing has been done to ensure that the new components are still backward compatible with old software, everything should work fine after the upgrade.
Food for thought, anyway. To the Debian team: Thanks for the new release! Even if there are some growing pains, it's still nice to see you back in the game.
Javascript + Nintendo DSi = DSiCade
Schadenfreude, I think they call it. Testing for how long, and now this? Ah well. It'll get worked out. Gotta release at some point to find all the ugly bugs. :-P
Haida Manga
Everything is falling apart. You may experience some discomfort. Just thought we would let you know. have a nice day.
Starsucks
Obviously this was a rushed job. Typical Debian, always cutting corners, never taking the time to do things properly :P.
Any reason why I should switch from Ubuntu to Debian?
Well duh, if you wait that long between release cycles...you're going to have some major problems upgrading, as everything you had was ancient and everything you're upgrading to is mearly old.
:( .
I love debian for their philosophy; however, when I tried their distribution and it downgraded the kernel from 2.4 to 2.2 when 2.6 had already come out....I don't think I even started X before deleting it. Maybe I'd have had a different experience if someone had told me "testing" didn't mean what it usually does.
All of that said, it seems these problems could probably have been avoided with more testing,
Tharkban (It is a signature after all)
What, specifically, are the apps that will cause the problems and how does he determine that 30% of the boxes out there will have those apps?
I've upgrade 6 boxes and have not had a single problem on any of them. They run a combination of Apache, perl, python, mySQL, php, bind9, DHCP, etc.
If there is a circular dependency problem on an app, but no one uses that app, then there won't be any problem upgrading.
We had a Woody to Sarge upgrade fail on boot because Lilo barfed a kernel panic on root mount. Installing grub fixed it. I forgot how the lilo was set up prior to sarge, but whatever. My suggestion if you have SATA root mounts: Install grub before installing Sarge!
Somewhere along the way, with about 200 days of uptime running sarge all along, I lost the symlink to initrd.img that Grub pointed to. The vmlinuz symlink was still there, but no initrd.img. I did a remote reboot, and the machine didn't come back, so I had to get the support people at the colo company to hook up a remote KVM and try to find the real initrd.img with the Grub command line to boot it up.
:)
The lesson that I thought I had learned but evidently did not is to double-check your boot-loader configuration before rebooting if your machine has more than a week of uptime.
But I didn't lose anything at all in sticking to sarge.
I was postponing my move from woody for no reason, but now I am concerned. Will they fix this issue or should I stick with woody?
Nice to know I'm not alone.
:|
Suddenly apt-get dist-upgrade didnt do anything good, I had to do an apt-get -f install multiple times until the dependancy stuff was sorted out. In the process, some packages (notably apache and ftpd) were simple de-installed and I had to re-select them manually.
Good for me that it was a server and apache and ftpd were the only important hand-selected packages. I fear for the desktop systems with several dozends of hand-selected packages.
So, I guess it is a good thing that Debian only releases a major update every two years
I have discovered a truly remarkable proof for my post which this sig is too small to contain.
up2date doesn't provide distro upgrades. It provides updates to a specific distro, but there's no way to upgrade from within up2date from FC3->FC4 or RHEL3->RHEL4. This "breakage" is about upgrading the distribution, not updates within a release cycle.
yeah, that thing will probably outlive us. No need to worry for a while. You picked the right distribution for what you wanted.
Tharkban (It is a signature after all)
Ah shucks! A big ugly troll and me with no mod points...
My brain exploded trying to parse this sentence.
;-)
And we wonder why we aren't taken seriously by management.
This is FUD, even by Slashdot standards.
The problems do exist, but the "severe breakage" described does not implicate unbootable machines or unusable software. Cyclical dependencies mostly mean the algorithm used to select packages for upgrade or instalation will not run as expected and probably leave the problematic package on hold.
This is not a new problem and affects Debian mainly because of it's distributed and loosely coupled model of organization, where integration problems can go by unoticed for quite some time.
The original mail intended to push more developers into taking action about these integration errors and make sure the upgrade paths are always clear, which is a very big and important task.
I, for one, hope his message doesn't fall on deaf ears, but also hope it doesn't generate more FUD like this.
If your setup is simple enough, just clone your drives and test the upgrade process on the clones.
If anything goes wrong, you can just drop the originals back in and everything will be back to the way you started.
You should always test new deployments before putting them into production.
I don't think testing all the way along is the answer, that way nothing would get done. It's great that Debian has a period devoted solely to testing before the distribution gets released, it means things get fixed. It's hard to be motivated about fixing things that are probably never going to be released (because there will be a new version before the actual release)
I am trolling
The very concept of "version" is obsolete I think. There should never be a big-bang system upgrade, and there should never be a fixed version number for a Debian system. Packages should have versions, and those should be upgraded. Distributions should not be numbered.
The ideal way to handle things is to roll out upgraded packages when they are ready. If you upgrade your system once a day or once a week, you should not ever have to deal with more than a handful of updated packages. Over time, everything would eventually be upgraded.
Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
The security track record of free software has already clobbered that of the closed source products and we're going to leave you even further behind in the future. Why? Because it is inevitable and we have the moral higher ground.
This is, after all, Debian
"We are all geniuses when we dream"
- E.M. Cioran
If they statically linked it. Which they should really do for a base level of core utilities anyway. I've been burned by library upgrades and crippled recovery processes several times in the past because the correct libraries were no longer available. For something that might have a library pulled out from under it like apt, it really makes sense to incur the size penalty so that you never have to worry about it dying on you when you replace system libraries.
I'm trying to teach myself to set people on fire with my mind... Is it hot in here?
I haven't had problems with up2date on my production server
Bully for you. Personally, I've had trouble with up2date getting stuck in an infinite loop when it tries to remove the old version of the just-upgraded rpm about every 10th rpm that it upgrades on two of my production servers. I have to kill it and remove the old package with rpm -e.
Don't even get me started about how rpm usually silently replaces your config file with the stock config file during an upgrade.
And this is on minor security upgrades. Red Hat doesn't even attempt to upgrade from one major release to the next while the system is online. You have to take the server down for hours for that.
Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
fail on boot because Lilo barfed a kernel panic on root mount.
Whiskey. Tango. Foxtrot. Lilo properly loading the kernel and the kernel mounting the root fs are quite different operations. I had a box fail to reboot cleanly after upgrading, but that's because I failed to re-run LILO after upgrading. Duh. But what exactly happened in your case?
It's not really a troll. How many times have you seen people on here touting manpower and availability of resources as the solution to these problems. I was just pointing out that *process* is extremely necessary to even make the manpower side of the equation effective.
funny this gets posted 5 minutes after i succesfully upgraded :)
What I'd say :
Nooooooo !!!!
How many times have you seen people on here touting manpower and availability of resources as the solution to these problems. I was just pointing out that *process* is very necessary to even make the manpower side of the equation effective.
I had this problem yesterday, a routine update lists the following:
5 upgraded, 0 newly installed, 80 to remove and 9 not upgraded. Need to get 4152kB of archives.
80 packages to remove? If I proceed with this upgrade, it would just nuke evolution, gnome, nautilus, and a bunch of other important packages that I use on a daily basis.
Titus Barik
Amen. And no matter how many repositories you add, you never seem to be able to find the package that you want.
I've had a lot better luck with apt for rpm on Fedora 3 and 4 test, but it still has its problems. Apt requires way too much configuration - hunting down dozens of repositories, tracking down their signatures, finding that the signatures of some repositories change and confuse the entire apt process, etc. Apt gets confused too easily as well - you get one broken dependency (even if it was broken on purpose because it was an innocculous problem), and it refuses to do anything until you fake that the dependancy is met. And then there's the fact that if apt thinks it has a combination of packages that works and then a single one of them has a problem, it doesn't try any other combination or try to download the bad file from a different source; it simply fails.
Making apt "hardier", with more of a central authority of repositories (with trust levels) and easier key-getting mechanisms, more retry ability, and taking on some of the "emerge" abilities (i.e., if apt can't meet a dependancy with a binary, it gets and builds a source package that works with the local system) would be a wonderful thing.
Sigur RÃs: I didn't know that Heaven had a rock band.
You might want to read the release notes before upgrading:
http://www.debian.org/releases/sarge/releasenotes
...which specifically recommend using aptitude rather than apt-get.
Huh? How hard is it to switch hard drives? Is there some particular reason you don't have floppy or CD capabilities?
SATA changed from IDE subsystem in 2.2 and early 2.4 to libata (and therefore part of the SCSI system) in 2.4 and 2.6
If I have been able to see further than others, it is because I bought a pair of binoculars.
He's using SATA and the newer linux kernels moved SATA from IDE to the SCSI subsystem.
/dev/hd* and his lilo root=/dev/hd* lines became wrong.
So all his fstab entries using
If I have been able to see further than others, it is because I bought a pair of binoculars.
oops =)
Think of this as trying to upgrade from Windows NT to Windows 2000. Sometimes things break in a version upgrade.
If your going to put it on a spare box, you won't be upgrading anything, so this issue shouldn't effect you.
------
Now where is my flame proof armor....
From the release notes:
While nothing prevents you from continuing to use an obsolete package where desired, the Debian project will usually discontinue security support for it a year after sarge's release[3], and will not normally provide other support in the meantime. Replacing them with available alternatives, if any, is recommended.
I don't know if this means that all security updates for woody will be discontinued in a year, but that's the implication.
Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
I've never run into a single cyclical dependancy, which is when package A needs package B, which needs package C, which needs package A.
You are not the customer.
You know exactly what the OS contains--- "Solaris 5.9 build 100041-23" contains Kernel version X.Y.Z, C compiler X.Y.Z, C libraries X.Y.Z.
No, you don't know that. 100041-23 is only the kernel patch version. What about other patches? Did you install it through the recommeneded patch cluster? Or the security patch cluster? Or was it the Solaris update cluster? Or maybe you installed this kernel patch as a part of the "Java" patch cluster? There is no such way as patch level on Solaris for overall system.
These problems were always there in the last Debian release - it's just such a long time ago all Debian users forgot about them (the debian see! scrolls recorded it)... ... good job I use Slack ;-)
This makes me wonder why the upgrade process is being run under the target installation in the first place. How about upgrading the system off-line through a live-cd of some sort?
This live-CD would be able to access the installation's filesystems and examine the configuration, particularly the database that APT keeps of the installed packages. The relevant updated packages could then be installed without worrying about clobbering libraries and/or other files that the update process is dependent upon.
At the very least this should be an option to fall back upon. The update process should examine what needs to be updated and then advise the user on whether or not it was safe to run the update from the installed system or whether the live-CD method should be used instead. If you're upgrading from one major release to the next, then you're almost certainly going to have to reboot anyway regardless of what upgrade method you use.
Lee
Muslim community leaders warn of backlash from tomorrow morning's terrorist attack.
I'll admit to being only partially familar with Linux and how it works, but I've seen how the principle holds true for Windows systems. I've never upgraded a machine to another version of Windows OS. I always install the new OS on a fresh partition with the old OS and files safely backed up somewhere.
I know linux doesn't nearly have the same problems as windows though (which seems to need a fresh reinstall of the same OS once a year) but it appears some of the same principles hold true across the board.
Is there really some type of utopian OS where upgrades install perfectly as you want them too with minimal user intervention? (or one that theoretically could be?)
static compiled-wave of the future. Disk space=cheap.
I understand the problem you're discussing, and what you suggest is one avenue to solve that problem. But I think that there is another, potentially simpler solution that should solve all the major problems with package systems: get rid of the idea of package conflicts.
Circular dependencies are not a problem - if you view the set of packages and their dependencies as a directed finite graph - it's easy to come up with an algorithm for reliably figuring out the closure of dependency relations for any given package or set of packages.
Introducing the idea of conflicts throws the whole system out of whack. I don't have a proof for it, but it seems very intuitive that trying to figure out a valid configuration of packages conforming to an arbitrary requirements is an NP-complete problem (I think it's reducible to 3SAT).
Getting rid of the idea of package conflicts necessitates a change in the way packages are organized on the filesystem. For one, conflicting file locations must be gotten rid of. I.e. each package affects only it's own discrete set of subtrees in the filesystem.
Secondly, for multiple packages which provide the same service, there must be a way of choosing, for any given user, which set of packages of the potentially multiple providers for a set of services to use. It should be possible to come up with a user 'profile' that describes what implementations that user desires for the services. This needs an extra level of indirection.
Anyway, I think the idea of getting rid of package conflicts is worthwhile, and would remove a whole set of difficult-to-resolve issues from the realm of consideration.
-Laxitive
And what is it about the dinner table that makes it so difficult to move the box and swap the disks?
Is there a particular reason why you're running it without floppies or CD?
I haven't been to your place. Telling me that it is "under the dinner table" is not giving me any information.
Fine i had to babysit my upgrade, it wasnt a simple apt-get dist-upgrade...
At first when i did a apt-get upgrade it wanted to a REMOVE all the core packages i use that machine for (ssh, apache, mysql, courier...) i had to upgrade one at a time, making sure nothing would barf. Only at the end did i upgrade APT and then do a dist-upgrade to get everything up to speed
This was a long time in the waiting, of course it wasnt going to be really easy.
"What do you mean you have no ice? Do you expect me to drink this coffee hot?" - Random Customer, Clerks
That makes sense. That's not really a LILO bug, as it sounds as though updating the kernel parameters in lilo.conf would have fixed it. That's kind of a nasty change, unless the upgrade script could detect at runtime which drives were on SATA and update lilo.conf/fstab/etc. appropriately.
Lets take the words apart:
cyclic - as in circular, comes back to the original point. example: phases of the moon
dependency - something depended on. program A depends on library B, B is a dependency of A. Of course, B may depend on C.
Putting it all together: circle of dependencies
A depends on B depends on C depends on A
Makes it really hard to decide what to do first. Chicken and the egg problem.
If you have a problem figuring out what this all means, at least head for a linux that is built more for an enduser (I've heard good things about ubuntu, mandrake is usually alright, but I don't have direct experience with either).
I said the first 1,500 bug reports would be up by the next morning, and then said "This is what they get for releasing early."
/. humor.
I thought it was supposed to be funny. I guess I'm just not cut out for
Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
I attempted an upgrade from woody to sarge about a month ago and it broke my system. I have 1000's of zombies running around. This shows up as a defunct process. Its not the end of the world mind you but you can't kill a zombie since it is already dead.
I have reported this and warned that there will be a lot of folks with broken systems. I was very surprised to hear that sarge went stable before this problem was sorted out.
A sarge install from scratch however is fine. Its just the upgrade that is broken and in more than one place.
I usually dont reply to ACs, but come on. Of course user has different meanings. People running protein folding simulations on super computers are users. So is grandma who needs a machine that automatically opens her email. As for the claim that open-source patches are better, they are, for those high end users who care to patch things themselves. For the rest of us, a distro will get the patched version of their binaries out to end users fast enough.
As for the playpen comment. Screw you, lots of people use linux for serious work, both desktop and commonly in the server room. Those supercomputers? not running windows. many running linux. Its getting to the point that you don't have to be an expert to run the system, yes its taken a while, but when it's made by the experts generally for the experts usability is not necessarily the top priority.
Yes I play on my linux box, try the newest stuff, etc. I also write web pages (rarely), do all my correspondence, write software for my job, and play media and games on linux. Basically I do the same things I would do on windows, and I find it less annoying to work with. This is mostly due to the fact that knowing enough about the internals means that I can swear at MS for not providing the expert level interface to go with their wizards. Sometimes a command line is more efficient (Ms may be getting the message if they really are revamping their CLI).
You do have everything backed up don't you?
You mean like Darwin/OS X? A fair amount of that OS comes from FreeBSD. Apple doesn't "control" FreeBSD.
What they do control is their development and testing process. They keep the number of packages *they* maintain down to core system components, and they don't support 1000 variations of their system setup. One setup to build, one setup to test. What I'm amazed most OSS developers have realized yet is that, well, this means they have *expontentially less* software combinations to test and support. You use what they give you, rather than risk hand-building some untested combiation of packages. Consequently, things are much less likely to break and when they do Apple will have a fix to you quick.
Microsoft and Apple don't package third party software for others, why should Linux vendors?
They also don't have the resources to making security patches for every package without upgrading to a newer version of said package (i.e. backporting). They really do a phenominal job given their constraints.Well, their first stable release in several years is very broken, and regardless of how hard they've worked, it makes it clear that their development process sometimes lets very critical bugs get into release software. The core issue is that all packages on a system can be dependent on other system packages, which may have version conflicts, etc. There's no possible way to even test all the possible software combinations.
A complex system leads to complex problems. You either reduce complexity, or recruit more and more and more people to try and deal with it. So long as you have an endless stream of volunteers constantly testing and fixing, I guess this could work, but once the distro loses that, it's dead in the water because it can't remain stable. I also feel it's a shame because you have all these resources going into routine maintenance rather than improving the OS.
What I want is not even LSB, but *one* distro with a simple to maintain system. I eventually shrugged my shoulders and moved to Mac. What is odd to me is that despite the fact there's no LSB, all the distros out there are writing separate package management systems that work differently, but are basically all the same in that they are all complex due to dependency issues, and ALL basically are about maximizing disk space and efficiency, as if those things were far more important than my time. And that's how the business and home market thinks - they don't want software that gets in their way and wastes their time.
The sad part to me is that distros like Debian tout their software installation system as a "killer feature", as if the ability to easily install software is a rare thing in Linux and not a commoodity. Most everyone I know equates Debian with apt-get. Well, other OSes have had this "killer feature" for a decade, so long that none of them actually touts it as a feature, and OS X also doesn't have "DLL hell" issues. (Dependencies are provided by the system or by the app, no "variable" system configurations.) No package manager necessary.
But.....UBUNTU!!!!!!!!!!!
"God of Rock, thank you for this chance to kick ass. "
I'm upgrading all of my boxes from woody to sarge. So far so good. You need to follow the instructions here
Some perspective: It is a giant leap from woody to sarge. Each server I'm upgrading has a purpose, and the application software to support that purpose has taken a big version jump. Of course, you're going to have issues doing that.
Debian mostly does that, but you probably have to update a bit more often than the stable releases.
I only ever install debian when first setting up a machine. All the rest of the time it gets periodically updated via apt.. don't even need to reboot.
You can make windows last a year? Wow... I'm averaging 3 months and that's even not using outlook or IE and having all the AV/Anti-scumware stuff available running every night.
These update systems have very basic dependency checking, as far as I can tell, and complex dependency chains routinely fail. The "correct" algorithm is as follows:
Because the above system uses set logic, circular dependency lists will work. An object cannot appear in both groups, and cannot appear more than once in either.
Because the above system uses a mix of known good archives, known good repositories and "official distribution points", there is a much greater chance that the required versions will be found.
Because the above system can pull source files, a-la Gentoo, it would work in cases where a repository has been partially updated.
The biggest problem I have ever had with installers is that I have a highly generalized machine, which means a LOT of RPMs, with a very complex network of dependencies. The list is usually resolvable, but frequently requires a lot of manual investigative work, as up2date and yum aren't always able to infer the necessary files and/or cannot find them and/or cannot handle the fact that archives are rarely maintained completely in sync.
It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
Yes, it's called Mac OS X.. a close second being Gentoo. /me says goodbye to his karma.
Oh brother, big upgrades may cause problems, this is not really news. We all backup our servers (or important boxes) before we do ANY upgrade, especially if its this big (woody -> sarge). then we are mostly "safe" when (or if) something breaks. At the very least get a list of your installed packages and backup the "critical things". that ways if X eats Y you know how it was before.
As a complete pessimist I truly expected bad things from this upgrade. I was pleasantly surprised that when I upgraded 7 boxes and 2 servers the worst that happened was one old testing box (a PPC that had not been updated in years probably) wanted to uninstall KDE. At this point I may add, of course when we do say an "apt-get dist-upgrade" we LOOK at what wants to be uninstalled don't we. If somthing we like / need is gona be uninstalled we usually think abit and fix that dependency first (at least I always do).
At any rate, many of these boxes (not all mine) were a mash of headless pseudo servers and desktops running various states of woody, the old sarge and many bits of sid and sarge all muddled together. And they all came through with no real hitches, just a the usual twiddle of the sources lists and may be a quick tweak of the installed kernels in the grub menu (so the right one is default and all entries are sane).
Got it all done in an afternoon, and got on with the rest of the day. All and all, a much better upgrade path than I remember with potato -> woody back when I was younger and much stupider. We now have a much more homogeneous set of light use boxes / desktops and the file servers are set to get their security upgrades and be basically unnoticed for another 3 years if need be.
The pessimist is happy... Thank you to the Debian team, I have been a little less pessimistic for the last 5 years thanks to all your hard work.
*nothing is truly broken and nothing is truly idiot proof by nature, it is all how you deal with it. That is what really defines who is really at fault with the shit rain starts to fall.
Wait, you mean people actually are still using Woody and are trying to upgrade all at once to Sarge?
Nobody uses Woody. Run 'testing' or 'unstable' and upgrade continuously-- that's the best way to use Debian, and with perhaps slightly expanded automated testing of the 'testing' branch, and more frequent moving of packages into 'stable', that could simply be the way it always works in the future; forget these antiquated "distribution releases".
The upgrade wanted to remove half of my installed apps and it kept back the other half. Even after sorting it out (hours and hours), it did something screwy with the ifupdown utility so it never came back from a reboot.
This was the final nail in the coffin for debian. No updates since 2002 and now this.
>I have no idea what a "cyclic dependency" is nor do
> I want to know.
It's plain English.
>I've flirted with the idea of installing Linux on a
> spare box. Is this nonesense the kind of stuff I
>should expect?
Of course not. It's just a possible consequence associated with the complications of having the wide variety of packages with the huge number of possible combinations that Debian has. But that's a GOOD thing, even if it can be a little overwhelming. There are other distributions where choices are firmly made for you. I prefer one that lets me make choices. I can accept the potential consequence that my choices may make things a little more complex.
Initial installation on Debian, especially if you start with a live Debian-based distro like Knoppix or Ubuntu, is really quite easy. If you're starting from scratch on a spare box, it's super easy.
The only nonsense you shoud really *expect* are:
1. Be prepared to do some research on any wi-fi hardware, and try to find out in advance if you need NDISWrapper. This is one of my pet peeves,
since wireless networking is quite the killer app these days, and the community seems comfortable passing the buck.
2. It might not magically put your window manager at the resolution that you want. This shouldn't take more than a little googling to fix, but it can be annoying.
3. Audio, particularly if you plan to record audio, is a subsystem with its own issues. Audio playback tends to be much easier these days, but I'm into multitrack recording, making synthesizers, etc. It's pretty tough to follow, even with a lot of experience.
4. DVD video playback. Aggressively suppressed by the motion picture industry; community is rebellious enough to have useable players on the fringe, but remains willing to pass the buck. Perfectly understandable, but still quite a nuisance.
5. Laptop power management - I have yet to see it work well on a linux laptop. The latest Ubuntu's hibernate command just crashes my Toshiba. Power management is on the short list of really important features of a laptop. Maybe it can be made to work, but I have not managed it for years of trying.
I have a long, long list of annoyances with every system, so don't get me wrong here. I'm just trying to point out a few items that I can pretty much guarantee will get in your way at some point.
A lot of work is being done in all these areas, but some things like WiFi and DVD playback have some very solid showstoppers (like the threat of prison).
-fb Everything not expressly forbidden is now mandatory.
Because only extremely limited distributions would require you to take the machine offline to upgrade it. The Linux you're looking for is Red Hat or Mandrake. I need to be able to upgrade my Debian box from thousands of miles away... I'm sure as hell not going to fly out to a datacenter somewhere and reboot my box onto a bootable CD and run the upgrade. That's just silly.
This upgrade/dependency problem is the same, most important, problem Debian releases have throughout the cycle. Or at least, it's the same solution: a robust, easy installer. Not just a flexible installer that handles all the many combinations of hardware, software, network, and configurations, hiding the complexity under the hood of a simple GUI which allows configuration of every option. The installer must also detect failures, and report them back to the release managers. Of course this failure notice should be optional, but automating everything but the "OK/Later/Cancel" opt-in for messaging, and offering a tracking ticket# (even just pointing to the existing id#s of identified problems), will make the most of each cycle. Open source's greatest strength is the continuous real-world playtesting as the source evolves. We shouldn't have releases that fail more than the centrally-planned proprietary systems. We need to close the loop in our release process, with release tools as good a model of our distributed communication as are our development tools.
--
make install -not war
installation tool apt depended heavily on the changing C++ libraries
If apt is that dependent on the libraries, maybe it should be staticly linked. I know static linking is usually considered a bad thing, but this is one case where an exception to the rule may be needed.
Coder's Stone: The programming language quick ref for iPad
No man wants to read these 3 words. I will be sure to steer clear!
The real frustrating part is that we wait YEARS for them to straighten this stuff out, figuring you're using the distro that takes the time to get it right, and avoiding headaches.
Now I have serious probs, and I'm wondering why I'm using Debian at all.
Not an easy task. You'd have to predict which drive letters the drives would be assigned, which would be a nightmare if you try to mix IDE and SATA and SCSI and USB drives (also on the SCSI subsystem) all in the same machine.
Perhaps detecting that you're currently installing on SATA and letting the user know they might want to double-check your drive assignment before rebooting would help, but it would still expect the user to know what the hell was going to happen next time the computer started.
I think this is one of the few times that disklabel would be of any use. (disklabel lets you "label" each partition, and refer to them by label in fstab and I *think* kernel's root= parameter instead of requiring you to know the device name, but there's no easy tools that understand it, and only a few filesystems support it)
If I have been able to see further than others, it is because I bought a pair of binoculars.
I've got a few Debian servers here at work, and a few at home. I read the release notes and warnings, updated my apt and proceeded into a dist-upgrade. All of my boxes upgraded without trouble. The only strange dependancy that I have noticed, is that Sarge is trying to replace Postfix with Exim!
Never eat more than you can lift -- Miss Piggy
I'm not really surprised that there are problems upgrading from woody to sarge. Some of the packages used in woody for example probably don't even exist under the new tree. I know, for example, that those on woody are probably still using exim3, and sarge will use exim4. Except for very simple files, there is no automated and reliable way to upgrade exim3 conf files to exim4, so exim4 needs to be reconfigured manually. With such a large jump, I wouldn't really expect things to be 100% smooth to be honest.
Ummm. I have been using Debian for ages and never noticed. The author does not give any concrete pointers to errors encountered. He is though the go to person for people with upgrade problems. So I guess he is blowing a problem totally out of proportion. Someone should have stopped him from trolling on devel-announce.
My problem with just using the official repositories is this: I don't upgrade if it's not broke. If there's no security problem, and it's working for me, I see no reason to upgrade to the latest stable. What I do use apt for is installing new applications that weren't part of the distro. Using the official repositories is generally pretty worthless for this, and I end up doing actions like this a couple times per month.
Sigur RÃs: I didn't know that Heaven had a rock band.
I got bit by this stupidity -- took my main server offline for a day. Debian has really gone to hell lately. I am either going to switch to something else (Gentoo?) or maybe join if anyone wants to fork Debian into something that concentrates on quality.
I am just blowing off steam? I hope not. I hope that I can find something to replace Debian. Unfortunately I think that competancy is becoming rare. Who knows what disasters lurk in other distros.
I've flirted with the idea of installing Linux on a spare box. Is this nonesense the kind of stuff I should expect?
Yes. Whenever something in Linux (and here I talking about all possible lumps of problem code surrounding the Linux kernel) doesn't work well by default, you'll find that on average the level of knowledge of Linux internals you'll need in order to solve the problem far exceeds what is required in windows. All in all, although Linux has made a lot of progress, it's still in pretty dismal shape when you want to perform certain desktop tasks.
Web browsing? Email? Photo and document editing? Most of the time that's no problem. Adequate, tolerable tools come installed by default. Changing the system configuration? Installing or upgrading software? Now you're in trouble. Most people run into Linux roadblocks when they try to push the limits of the OS so that it's as functional as windows.
Downgrade the troll above, please.
assert(expired(knowledge));
Downgrade the troll above, please.
Please do elaborate. How exactly was I trolling? I was speaking out of frustration as a Debian user, not as some asshat who likes to flame Debian. You, on the other hand, simply painted me as a troll, but couldn't be bothered to debunk any misconceptions you believe I'm propagating.
assert(expired(knowledge));
No. You attempt to refute his valid points. Please.
I've flirted with the idea of installing Linux on a spare box. Is this nonesense the kind of stuff I should expect?
Do you have a reason to try Linux? Just from your tone you sound rather apprehensive of it in the first place. See if this describes you: "I'll just give it a shot so I can see why everyone is making such a stink about it. Then my condescending attitude will be justified because I actually did try it and didn't like it."
Frankly, even though you are obviously a "serious computer user" since you "create media" and "edit audio," if you don't have an idea of why you might want to switch to Linux, you aren't going to find a reason by just trying it out. What you'll probably find is that you can't figure out how to easily do the things you want to do in one afternoon. Or maybe you will, but they won't be any easier or wow-bang than just doing it in Windows. So you'll shrug your shoulders, wonder why everyone is making such a stink about it, and wipe the drive.
You should have a reason when you decide to do something, even if that reason is just to explore. If you were the exploring type, you would have already tried it, rather than just "flirted with the idea" of trying it, so that one is out. If you don't have another reason, you'll just be wasting your time. Honestly, it's the same with any decision in your life. Try thinking through things, rather than just randomly trying them because you know they exist.
--
Promoting critical thinking since 1994.
basically admiting that they didn't RTFRN (RN == release notes). If you follow the release notes you are fine. They give you a few instructions and all the commands to use:
e -notes/ch-upgrading.en.html
http://www.debian.org/releases/stable/i386/releas
personally I think its kinda gay that these package managers don't always just attempt to update themselves and their depends first. Or warn that new version of the package manager is available and ask to install it first. I think even up2date *gag* warns about that.
don't read the freaking release notes, you will have problems
That's a bug with the software, not with the users.
Also, this breakage gives us a yet another reason to bash C++ as a poor excuse for a language
It's not C++'s fault, at best it's the fault of the compiler/ABI. Even C compilers have problems like this.
No. There are some very valid points made.
The subject of the parent is itself suspect of reasonable objectivity. How does one kill a highly successful distribution that is 100% driven by the community at large?
"Take freaking forever to freeze for a release." There were a number of mitigating issues regarding Sarge, not the least of which was creating a new installation suite modular enough to work on all 11 ported architectures (not two dozen). Few can claim more portability. The second largest hold-up was the lack of an autobuild infrastructure for security updates. This was exhaserbated by hardware failures of key buildd daemons, etc. Regardless, time between releases is a sore subject for Debian Developers as well as the users. It is well-discussed on the lists, and in the public archive. Feel free to search debian-release, debian-project, and debian-devel for the relavent discussions.
"Take freaking forever to ship after freezing." I'm not actually sure what was meant by this. The freeze was done in steps, and once the actual freeze was announced, the release happened blazingly fast by most standards. However, this is subjective to POV.
"Ship a broken upgrade even after all the damn testing." How did Debian ship a "broken upgrade?" It created a few ISO images with a typo in /etc/apt/sources.list which prevented updates from an archive that contained no packages yet. What was broken? Additionally, published release notes and detailed installation instructions outlined the difficulties you might find during an upgrade from woody to sarge. What known breakages were hidden from view? What malicious intent did Debian have?
Seriously, to use your phrasology, the above post is nothing more than flamebait. If you don't like Debian's release cycle, either roll up your sleeves and participate in the process to improve it, or jump ship and use something like Ubuntu. Debian is not dead, is not in danger of dying, and could benefit more from helpful contributions than rants about its shortcomings.
I have failed in these posts by feeding the troll. I haven't provided a new defense or pointed out new facts. All of this information is available for those that would search (with little effort, mind you) for it. Happy hacking, and happy feeding.
assert(expired(knowledge));
Debian is the universal free software distribution.
If they killed off the architectures that you happen not to care about, it wouldn't be universal, so it wouldn't be Debian. It's not a waste of time, it's what the project is all about.
Frankly, apt works great on a day-to-day basis. And apt-get dist-upgrade appeared to work fine for my Woody web server.
If you want a slick x86 only distribution, look elsewhere. I'm sticking with Debian because they do things right. And where there are problems, I'm convinced they will fix them in a way that is ultimately scalable.
-- John.
I consider your points trolling. How you got +5 Insightful is beyond me.
Your first and second points are basically complaining how long it took to get out the door. Who cares? If you are not helping fix bugs then dont complain that it is taking too long to get them fixed.
All my servers run Debian stable and I love the fact that the release takes forever. This keeps the server maintainable. The configuration files never need updating because the software versions never change (except for security fixes). The servers have all been rock solid for years.
If you want a more current release run "unstable" (which is quite stable and I run on my desktop and laptop). From your comments I conclude that you shouldnt be using stable. You dont understand what its for.
Your last point - ship a broken upgrade after all the testing. My rebuttal is very simple - you didnt read the release notes. I did. All my servers were upgraded without issues.
I installed Sarge on an old laptop that used to run Woody (and ubunty for a couple of days). Both Ubuntu and Sarge booted up very slow. Kept getting DMA errors on boot. I mainly use that laptop to surf the web and as a vnc client to other desktops and servers. It's a really slow machine. I wound up just downloading a Damn Small Linux ISO that I boot from the cdrive. It boots up much faster and has a vnc viewer in it. Obviously not a solution for everyone but DSL made things a lot easier for me.
Open Source Java DAO Generator
So how can you manage a patchlevel with no defined core?
How far do you go in applying patches? Do you include apache and PHP... er what about cdrecord and K3B? People rely on those last 2 for data archiving sometimes. Do you update the browser... and which ones?? Oh heck, might as well include fixes to KStars and Audacity.
Or maybe not. Or maybe we'll update K3B in the 3.1.05 patchlevel, but not include newer fixes in our 3.1.08 patchlevel.
There is no line drawn between OS and additional services and apps. So the average user is screwed.
If you really care about a system and minimal downtime due to upgrades, have two root partitions (it's only an extra 5-10G). Instead of upgrading, you make a clean install on the unused root partition. Clean installs generally work better to begin with, and you have the old install both mounted and bootable to figure out any problems and copy over configuration files.
As for complaints about this sort of thing, I still prefer Debian. I just spent several hours upgrading an OS X system from Jaguar to Tiger. A trivial file system inconsistency in HFS caused the installer to crash reproducibly and eventually required me to manually patch inodes (apparently a fairly common problem on Macintosh). And I'll have to wipe a Windows machine clean tomorrow because mysteriously hardware has stopped working and no amount of fiddling will do.
In comparison, these Debian upgrade woes seem minor. And unlike the Mac and Windows problems, the Debian upgrade problems will generally fix themselves after a few days when the package maintainers catch up.
After perusing the release notes and understanding the apt issue, I bit the bullet and went ahead with a full upgrade of a server to which I will not have console access for 2 weeks.
The entire process was smooth - 400 packages upgraded, and 60 or 70 new ones.
I wouldn't have dared do it with any other distro.
Thanks, Debian.
garethw
Thank you
The main surprise is that Debian usually doesn't have any problems with a dist-upgrade and that now it needs a bit more care, not that this particularly wasn't done well comparitavely speaking.
He was only moderated up 3 points (1 because he didn't post anonymously). At least some of his rating was flamebait. You probably have a +1 bonus for insightful. Downgrade that to 0 if you don't want unwarranted inflation. I find that most "insightful" rankings are overrated anyway and better classified as either "informational" or "interesting" (perhaps).
assert(expired(knowledge));
Never link to glibc statically.
those folks need to get their heads out of their asses. They need to stop wasting time trying to officially support the two dozen or so architectures nobody gives a damn about, stop engaging in wars about whether non-free belongs in Debian, and concentrate on releasing something that's reasonably current and also supported by security updates.
So basically forget everything that makes Debian different from everyone else. We aren't going to give up our principles because some obscene idiot curses at us.
Woody shipped with 2.2 by default, 2.4 was an apt-get install away
Sarge ships with 2.4 by default, 2.6 is an aptitude install away
I suggest you read the thread for comprehension for modding it.
I can tell the future! I called it. You all should have listened!
- d
So, within the context of Debian, an OS patch level is an active comparison between that which is installed and that which is available. "apt-get install -u" will list the packages that can be updated from the archives you choose to track. "apt-cache policy PACKAGENAME" will give you detail about how available packages are assigned pinning priority, info you can use to see where the package will ultimately be installed from before ever running "apt-get install PACKAGE".
Really, OS Patch Level is a dead concept. My OS patch level is Debian 3.1 with the latest security patches pulled from the security.debian.org archive and a custom kernel...
assert(expired(knowledge));
Okay, I *know* I'm feeding the troll, but whatever, I just can't refrain myself...
> How to kill Debian in five ("Three, sir!") easy steps:
How to troll about Debian in three easy steps :
>* Take freaking forever to freeze a release.
* Ignore the fact that Testing was usable (and used) all along. Hell, I've got a *dozen* of servers running Testing since a few years, and you know what, I've had very few problems with them (in contrast, the Mandrake servers kept being broken, especially on upgrades)
>* Take freaking forever to ship after freezing.
* Inflate everything for FUD purposes and call "barely a month", "freaking forever"
>* Ship a broken upgrade even after all the damn testing.
* In the same spirit, call "some problems if you didn't RTFM", "a broken upgrade"
> Seriously, WTF? I like Debian, but those folks need to get their heads out of their asses.
* Insult the FOSS developers that bring you the software you run for free
> They need to stop wasting time trying to officially support the two dozen or so architectures nobody gives a damn about
* Give stupid advice about how volunteers should spend the time they donate to a project ; also shit on people who happen not to have the same setup as you (if you keep doing this long enough, you eventually morph into an eWeek columnist and proceed to write moronic articles where you explain to "the Linux community" that they need to drop every desktop environment but KDE to compete with Microsoft and Apple)
> stop engaging in wars about whether non-free belongs in Debian
* Clearly show that you don't give a damn about those wacky "Open Source" and "Free Software" concepts, and that you just want more warez, quick !
> and concentrate on releasing something that's reasonably current and also supported by security updates.
* Demonstrate to the world you don't know how to read security.d.o and use the information to backport the fixes into your packages. As an added bonus, show that you're unaware of recent projects
> Oh, and it would be nice if doing an 'apt-get dist-upgrade' didn't break things.
* Finally, make sure everyone understands you didn't look at the release notes for your distro before upgrading, since, as we all know, manuals are for losers
If you closely follow all the steps graciously demonstrated by the parent poster, your Debian trolls will have the most impact. For added points, you could also make some reference to "Debian stale" and/or launch the installer in expert mode, then claim it's difficult to install Debian. There is no limit to the FUD, really.
Xenu brings order!
...bad points. Yes, I understand the massive upgrade patch theory. It doesn't have to be that way though, there could be a hybrid middle ware solution that uses dynamic linking with advanced permissions just to change the individual files inside the various apps. a patch only but no running link thingee.
Most of the time there's no outright need to DL the entire app if it's a unixy design with files you would think (at least this rookie thinks that's how it's supposed to be). And with static apps, you can pick and chose which of the now vulnerable apps to keep online with, and to set your permissions corectly, patch those first, then patch the others at your leisure. That's the promise of stuff like xen combined with static compiling.
Anyway, it certainly hasn't hurt apple that I can see. Sometimes the old ways are good, sometimes it's better to admit progress marches on and that the new tradeoffs are worth it. The way linux is now it's a big problem with non compataible package managers and one dynamic link can screw over your whole system. Whyfor do I want that again? I'd rather have it so that I could choose my priorities over "OMG everything is now screwed and you are vulnerable from 16 directions" or "ignore it and take a chance". That's the two choices you have now with bug du jour/dynamic linking and absolutely no standard way for linux packaging. It *sucks*. You can even see it just within the so called debain distro family, allegedly all "debian" yet dozens of ways to do things, yet a vuln can hose a buncha systems and the patches can be quite different because of minute arcane differences in the way they got put together. Now expand that to all the various distros and methods. It's inefficient and buggy to begin with, then it goes downhill from there. Cool thinking 20 years ago no doubt...
There has to be a better way. Full release upgrades suck,why are they even needed??? You should be able to incrementally upgrade in perpetuity, incompatability with app packages sucks the big 1, having a plethora of apps go from working to vulnerable because of one bug in one file in one app/library sucks. It's OK if the fix is that small, but it shouldn't make everything you want to run go useless instantly, that's the major problem, especially for systems that need to stay online 24/7.
No, no DSL yet, currently I just upgrade crap overnight, or that's when I DL mini distros or big apps. Dialup is still a helluva lot better than "no intarweb", heh.
Anyway, I sorta kept track over the past year, the vast majority of security updates I had to patch really wouldn't have effected me much if at all. And I bet it applies to 99% of the computing public, and the other 1% gets paid to dork with that stuff, so it's job security. I don't see a problem with it going to static compiled then. RAM cheap-check. disk space cheap-check. Ability to stick your stuff wherever the heck you want to, double check. if the patch was limited to just the actual fixes and not the whole app, no biggee. DL the files in some sort of permission jail for the patching aspects.
Anyway, something is got to give on this scene, it's gotten beyond outta hand.
IMO, YMMV, IATOOMA (I am talking out of my....) anyway... %^)
had so many issues at work with Sarge, probably due to the regular dist-upgrades
I wish I could use something better (like Slackware), but work insists on Debian
---- Put Sig here:
Read and Follow the install/upgrade instructions and you will have few to no problems. Upgraded 6 servers and 10 desktops all without any glitchs. Other than having to change the /etc/apt/sources.list
A mix of Testing and Unstable is the way to go for a desktop or laptop. Debian ROCKS.
Debian Sid LXDE Firefox 3.6.4
GNU/Linux and Firefox, surfing the internet safely.
There's always been "breakage" when moving from major to major. Not as bad as anything mentioned in the article, but still, it's never completely simple. It's gotten even better since apt-get...
Most of it having to do with me needing to manually somehow convince the system to install new Perl and everything it depends on.
And I think the worst thing I've ever have needed to do was to manually de-archive, edit install script, and re-archive some package (I think it was modutils, or some other kernel thing) because I had neglegted to move from 2.0 to 2.2 kernel (why? it worked...) in the previous version and leap from 2.0 to 2.4 was just too corny for the package installer to try.
But I've never managed to break anything too badly even with ocassional --forcing... =)
i dunno about stable, but i have had pretty good luck with my sid desktop (many months of no serious breakage)by only upgrading after 6:00 PM CST and only on Sunday evenings.
Serenity now, insanity later.
Interesting reply. You make some good points. A bit condescending but still there are the kernels of some good debate in there.
//e, various Atari's, TI's & the TRS-80. I've done my share of exploring.
For the record though, I have installed and used Linux. I've also installed and used BeOS, MAC OS 1 through X, MS-DOS through XP Pro and the OS's of my Apple
I should have been clearer in my original post though. I meant "flirting with Linux" in a professional context.
So while you put condescending quotes around my work ("create media", "edit audio") you should realize that it's one thing to this work as a hobbyist and a wholly different thing to so as a pro.
Your post intrigued me though. Your right, I should have a reason for switching to Linux (professionally, that is). But your post seems to imply that there is no good, compelling reason to do so.
So my question to you is this: What compelling, technical, pragmatic, real-world reason do I have for switching from Windows to Linux?
Best Regards,
VividU
When I upgraded from Debian Woody to Sarge I had to fix my mail server daemon. It took 2 hours. When I last upgraded a Windows machine - 98 to XP - I had to throw away a scanner, mothball a printer and bid a fond farewell to several games. The games and printer became useful again after a few months when the manufacturers got around to releasing an XP patch.
I think that the gp's point was this:
If you have to ask what the reason is, you don't have one.
Jay | http://oldos.org
" I think that the gp's point was this:
If you have to ask what the reason is, you don't have one."
Although I understand and appreciate the spirit of your reply, it is a bit of a cop-out.
You mean to say that there is no compelling reason - one that stands on it own, to switch to a Linux desktop?
Lets take the point further - what reasons are there to switch to a Linux desktop (besides geeky fun)?
A bit condescending but still there are the kernels of some good debate in there.
Like begets like, but I regret giving in to that temptation, for the tone obscured my intent. My purpose was not to start a debate of any sort. I have no interest in whether you use Windows or Linux. My point was that you seemed to have no interest in it, so why worry about it?
Your post intrigued me though. Your right, I should have a reason for switching to Linux (professionally, that is). But your post seems to imply that there is no good, compelling reason to do so.
So my question to you is this: What compelling, technical, pragmatic, real-world reason do I have for switching from Windows to Linux?
I am not trying to persuade you. There are many reasons to use Linux, and there are many reasons to use Windows; there's more than enough information available to determine them for yourself. I'm trying to help you realize that you need to determine them before you do an evaluation. Otherwise, you won't have any criteria to judge it against, and the evaluation will be a waste of your time. If you can't come up with any good reasons, that's an indication that you probably won't find Linux useful.
On a side note, the condescending quotation marks were a poor attempt to point out that those remarks did not help your statement. When your first sentences are used to establish "street cred," (eg. "I'm a serious computer user."), it signals to the audience that you are uncertain about your position and posteuring to make it seem more forceful. In reality what it does is make you look foolish. Those who are knowledgeable will be able to determine your level of expertise from context; trying to point it out to them will mark you as a fraud. Those who are not knowledgeable might believe you, but their opinion doesn't matter anyway because they don't know what you're talking about. It was a critique of the method of communication, not the content of the message.
--
Promoting critical thinking since 1994.
Upgrading a Linux distro, no matter which of the main distros it is, is not anywhere as problematic as a Windows upgrade. I am dreading when my friends & family start calling for me to upgrade them to Longhorn in a few years from Windows 98/ME/XP. I'm glad I'm using Debian. If you follow the release notes, you won't have any problems...