Can Linux manage updates and upgrades more easily than Windows?

Updating applications

Microsoft some years ago combined its two main update services -- Windows Update and Office Update -- into one big Microsoft Update service. (For administrators, there's WSUS, which gives sysadmins greater control over updates.) And then the other programs folks use on Windows often have their own update processes of greater or lesser frequency and persistence.

Linux offers a few choices for managing your updates, but in Ubuntu, again, the method of choice is Synaptic. The system periodically checks online for updates to all the applications it sees on your system. Updates fall into four categories: critical security updates, recommended updates from serious problems not related to security, pre-released updates (mmmm, beta), and unsupported updates, which are mainly fixes for older, no longer generally supported versions of Ubuntu. Most users will automatically update only those patches falling in the first two categories.

The process is otherwise identical to install -- click and go. It is recommended, by the way, that users always do updates before upgrades to either individual programs or the OS.

Backing up applications

Windows users installing from optical disc are wise to keep those in case they're needed later (along with any required license keys, of course). Because the repository model works as it does, Linux users may choose to simply rely on those servers. However, the program APTonCD makes it quite simple to create discs with backup copies of the packages installed on your system. The Ubuntu system must, however, be told about the specific disc from which you wish to install. That's a three-step system-administration process, and you will need to have the actual disc in hand and ready to drop into the machine. (It can also help you burn discs of packages you don't have on your system -- if you wanted to hand someone a nice clean install disk, for instance -- as Jeremy Garcia points out, "There are many corporate environments where Internet access in not available, for a variety of reasons.")

Or, if you like, on the basic Synaptic menu, there's an option to export a list of every blessed item on your system that APT is tracking. Take that list to another machine, import it, and Synaptic will install everything on the list, including appropriate updates, from the repositories.

Rolling back applications

Though the Internet often provides little recourse when one seeks an earlier version of a Windows program one didn't have the sense to back up before an ill-advised install, both Linux platforms have a wide range of rollback ease, depending on which applications you're dealing with.

Debian / Ubuntu leaders made a decision that new packages would not automatically uninstall older versions. This may or may not present tidying-up challenges for tiny-disked systems -- in my own experience I find that the Computer Janitor utility does an adequate job of keeping things in check -- but it certainly makes it easier to revert to an earlier version of a particular program.

Updating the OS

Minor updates to Windows are pushed out about once a month, or more often when Microsoft chooses to release an out-of-cycle patch. Major updates -- the Service Packs -- are less frequent. Desktop systems are often configured to automatically install updates when they become available, while Windows servers are typically configured to notify (but not install) updates so that proper testing can occur.

In Linux, the operating system and the kernel are constantly being updated. That doesn't mean you need to update every time something changes, and as with Windows there are perfectly good reasons to wait -- as with other operating systems, an upgrade can occasionally cause confusion with dependencies and break third-party software (especially, Murphy's Law being what it is, on production machines). On the other hand, tiny performance improvements, support for newer gadgets, and assorted bug fixes may mean you find the prospect of frequently freshened kernels appealing, especially if you're not doing the installation for any machine but your own. And many sysadmins would in any case like to automate the update process as much as possible for civilian users.

One good reason to update your kernel is to prepare for a larger upgrade; while a major version installation itself can't be easily rolled back once installed, the kernel, modules or specific applications all can. A cautious or curious sysadmin could get a preview of how a newer version of the OS treats an older application by upgrading the kernel, checking its behavior, then testing individual applications to see how they behave, rather than upgrading the whole shebang and hoping for the best.

In related thinking, smart Linux users make their /home/ -- the directory for data and documents -- on a separate partition from the OS installation. That way, changes to the OS -- up to and including switching to an all-new Linux distribution -- don't necessarily require you to reconfigure all applications and reload all your documents, photos, and other user data.

Upgrading the OS

Late October is going to a big time for you no matter which OS you use; Windows 7 is expected for release on the 22nd, while Ubuntu is expected to level up to Karmic Koala (did we mention the amusement factor in Ubuntu's naming system?) on the 29th.

Whether or not you think Windows or Linux has the edge here is perhaps dependent on what you expect from a large install process. With Windows, the process goes relatively well if you remember to do your BIOS upgrades before you start the process (and are sure your current version can be upgraded to the new one). Linux upgrades must be done in lockstep, and if you're more than one version behind you'll have to install all the intervening versions until you're up to date. On the other hand, upgrades for Linux can be done over the Net if you like; when upgrading Windows, on the other hand, you're wise to get offline completely.

Backing up the OS

Windows users who purchase their machines with the OS pre-loaded used to be supplied with rescue disks in case of disaster; these days, it's on a partition on the hard drive itself (and heaven help you if the drive fails). Various good options exist for backing up one's Registry and system files in case of trouble. But things can get a little awkward (or expensive) when it's time to start absolutely fresh with a clean install. (And every machine needs to do that now and then.) Did you save your license key? If the Debian / Ubuntu effort made nothing else simpler, the "free" part ensures a lot less drama when chaos strikes.

Rolling back the OS

It happens: You need to be where you were, not where you are. In Windows, you're hosed; format and start again. In Linux... you're still hosed. You can, however, roll back the kernel as mentioned. (In fact, you're not really rolling back the kernel itself; the upgrade process leaves the old kernel in there, available from the boot loader just in case. They're only about 10-15 MB, after all; you have room.) That's rather helpful for testing purposes, and can save you some unpleasant surprises with individual applications; careful use of the testing technique described above may well spare you the need to roll back at all. (Also, this is an excellent time to have done that /home/ partition we mentioned.)

I am fairly sure RPM supports rollback, although I think it's disabled by default. I'm not sure about dpkg. It's also possible to force install an older version of the package you're having issues with in many cases.


So what's the verdict? For maintenance of applications and the operating system with minimum pain and maximum control, the answer to this Can Linux Do This question is YES, and well enough that Microsoft and other closed-source shops ought to be taking notes.

16 Responses to Can Linux manage updates and upgrades more easily than Windows?

BetaNews, your source for breaking tech news, reviews, and in-depth reporting since 1998.

Regional iGaming Content

© 1998-2025 BetaNews, Inc. All Rights Reserved. About Us - Privacy Policy - Cookie Policy - Sitemap.