LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2020, 01:02 AM   #1
8alym
LQ Newbie
 
Registered: May 2019
Posts: 15

Rep: Reputation: Disabled
Getting stuck at package preconfiguration during upgrade from Ubuntu 19.10 to Ubuntu 20.04


Hi there,

I'm trying to upgrade from my Ubuntu 19.10 to Ubuntu 20.04 through the GUI. It is now stuck at the 'Installing upgrades' for several hours. I know that it can sometimes take a long time but I tink there might be something wrong. I am afraid to shut down the computer or do anything else which might lead to data loss.

Here's 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 just stays like this and nothing happens. 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 Thumbnails
Click image for larger version

Name:	Screenshot from 2020-08-03 06-59-17.png
Views:	18
Size:	111.9 KB
ID:	33788  
 
Old 08-03-2020, 04:10 PM   #2
Ratamahatta
Member
 
Registered: Feb 2012
Location: Germany
Distribution: siduction
Posts: 134

Rep: Reputation: 17
See this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Getting stuck at package preconfiguration during upgrade to Ubuntu 20.04 8alym Ubuntu 8 10-05-2023 05:16 AM
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Drive stuck, how to I un-stuck it. MikeyCarter Linux - Software 3 08-05-2009 11:57 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
I'm Stuck, so Stuck. basttrax Linux - General 3 11-14-2003 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration