Results 1 to 4 of 4

Thread: stuck during upgrade from ubuntu 19.10 to 20.04

  1. #1
    Join Date
    Aug 2020
    Beans
    1

    stuck during upgrade from ubuntu 19.10 to 20.04

    Hi there,

    I'm trying to upgrade from my Ubuntu 19.10 to Ubuntu 20.04 graphically (I'm using GNOME). It is now stuck at the 'Installing upgrades' for more than 10 hours. I know that it can sometimes take a long time but I think there might be something wrong. I am afraid to shut down the computer or do anything else which might lead to data loss.

    Here are the messages I get:

    Code:
    Preconfiguring packages ...
    Preconfiguring packages ...
    Preconfiguring packages ...
    Preconfiguring packages ...
    Selecting previously unselected package gcc-10-base:amd64.
    (Reading database ... 269685 files and directories currently installed.)
    Preparing to unpack .../gcc-10-base_10-20200411-0ubuntu1_amd64.deb ...
    Unpacking gcc-10-base:amd64 (10-20200411-0ubuntu1) ...
    Setting up gcc-10-base:amd64 (10-20200411-0ubuntu1) ...
    Selecting previously unselected package libgcc-s1:amd64.
    (Reading database ... 269690 files and directories currently installed.)
    Preparing to unpack .../libgcc-s1_10_20200411-0ubuntu1_amd64.deb ...
    Unpacking libgcc-s1:amd64 (10_20200411-0ubuntu1) ...
    Replacing files in old package libgcc1:amd64 (1:9.2.1-9ubuntu2) ...
    Setting up libgcc-s1:amd64 (10_20200411-0ubuntu1) ...
    (Reading database ... 269692 files and directories currently installed.)
    Preparing to unpack .../locales_2.31-0ubuntu9_all.deb ...
    Unpacking locales (2.31-0ubuntu9) over (2.30-0ubuntu2.2) ...
    Preparing to unpack .../libc6_2.31-0ubuntu9_amd64.deb ...
    Checking for services that may need to be restarted...
    Checking init scripts...
    Checking for services that may need to be restarted...
    Checking init scripts...
    Stopping some services possibly affected by the upgrade (will be restarted later):
    cron: stopping...done
    
    Unpacking libc6:amd64 (2.31-0ubuntu9) over (2.30-0ubuntu2.2) ...
    Selecting previously unselected package libcrypt1:amd64
    Preparing to unpack .../libcrypt1_1%3a4.4.10-10ubuntu4_amd64.deb ...
    Unpacking libcrypt1:amd64 (1:4.4.10-10ubuntu4) ...
    Setting up libcrypt1:amd64 (1:4.4.10-10ubuntu4) ...
    Setting up libc6:amd64 (2.31-0ubuntu9) ...
    Checking for services that may need to be restarted...
    Checking init scripts...
    Restarting services possibly affected by the upgrade:
    cron:restarting...done.
    postfix: restarting...done.
    gdm3: restarting...done.
    cups: restarting...done.
    
    Servicres restarted successfully.
    (Reading database ... 269696 files and directories currently installed.)
    Preparing to unpack .../libc-bin_2.31-0ubuntu9_amd64.deb ...
    Unpacking libc-bin (2.31-0ubuntu9) over (2.30-0ubuntu2.2) ...
    Setting up libc-bin (2.31-0ubuntu9) ...
    (Reading database ... 269696 files and directories currently installed.)
    Preparing to unpack .../libc6-dbg_2.31-0ubuntu9_amd64.deb ...
    Unpacking libc6-dbg:amd64 (2.31-0ubuntu9) over (2.30-0ubuntu2.2) ...
    Preparing to unpack .../libc-dev-bin 2.31-0ubuntu9 amd64.deb ...
    Unpacking libc-dev-bin (2.31-0ubuntu9) over (2.30-0ubuntu2.2)
    Preparing to unpack .../libc6-dev_2.31-0ubuntu9_amd64.deb
    Unpacking libc6-dev:amd64 (2.31-0ubuntu9) over (2.30-0ubuntu2.2) ...
    Selecting previously unselected package libcrypt-dev:amd64.
    Preparing to unpack .../libcrypt-dev_1%3a4.4.10-10ubuntu4) ...
    Unpacking libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
    Setting up locales (2.31-0ubuntu9) ...
    Installing new version of config file /etc/locale.alias ...
    Generating locales (this might take a while)...
    en_AG.UTF-8...done
    en_AU.UTF-8...done
    en_BW.UTF-8...done
    en_CA.UTF-8...done
    en_DK.UTF-8...done
    en_GB.UTF-8...done
    en_HK.UTF-8...done
    en_IE.UTF-8...done
    en_IL.UTF-8...done
    en_IN.UTF-8...done
    en_NG.UTF-8...done
    en_NZ.UTF-8...done
    en_PH.UTF-8...done
    en_SG.UTF-8...done
    en_US.UTF-8...done
    en_ZA.UTF-8...done 
    en_ZM.UTF-8...done
    en_ZW.UTF-8...done
    Generation complete. 
    Setting up libc6-dbg:amd64 (2.31-0ubuntu9) ...
    Setting up libcrypt-dev:amd64 (1:4.4.10-10ubuntu4) ...
    Setting up libc-dev-bin (2.31-0ubuntu9) ...
    Setting up libc6-dev:amd64 (2.31-0ubuntu9) ...
    Processing triggers for man-db (2.8.7-3) ...
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
    update-alternatives:  warning: alternative /usr/local/MATLAB/R2018b/bin/matlab (part of link  group matlab) doesn't exist; removing from list of alternatives
    update-alternatives: warning: /etc/alternatives/matlab is dangling; it will be updated with best choice
    update-alternatives: using /usr/local/MATLAB/R2020a/bin/matlab to provide /usr/bin/matlab (matlab) in auto mode
    update-alternatives:  warning: skip creation of /usr/bin/matlab-mbuild because associated  file /usr/local/MATLAB/R2020a/bin/mbuild (of link group matlab) doesn't  exist
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
    
    And then it is just stuck here. It seems that there's a problem with some Matlab files. I recently installed Matlab R2020a, but maybe didn't remove everything from R2018b. Shall I uninstall Matlab completely? Or does it affect the upgrade when I do something like that simultaneously? If I need to reinstall Matlab after the upgrade, that would be okay, I just want to avoid losing any data unnecessarily.

    Any suggestions are highly appreciated!
    Attached Images Attached Images
    Last edited by tamaragerber; August 3rd, 2020 at 06:18 AM.

  2. #2
    Join Date
    Aug 2020
    Beans
    1

    Re: stuck during upgrade from ubuntu 19.10 to 20.04

    Facing the same issue... did u get any solution to this?

  3. #3
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: stuck during upgrade from ubuntu 19.10 to 20.04

    @rhythm82, the OP hasn't been back since the day they posted. If you need help please start your own thread.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  4. #4
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,824
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: stuck during upgrade from ubuntu 19.10 to 20.04

    Seeing that nobody suggested a fix for the original problem or even a way to investigate, that 19.10 reached end of life over a month ago and that release upgrades gone wrong are notoriously hard to fix, it seems simplest to me to do a fresh install.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •