3

I'm trying to upgrade to Ubuntu 20.04 from Ubuntu 18.04.5. After apt update & apt upgrade, I'm trying to

do-release-upgrade

I get the following error:

    An unresolvable problem occurred while calculating the upgrade. 
    This was likely caused by: 
    Unofficial software packages not provided by Ubuntu 
    Please use the tool 'ppa-purge' from the ppa-purge 
    package to remove software from a Launchpad PPA and 
    try the upgrade again.

I see that I've previously installed ppa:ubuntu-toolchain-r/test and ppa:hanipouspilot/rtlwifi that cause the issue.

So I try to purge them, but get the following error:

root@ubuntu:~# ppa-purge ppa:ubuntu-toolchain-r/test
Updating packages lists
E: Failed to fetch http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu/dists/bionic/InRelease  403  Forbidden [IP: 91.189.95.83 80]
E: The repository 'http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu bionic InRelease' is not signed.
Warning:  apt-get update failed for some reason
root@ubuntu:~# ppa-purge ppa:hanipouspilot/rtlwifi
Updating packages lists
E: Failed to fetch http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu/dists/bionic/InRelease  403  Forbidden [IP: 91.189.95.83 80]
E: The repository 'http://ppa.launchpad.net/hanipouspilot/rtlwifi/ubuntu bionic InRelease' is not signed.
Warning:  apt-get update failed for some reason

Looks like the purge is failing as the server is no longer available?

How can I remove the packages manually?

----Edit----- /var/log/dist-upgrade/[CURRENT_DATE]/main.log contains the following errors:

ERROR Dist-upgrade failed: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'
 DEBUG abort called

/var/log/dist-upgrade/[CURRENT_DATE]/apt.log contains towards the end

Investigating (5) gsettings-desktop-schemas:amd64 < 3.28.0-1ubuntu1 -> 3.36.0-1ubuntu1 @ii umU Ib >
Broken gsettings-desktop-schemas:amd64 Breaks on mutter:amd64 < 3.28.4-0ubuntu18.04.2 | 3.36.4-0ubuntu0.20.04.2 @ii umH > (< 3.31.4)
  Considering mutter:amd64 2 as a solution to gsettings-desktop-schemas:amd64 79
  Upgrading mutter:amd64 due to Breaks field in gsettings-desktop-schemas:amd64
Investigating (5) mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib >
Broken mutter:amd64 Depends on gnome-settings-daemon-common:amd64 < none | 3.36.1-0ubuntu1 @un uH >
  Considering gnome-settings-daemon-common:amd64 0 as a solution to mutter:amd64 2
  MarkKeep mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib > FU=0
  Holding Back mutter:amd64 rather than change gnome-settings-daemon-common:amd64
Investigating (5) gir1.2-mutter-6:amd64 < none -> 3.36.4-0ubuntu0.20.04.2 @un uN Ib >
Broken gir1.2-mutter-6:amd64 Depends on libmutter-6-0:amd64 < none | 3.36.4-0ubuntu0.20.04.2 @un uH > (= 3.36.4-0ubuntu0.20.04.2)
  Considering libmutter-6-0:amd64 0 as a solution to gir1.2-mutter-6:amd64 0
  MarkKeep gir1.2-mutter-6:amd64 < none -> 3.36.4-0ubuntu0.20.04.2 @un uN Ib > FU=0
  Holding Back gir1.2-mutter-6:amd64 rather than change libmutter-6-0:amd64
Investigating (6) gsettings-desktop-schemas:amd64 < 3.28.0-1ubuntu1 -> 3.36.0-1ubuntu1 @ii umU Ib >
Broken gsettings-desktop-schemas:amd64 Breaks on mutter:amd64 < 3.28.4-0ubuntu18.04.2 | 3.36.4-0ubuntu0.20.04.2 @ii umH > (< 3.31.4)
  Considering mutter:amd64 2 as a solution to gsettings-desktop-schemas:amd64 79
  Upgrading mutter:amd64 due to Breaks field in gsettings-desktop-schemas:amd64
