can't update ubuntu version. Help me please

Bug #2009270 reported by Stefaniia Shumkova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hello, I want to update my ubuntu version, but I get an error. How can I fix and upgrade?

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.40
ProcVersionSignature: Ubuntu 5.15.0-67.74~20.04.1-generic 5.15.85
Uname: Linux 5.15.0-67-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Sat Mar 4 18:33:44 2023
InstallationDate: Installed on 2022-07-29 (218 days ago)
InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220723)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2023-03-04 (0 days ago)
VarLogDistupgradeTermlog:

Revision history for this message
Stefaniia Shumkova (missstefa) wrote :
Revision history for this message
Dominik Viererbe (dviererbe) wrote (last edit ):

Hello Stefaniia, thanks for taking the time to report your problem to help improve Ubuntu.

You have added multiple custom PPAs (Personal Packet Archives) to your apt configuration files (/etc/apt/sources.list.d).
This is a common cause of errors when upgrading packages because the custom PPAs can contain newer versions of packages than the official ubuntu archive, making it impossible to resolve dependencies.

You should remove/disable the custom PPAs and uninstall the custom packages before you retry the upgrade.
It is not sufficient to just disable the custom PPAs as you will still have package versions from custom PPAs, which may provide package versions greater than the release to which you are upgrading.

You can use the ppa-purge tool to remove packages from custom PPAs.

After a successful upgrade, you can re-enable/install the PPAs and packages.

Here is a Guide for removing/disabling PPAs as well as adding/re-enable PPAs: https://help.ubuntu.com/community/Repositories/Ubuntu

Other Bug reports that are similar to yours:
- https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1875141
- https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1970109
- https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1987221
- https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1970018
- https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1992989

[READ ME!] Please respond if the advice was helpful and if your problem persists.

P.S.: There is a syntax error in your etc/apt/sources.list.d/openvpn-aptrepo.list configuration file.

It contains the line:
deb http://build.openvpn.net/debian/openvpn/<stable> <focal> main

Which should be (notice the missing '<', '>'):
deb http://build.openvpn.net/debian/openvpn/stable focal main

This should not be the cause of your problem because apt update will ignore the line.

Revision history for this message
Dominik Viererbe (dviererbe) wrote :

Until you reply I will set this bug to Invalid. If my advice was not helpful and the problem persists, just respond to my comment to open the bug again.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Invalid
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Reviewing the files from your upgrade attempt, you have installed pipewire packages from the pipewire-debian/pipewire-upstream PPA. Some of the packages installed are newer than those in the official archive, which is keeping some pipewire-related packages installed which then prevents the upgrade from being calculated. Please try using the ppa-purge tool to remove packages installed from ppa:pipewire-debian/pipewire-upstream by running ppa-purge -s ppa.launchpad.net -o pipewire-debian -p pipewire-upstream. After that you can try upgrading again and if it still fails open a new bug report. Thanks and good luck!

tags: added: pipewire-debian
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.