I'm getting the following error when trying to run sudo apt dist-upgrade -y
and upgrade from 22.04 to 23.04
Calculating upgrade... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgweather-4-0 : Breaks: gnome-calendar (< 43~) but 41.2-3 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
What should I do to fix the break?
apt dist-upgrade
does not change you from one release to the next, the most if can do is go from 22.04.1 to 22.04.2 (ie. you'll remain a 22.04 system, just with upgraded packages) so your situation is confusing. You've also tagged your question to be about a 20.04 release? so please clarify what OS/release you're asking about. – guiverc Jun 02 '23 at 01:15gnome-calendar | 41.2-3 | jammy | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
which isn't a 20.04 package you tagged, and doesn't relate to lunar or 23.04 so please clarify (23.04 will use44.1-0ubuntu1
) – guiverc Jun 02 '23 at 01:18sudo apt update
andsudo apt upgrade
. Tag me in a comment @nmath once you've finished adding this information – Nmath Jun 02 '23 at 02:18dist-upgrade
to jump from 22.04 to 23.04 is not tested nor supported, so be prepared for more problems that you must solve yourself. – user535733 Jun 02 '23 at 09:43