Investigating (6) mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib >
Broken mutter:amd64 Depends on gnome-settings-daemon-common:amd64 < none | 3.36.1-0ubuntu1 @un uH >
  Considering gnome-settings-daemon-common:amd64 0 as a solution to mutter:amd64 2
  MarkKeep mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib > FU=0
  Holding Back mutter:amd64 rather than change gnome-settings-daemon-common:amd64
Investigating (7) gsettings-desktop-schemas:amd64 < 3.28.0-1ubuntu1 -> 3.36.0-1ubuntu1 @ii umU Ib >
Broken gsettings-desktop-schemas:amd64 Breaks on mutter:amd64 < 3.28.4-0ubuntu18.04.2 | 3.36.4-0ubuntu0.20.04.2 @ii umH > (< 3.31.4)
  Considering mutter:amd64 2 as a solution to gsettings-desktop-schemas:amd64 79
  Upgrading mutter:amd64 due to Breaks field in gsettings-desktop-schemas:amd64
Investigating (7) mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib >
Broken mutter:amd64 Depends on gnome-settings-daemon-common:amd64 < none | 3.36.1-0ubuntu1 @un uH >
  Considering gnome-settings-daemon-common:amd64 0 as a solution to mutter:amd64 2
  MarkKeep mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib > FU=0
  Holding Back mutter:amd64 rather than change gnome-settings-daemon-common:amd64
Investigating (8) gsettings-desktop-schemas:amd64 < 3.28.0-1ubuntu1 -> 3.36.0-1ubuntu1 @ii umU Ib >
Broken gsettings-desktop-schemas:amd64 Breaks on mutter:amd64 < 3.28.4-0ubuntu18.04.2 | 3.36.4-0ubuntu0.20.04.2 @ii umH > (< 3.31.4)
  Considering mutter:amd64 2 as a solution to gsettings-desktop-schemas:amd64 79
  Upgrading mutter:amd64 due to Breaks field in gsettings-desktop-schemas:amd64
Investigating (8) mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib >
Broken mutter:amd64 Depends on gnome-settings-daemon-common:amd64 < none | 3.36.1-0ubuntu1 @un uH >
  Considering gnome-settings-daemon-common:amd64 0 as a solution to mutter:amd64 2
  MarkKeep mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib > FU=0
  Holding Back mutter:amd64 rather than change gnome-settings-daemon-common:amd64
Investigating (9) gsettings-desktop-schemas:amd64 < 3.28.0-1ubuntu1 -> 3.36.0-1ubuntu1 @ii umU Ib >
Broken gsettings-desktop-schemas:amd64 Breaks on mutter:amd64 < 3.28.4-0ubuntu18.04.2 | 3.36.4-0ubuntu0.20.04.2 @ii umH > (< 3.31.4)
  Considering mutter:amd64 2 as a solution to gsettings-desktop-schemas:amd64 79
  Upgrading mutter:amd64 due to Breaks field in gsettings-desktop-schemas:amd64
Investigating (9) mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib >
Broken mutter:amd64 Depends on gnome-settings-daemon-common:amd64 < none | 3.36.1-0ubuntu1 @un uH >
  Considering gnome-settings-daemon-common:amd64 0 as a solution to mutter:amd64 2
  MarkKeep mutter:amd64 < 3.28.4-0ubuntu18.04.2 -> 3.36.4-0ubuntu0.20.04.2 @ii umU Ib > FU=0
  Holding Back mutter:amd64 rather than change gnome-settings-daemon-common:amd64
Done

Thanks! Vitaliy

Vitaliy
  • 131

2 Answers2

1

I had a similar problem with doing an upgrade from 18.04 LTS to 20.04 LTS.

I had to remove the broken packages listed in /var/log/dist-upgrade/[CURRENT_DATE]/apt.log

list broken packages:

grep Broken /var/log/dist-upgrade/[CURRENT_DATE]/apt.log

Then remove each of those broken packages:

apt remove gsettings-desktop-schemas mutter gir1.2-mutter-6

It might require removing other packages that depend on those.

0

From the answer here: Upgrade from 18.04 to 20.04 prevented by 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'
The problem is not probably related to mutter try
sudo apt remove python2.7-minimal and sudo apt autoremove

This actually solved my problem.

Sahin
  • 250