can't upgrade from 18.4 to 20.4

Asked by JEFF MANN

I ran upgrader and get "could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade."
package is ubuntu release upgrader.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output that you receive for the commands

uname -a
lsb_release -crid
tail /var/log/dist-upgrade/apt.log
tail /var/log/dist-upgrade/main.log
tail /var/log/dist-upgrade/term.log

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

Thanks

Revision history for this message
JEFF MANN (jeffautomann) said :
#3

Here's screenshot of result of those commands
Thanks
I'm very new to ubuntu details and using terminal.

--
  JEFF MANN
  <email address hidden>

On Fri, Nov 6, 2020, at 9:50 AM, actionparsnip wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> actionparsnip requested more information:
> What is the output of:
>
> sudo apt update
> sudo apt upgrade
> sudo apt dist-upgrade
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
JEFF MANN (jeffautomann) said :
#4

Last command didn't seem to do anyhing. Here's a screenshot I'm new to this and using terminal so please bear with me. Thanks

--
  JEFF MANN
  <email address hidden>

On Fri, Nov 6, 2020, at 9:50 AM, Manfred Hampl wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes please provide the output that you receive for
> the commands
>
> uname -a
> lsb_release -crid
> tail /var/log/dist-upgrade/apt.log
> tail /var/log/dist-upgrade/main.log
> tail /var/log/dist-upgrade/term.log
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Replying to the automated email and attaching a file doesn't work. The output is also text so why an image? Just copy the text and paste it as an update...

Forums are text based and the terminal is text based. Why use an image?

Revision history for this message
JEFF MANN (jeffautomann) said :
#6

OK here's cut and paste. Why image, first, I'm an artist that's what I work with 2) I didn't know you could cut and paste in Terminal. Thanks,
buntu@ubuntu:~$ sudo apt update
[sudo] password for ubuntu:
Hit:1 http://ca.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [49.0 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Fetched 601 kB in 3s (217 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
ubuntu@ubuntu:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libllvm9 libllvm9:i386 python-notify
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ubuntu:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libllvm9 libllvm9:i386 python-notify
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ubuntu:~$

--
  JEFF MANN
  <email address hidden>

On Fri, Nov 6, 2020, at 9:50 AM, actionparsnip wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> actionparsnip requested more information:
> What is the output of:
>
> sudo apt update
> sudo apt upgrade
> sudo apt dist-upgrade
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

For diagnostic purposes please provide the output that you receive for the commands

uname -a
lsb_release -crid
tail /var/log/dist-upgrade/apt.log
tail /var/log/dist-upgrade/main.log
tail /var/log/dist-upgrade/term.log

Revision history for this message
JEFF MANN (jeffautomann) said :
#8

Thanks

ubuntu@ubuntu:~$ uname -a
Linux ubuntu 4.15.0-122-generic #124-Ubuntu SMP Thu Oct 15 13:03:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:~$ lsb-release -crid

Command 'lsb-release' not found, did you mean:

  command 'lsb_release' from deb lsb-release (11.1.0ubuntu2)

Try: sudo apt install <deb name>

ubuntu@ubuntu:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
ubuntu@ubuntu:~$ tail /var/log/dist-upgrade/apt.log
Broken libreoffice-common:amd64 Breaks on libreoffice-core:amd64 < 1:6.0.7-0ubuntu0.18.04.10 | 1:6.4.6-0ubuntu0.20.04.1 @ii umH > (< 1:6.4.2~rc1)
  Considering libreoffice-core:amd64 16 as a solution to libreoffice-common:amd64 18
  Upgrading libreoffice-core:amd64 due to Breaks field in libreoffice-common:amd64
Investigating (9) libreoffice-core:amd64 < 1:6.0.7-0ubuntu0.18.04.10 -> 1:6.4.6-0ubuntu0.20.04.1 @ii umU Ib >
Broken libreoffice-core:amd64 Depends on ure:amd64 < 6.0.7-0ubuntu0.18.04.10 | 1:6.4.6-0ubuntu0.20.04.1 @ii umH > (>= 6.1.1~)
  Considering ure:amd64 34 as a solution to libreoffice-core:amd64 16
  MarkKeep libreoffice-core:amd64 < 1:6.0.7-0ubuntu0.18.04.10 -> 1:6.4.6-0ubuntu0.20.04.1 @ii umU Ib > FU=0
  Holding Back libreoffice-core:amd64 rather than change ure:amd64
Done
Log time: 2020-11-06 08:50:34.239990
ubuntu@ubuntu:~$ tail var/log/dist-upgrade/main.log
tail: cannot open 'var/log/dist-upgrade/main.log' for reading: No such file or directory

On Sun, Nov 8, 2020, at 5:05 AM, Manfred Hampl wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> For diagnostic purposes please provide the output that you receive for
> the commands
>
> uname -a
> lsb_release -crid
> tail /var/log/dist-upgrade/apt.log
> tail /var/log/dist-upgrade/main.log
> tail /var/log/dist-upgrade/term.log
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

What is the output of:

apt-cache policy libreoffice-core:amd64

Thanks

Revision history for this message
JEFF MANN (jeffautomann) said :
#10

ubuntu@ubuntu:~$ apt-cache policy libreoffice-core.amd64
N: Unable to locate package libreoffice-core.amd64
N: Couldn't find any package by glob 'libreoffice-core.amd64'
N: Couldn't find any package by regex 'libreoffice-core.amd64'

Thnaks

--
  JEFF MANN
  <email address hidden>

On Sun, Nov 8, 2020, at 11:55 AM, actionparsnip wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What is the output of:
>
> apt-cache policy libreoffice-core:amd64
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

Why don't you use copy and paste?
You again mistyped the command (there's a colon, not a dot).

It seems that libreoffice blocks the upgrade for whatever reason.
I suggest that you uninstall libreoffice, do the release-upgrade and install libreoffice again.

Revision history for this message
JEFF MANN (jeffautomann) said :
#12

Thanks Manfred,
I am trying as you suggested. I appreciate the help.
Didn't appreciate the comments. This computer balks at odd moments. I tried cutting and pasting commands using keyboard shortcuts and it didn't work. I figured maybe that meant I can cut and paste from Terminal, but not to it. So I went back to manual. It's a learning curve.
Anyway, I removed all Libre Office and tried upgrade failed again. I'll try once more after restarting the computer and let you know.
Cheers, Jeff

--
  JEFF MANN
  <email address hidden>

On Sun, Nov 8, 2020, at 1:01 PM, Manfred Hampl wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Why don't you use copy and paste?
> You again mistyped the command (there's a colon, not a dot).
>
> It seems that libreoffice blocks the upgrade for whatever reason.
> I suggest that you uninstall libreoffice, do the release-upgrade and
> install libreoffice again.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/693860/+confirm?answer_id=10
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

OK now libreoffice is removed, what is the output of:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

Thanks

Revision history for this message
JEFF MANN (jeffautomann) said :
#14

Didn't work.
Here's the command output as requested. Thanks
ubuntu@ubuntu:~$ apt-cache policy libreoffice-core:amd64
libreoffice-core:
  Installed: (none)
  Candidate: 1:6.0.7-0ubuntu0.18.04.10
  Version table:
     1:6.0.7-0ubuntu0.18.04.10 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1:6.0.3-0ubuntu1 500
        500 http://ca.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
ubuntu@ubuntu:~$

--
  JEFF MANN
  <email address hidden>

On Sun, Nov 8, 2020, at 11:55 AM, actionparsnip wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What is the output of:
>
> apt-cache policy libreoffice-core:amd64
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

OK now libreoffice is removed, what is the output of:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

Thanks

Revision history for this message
JEFF MANN (jeffautomann) said :
#16

[sudo] password for ubuntu:
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 http://ca.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 2s (126 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
ubuntu@ubuntu:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libllvm9 libllvm9:i386 python-notify
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ubuntu:~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libllvm9 libllvm9:i386 python-notify
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ubuntu:~$

--
  JEFF MANN
  <email address hidden>

On Sun, Nov 8, 2020, at 2:05 PM, actionparsnip wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> OK now libreoffice is removed, what is the output of:
>
> sudo apt update
> sudo apt upgrade
> sudo apt dist-upgrade
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

If you want to copy or paste from the terminal window, you can either do a right mouse click and then select copy or paste from the pop-up window, or you can use the keyboard shortcuts ctrl-shift-c for copy, ctrl-shift-x for cut and ctrl-shift-v for paste (note that you also have to press the shift key).

What is now the output of
tail /var/log/dist-upgrade/term.log
tail /var/log/dist-upgrade/apt.log

Revision history for this message
JEFF MANN (jeffautomann) said :
#18

Didn't I send you this already?
Thanks

--
  JEFF MANN
  <email address hidden>

On Sun, Nov 8, 2020, at 2:20 PM, JEFF MANN wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Status: Needs information => Open
>
> You gave more information on the question:
> [sudo] password for ubuntu:
> Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
> Hit:2 http://ca.archive.ubuntu.com/ubuntu bionic InRelease
> Get:3 http://ca.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
> Get:4 http://ca.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
> Fetched 252 kB in 2s (126 kB/s)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> All packages are up to date.
> ubuntu@ubuntu:~$ sudo apt upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages were automatically installed and are no longer required:
> libllvm9 libllvm9:i386 python-notify
> Use 'sudo apt autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> ubuntu@ubuntu:~$ sudo apt dist-upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages were automatically installed and are no longer required:
> libllvm9 libllvm9:i386 python-notify
> Use 'sudo apt autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> ubuntu@ubuntu:~$
>
>
> --
> JEFF MANN
> <email address hidden>
>
> On Sun, Nov 8, 2020, at 2:05 PM, actionparsnip wrote:
> > Your question #693860 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/693860
> >
> > Status: Open => Needs information
> >
> > actionparsnip requested more information:
> > OK now libreoffice is removed, what is the output of:
> >
> > sudo apt update
> > sudo apt upgrade
> > sudo apt dist-upgrade
> >
> > Thanks
> >
> > --
> > To answer this request for more information, you can either reply to
> > this email or enter your reply at the following page:
> > https://answers.launchpad.net/ubuntu/+question/693860
> >
> > You received this question notification because you asked the question.
> >
>
> You received this question notification because you asked the question.
>

Revision history for this message
JEFF MANN (jeffautomann) said :
#19

FYI- I normally use control c to copy and control v to paste. I use fastmail. When I control shift c it opens up some weird windows in fastmail. So just using r click and menu.
First command didn't appear to do anything.
Cheers

ubuntu@ubuntu:~$ tail /var/log/dist-upgrade/term.log
ubuntu@ubuntu:~$ tail /var/log/dist-upgrade/apt.log
  Considering mono-4.0-gac:amd64 5104 as a solution to mono-gac:amd64 139
  Removing mono-gac:amd64 rather than change mono-4.0-gac:amd64
  MarkDelete mono-gac:amd64 < 4.6.2.7+dfsg-1ubuntu1 @ii mK Ib > FU=0
Investigating (9) mono-runtime-common:amd64 < 4.6.2.7+dfsg-1ubuntu1 @ii mK Ib >
Broken mono-runtime-common:amd64 Depends on mono-gac:amd64 < 4.6.2.7+dfsg-1ubuntu1 @ii mR > (= 4.6.2.7+dfsg-1ubuntu1)
  Considering mono-gac:amd64 5104 as a solution to mono-runtime-common:amd64 139
  Removing mono-runtime-common:amd64 rather than change mono-gac:amd64
  MarkDelete mono-runtime-common:amd64 < 4.6.2.7+dfsg-1ubuntu1 @ii mK Ib > FU=0
Done
Log time: 2020-11-08 13:57:58.666611
ubuntu@ubuntu:~$

--
  JEFF MANN
  <email address hidden>

On Sun, Nov 8, 2020, at 2:30 PM, Manfred Hampl wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> If you want to copy or paste from the terminal window, you can either do
> a right mouse click and then select copy or paste from the pop-up
> window, or you can use the keyboard shortcuts ctrl-shift-c for copy,
> ctrl-shift-x for cut and ctrl-shift-v for paste (note that you also have
> to press the shift key).
>
> What is now the output of
> tail /var/log/dist-upgrade/term.log
> tail /var/log/dist-upgrade/apt.log
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#20

OK, run:

sudo apt-get --purge autoremove
sudo apt-get clean

Then try the upgrade

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

Your last output shows that the release upgrader also has problems in upgrading mono packages.

I suggest that you also uninstall mono-runtime-common, mono-gac and mono-4.0-gac (and any packages dependent on these) and try again.

Revision history for this message
JEFF MANN (jeffautomann) said :
#22

OK, As I said before, I'm not very versed in all the details of using Terminal. Can you explain how to do that or send the commands I'll need? Thanks

--
  JEFF MANN
  <email address hidden>

On Sun, Nov 8, 2020, at 2:50 PM, Manfred Hampl wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Manfred Hampl proposed the following answer:
> Your last output shows that the release upgrader also has problems in
> upgrading mono packages.
>
> I suggest that you also uninstall mono-runtime-common, mono-gac and
> mono-4.0-gac (and any packages dependent on these) and try again.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/693860/+confirm?answer_id=20
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

to uninstall the packages use the commands

sudo apt purge mono-runtime-common mono-gac mono-4.0-gac
sudo apt --purge autoremove

Revision history for this message
JEFF MANN (jeffautomann) said :
#24

That worked perfectly. Hope you survived.
Cheers, Jeff

--
  JEFF MANN
  <email address hidden>

On Sun, Nov 8, 2020, at 3:11 PM, Manfred Hampl wrote:
> Your question #693860 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> to uninstall the packages use the commands
>
> sudo apt purge mono-runtime-common mono-gac mono-4.0-gac
> sudo apt --purge autoremove
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/693860/+confirm?answer_id=22
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/693860
>
> You received this question notification because you asked the question.
>

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#25

Is the upgrade possible? If so, please mark as solved

Revision history for this message
JEFF MANN (jeffautomann) said :
#26

Thanks actionparsnip, that solved my question.