Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 38824  / 2 Years ago, sun, march 20, 2022, 2:25:03

As the title says, how long does a distribution upgrade (e.g. from 11.04 to 11.10) usually take, discounting the download phase? I've been upgrading from Natty to Oneiric, the download only takes about 1 hour, but now I've been in the "Installing the upgrades" phase for more than 5 hours already. The progress bar has been stuck saying "About 2 hours 55 minutes remaining" in the last 3 hours, and the remaining time is not decreasing. The detailed view (Terminal view) still scrolls printing stuffs that it's installing, so the upgrade is still running, albeit ever so slowly.



In short, is it normal that the Ubuntu upgrade takes this long? Fresh install, as I remember, takes about an hour or so from inserting the CD to booting to the harddisk; I had expected that an upgrade may take longer than fresh install, but not by this much.



Second question, why does it take so long to upgrade vs fresh install? Certainly not the download time, since that takes about the same time, about an hour for both fresh install and upgrade. It's the installation phase that takes so long.



The upgrade finally finished a couple of hours after I posted, I'm still not sure why it takes so long; however when debugging another (possibly) unrelated performance problem in my program (running on this same laptop), I found out that SQLite is excruciatingly slow on ext4 (in my case, a 10 second operation turns to 5 minute), because ext4 enabled write-barrier by default. The root of the slow upgrade might be the same since distribution upgrade also involves a lot of disk writes.


More From » upgrade

 Answers
2

I recently hopped a server from 9.10 to 11.10 (4 separate upgrades) in a couple of hours. There was significantly less to do on each upgrade and it was downloading at a stupidly fast speed but that should give you a lower bound.



Upgrading does take longer than reinstalling. Not only do you have to download the packages but they have to extract and configure themselves, running all sorts of nonsense to ensure stability. Most installed systems tend to have more packages than a fresh install too.



But what you're going through does not sound normal. I'd watch the terminal view for a little while to make sure it's not doing the same thing over and over and over again, if it is, you might need to put together a Plan B.



If it looks like it's working properly - just leave it as long as you can bear and see what happens.


[#41358] Tuesday, March 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ntlesslving

Total Points: 123
Total Questions: 109
Total Answers: 113

Location: South Korea
Member since Fri, Sep 11, 2020
4 Years ago
;