# Problem upgrading from 22.04 to 24.04

**URL:** <https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344>\
**Category:** Installation\
**Created:** [August 29, 2024, 8:12pm UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344 "2024-08-29T20:12:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjdavis](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jjdavis/32/4849_2.png) [@jjdavis](https://discourse.ubuntubudgie.org/u/jjdavis)\
**Post date:** [August 29, 2024, 8:12pm UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/1 "2024-08-29T20:12:16Z")

</div>

Since 24.04.1 is just out I thought I’d try upgrading my 22.04 installation. Running do-release-upgrade is consistently failing with a

An unresolvable problem occurred while calculating the upgrade.

message, and checking /var/log/dist-upgrade/apt.log, there’s

Broken ubuntu-budgie-desktop-minimal:amd64 Depends on pipewire-alsa:amd64 \< none  
| 1.0.5-1ubuntu1 @un umH \>

with a lot of messages that seem to be some sort of back and forth between pulseaudio and pipewire-alsa.

(This upgrade attempt reminded me about needing to force upgrades with

```auto
apt -o APT::Get::Always-Include-Phased-Updates=true upgrade

```

before do-release-upgrade would do anything.)

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [September 2, 2024, 10:17am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/2 "2024-09-02T10:17:15Z")

</div>

> **[Bug #2078642 “Ubuntu upgrade 22 to 24 failed.” : Bugs :...](https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2078642)**
>
> "ubuntu-bug ubuntu-release-upgrader-core"
> 
> the updater failed to collect system informations 
> 
> 
> I don't know and understand more
> 
> ProblemType: Bug
> DistroRelease: Ubuntu 22.04
> Package: ubuntu-release-upgrader-core 1:22.04.19
> ProcVersionSignature:...

---

<div class="post-metadata">

**Author:** ![JimTR](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jimtr/32/3837_2.png) [@JimTR](https://discourse.ubuntubudgie.org/u/JimTR)\
**Post date:** [September 21, 2024, 8:22am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/3 "2024-09-21T08:22:38Z")

</div>

So I guess this means we are stuck on 22.04 until this gets fixed (maybe never) ? Looks like it’s time to hop to a different distro (that works)

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [September 21, 2024, 10:17am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/4 "2024-09-21T10:17:16Z")

</div>

The issue impacts upgrades. There are no related issues with new installs.

---

<div class="post-metadata">

**Author:** ![JimTR](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jimtr/32/3837_2.png) [@JimTR](https://discourse.ubuntubudgie.org/u/JimTR)\
**Post date:** [September 28, 2024, 9:08am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/5 "2024-09-28T09:08:23Z")

</div>

> [@fossfreedom](#):
>
> The issue impacts upgrades.

Will it ever be fixed ? Or do I have to really start from scratch ?  
if that is the case how can save the services/applications saved, currently the /home folder is on a different physical drive so will be unaffected by this change

---

<div class="post-metadata">

**Author:** ![khalistoo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/khalistoo/32/4884_2.png) [@khalistoo](https://discourse.ubuntubudgie.org/u/khalistoo)\
**Post date:** [October 9, 2024, 3:08pm UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/6 "2024-10-09T15:08:55Z")

</div>

try the following

get into tty using `CTRL + ALT + F3`

login with username and password

Then:

`sudo apt-get update && sudo apt-get dist-upgrade`

That should install missing resources and finish the upgrade

Finally clean up and reboot via:

`sudo apt-get clean && sudo apt-get autoremove && sudo reboot`

---

<div class="post-metadata">

**Author:** ![JimTR](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jimtr/32/3837_2.png) [@JimTR](https://discourse.ubuntubudgie.org/u/JimTR)\
**Post date:** [October 12, 2024, 6:59am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/7 "2024-10-12T06:59:25Z")

</div>

> [@khalistoo](#):
>
> `sudo apt-get update && sudo apt-get dist-upgrade`

I now get this error

```auto
2024-10-12 07:55:53,732 WARNING Can't mark 'ubuntu-budgie-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.)                                                                                                                                                                                  
2024-10-12 07:55:54,008 ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntu-budgie-desktop' 

```

---

<div class="post-metadata">

**Author:** ![jlb](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jlb/32/4919_2.png) [@jlb](https://discourse.ubuntubudgie.org/u/jlb)\
**Post date:** [October 12, 2024, 7:38am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/8 "2024-10-12T07:38:41Z")

</div>

Hi @JimTR!

Have you already tried to do this?

```auto
sudo dpkg --configure -a

```

See this page (among others) for other ways to fix the problem:

> **[How to Fix Broken Packages in Ubuntu {4 Methods}](https://phoenixnap.com/kb/ubuntu-fix-broken-packages)**
>
> Fix broken packages in Ubuntu by following this simple tutorial. The tutorial uses APT and DPKG commands to resolve package related issues.

---

<div class="post-metadata">

**Author:** ![JimTR](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jimtr/32/3837_2.png) [@JimTR](https://discourse.ubuntubudgie.org/u/JimTR)\
**Post date:** [October 12, 2024, 11:04am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/9 "2024-10-12T11:04:31Z")

</div>

> [@jlb](#):
>
> `sudo dpkg --configure -a`

no difference using every method described in the link… looks like I’m stuck with 22.04

---

<div class="post-metadata">

**Author:** ![jlb](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jlb/32/4919_2.png) [@jlb](https://discourse.ubuntubudgie.org/u/jlb)\
**Post date:** [October 12, 2024, 1:00pm UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/10 "2024-10-12T13:00:26Z")

</div>

Too bad. In any case, this is not the best method for upgrading Ubuntu.

Check that ‘update-manager-core’ is installed:

```auto
dpkg -l | grep update-manager-core

```

If not, install it:

```auto
sudo apt update && sudo apt install update-manager-core

```

Then:

```auto
sudo apt upgrade && sudo apt autoremove --purge

```

Finally:

```auto
sudo do-release-upgrade

```

---

<div class="post-metadata">

**Author:** ![JimTR](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jimtr/32/3837_2.png) [@JimTR](https://discourse.ubuntubudgie.org/u/JimTR)\
**Post date:** [October 13, 2024, 5:27am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/11 "2024-10-13T05:27:11Z")

</div>

> [@jlb](#):
>
> Too bad. In any case, this is not the best method for upgrading Ubuntu.

no difference budgie-desktop is still broken on the upgrade

---

<div class="post-metadata">

**Author:** ![jlb](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jlb/32/4919_2.png) [@jlb](https://discourse.ubuntubudgie.org/u/jlb)\
**Post date:** [October 13, 2024, 7:54am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/12 "2024-10-13T07:54:31Z")

</div>

Sorry, @JimTR. 😶

Can you just do a simple :

```auto
sudo apt update && sudo apt upgrade

```

If you can, and if these broken packages don’t prevent your system from working properly, then you can go ahead with UB 22.04 until 2027. You’ll avoid some of the problems associated with UB 24.04.

Otherwise, the only thing I can think of is a fresh install — it’s a good opportunity to do some tidying up or resizing of the partition if it’s a bit cramped.

---

<div class="post-metadata">

**Author:** ![JimTR](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jimtr/32/3837_2.png) [@JimTR](https://discourse.ubuntubudgie.org/u/JimTR)\
**Post date:** [October 13, 2024, 8:08am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/13 "2024-10-13T08:08:32Z")

</div>

> [@jlb](#):
>
> Otherwise, the only thing I can think of is a fresh install — it’s a good opportunity to do some tidying up or resizing of the partition if it’s a bit cramped.

If I follow the route of a fresh install how would I find out what programs I have added over the last 6 years this has been 18.04 → 20.04 → 22.04 upgrades, over the last six years I have got the machine at a sweet spot, but there maybe some system programs I have installed over the years, which do serve a purpose, that I have forgotten about

---

<div class="post-metadata">

**Author:** ![jlb](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jlb/32/4919_2.png) [@jlb](https://discourse.ubuntubudgie.org/u/jlb)\
**Post date:** [October 13, 2024, 8:32am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/14 "2024-10-13T08:32:22Z")

</div>

You are joking, aren’t you ?

Go through the launchers in the main menu and complete this investigation with the list of installed files. This should jog your memory:

```auto
dpkg -l > 22.04-installed-packages.txt && gedit 22.04-installed-packages.txt

```

However, there is another risk: some of these applications may no longer be found in the Ubuntu 24.04 repositories or in the PPAs.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [October 13, 2024, 10:51am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/15 "2024-10-13T10:51:49Z")

</div>

Ok - lets step back slightly.

I’ve just done a jammy fresh install and upgraded to 24.04.1 - no issues here.

So your issue is linked to something you have installed. A fix cannot be prepared until we understand what is causing your issue.

So lets start with getting some more information please.

First get the list of packages you have installed via the command @jlb has requested.

Next lets see what you have installed from

```
cat /etc/apt/sources.list

```

and

```
ls /etc/apt/sources.list.d/*

```

---

<div class="post-metadata">

**Author:** ![JimTR](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jimtr/32/3837_2.png) [@JimTR](https://discourse.ubuntubudgie.org/u/JimTR)\
**Post date:** [October 14, 2024, 6:43am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/16 "2024-10-14T06:43:58Z")

</div>

> [@fossfreedom](#):
>
> `cat /etc/apt/sources.list`

here is sources.list

```auto
# deb cdrom:[Ubuntu-Budgie 22.04 LTS _Jammy Jellyfish_ - Alpha amd64 (20220321)]/ jammy main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://gb.archive.ubuntu.com/ubuntu/ jammy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
# deb-src http://gb.archive.ubuntu.com/ubuntu/ jammy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://gb.archive.ubuntu.com/ubuntu/ jammy universe
deb http://gb.archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://gb.archive.ubuntu.com/ubuntu/ jammy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://gb.archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ jammy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

```

`ls /etc/apt/sources.list.d/*`

```auto
/etc/apt/sources.list.d/archive_uri-https_deb_tableplus_com_debian_22-jammy.list
/etc/apt/sources.list.d/archive_uri-https_deb_tableplus_com_debian_22-jammy.list.distUpgrade
/etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_ubuntu-jammy.list
/etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_ubuntu-jammy.list.distUpgrade
/etc/apt/sources.list.d/fingerprint-ubuntu-fingerprint-gui-jammy.list
/etc/apt/sources.list.d/fingerprint-ubuntu-fingerprint-gui-jammy.list.distUpgrade
/etc/apt/sources.list.d/focal-dell.list
/etc/apt/sources.list.d/focal-dell.list.distUpgrade
/etc/apt/sources.list.d/google-chrome.list
/etc/apt/sources.list.d/google-chrome.list.distUpgrade
/etc/apt/sources.list.d/google-chrome.list.save
/etc/apt/sources.list.d/nodesource.list
/etc/apt/sources.list.d/nodesource.list.distUpgrade
/etc/apt/sources.list.d/oem-somerville-melisa-meta.list
/etc/apt/sources.list.d/oem-somerville-melisa-meta.list.distUpgrade
/etc/apt/sources.list.d/teejee2008-ubuntu-ppa-jammy.list
/etc/apt/sources.list.d/teejee2008-ubuntu-ppa-jammy.list.distUpgrade
/etc/apt/sources.list.d/tomtomtom-ubuntu-woeusb-jammy.list
/etc/apt/sources.list.d/tomtomtom-ubuntu-woeusb-jammy.list.distUpgrade
/etc/apt/sources.list.d/ubuntubudgie-ubuntu-backports-jammy.list
/etc/apt/sources.list.d/ubuntubudgie-ubuntu-backports-jammy.list.distUpgrade
/etc/apt/sources.list.d/ubuntu-esm-apps.list
/etc/apt/sources.list.d/ubuntu-esm-apps.list.distUpgrade
/etc/apt/sources.list.d/ubuntu-esm-infra.list
/etc/apt/sources.list.d/ubuntu-esm-infra.list.distUpgrade
/etc/apt/sources.list.d/ubuntuhandbook1-ubuntu-geany-jammy.list
/etc/apt/sources.list.d/ubuntuhandbook1-ubuntu-geany-jammy.list.distUpgrade
/etc/apt/sources.list.d/virtualmin.list
/etc/apt/sources.list.d/virtualmin.list.distUpgrade
/etc/apt/sources.list.d/webmin.list
/etc/apt/sources.list.d/webmin.list.distUpgrade

```

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [October 14, 2024, 7:37am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/17 "2024-10-14T07:37:56Z")

</div>

> [@jlb](#):
>
> ```auto
> dpkg -l > 22.04-installed-packages.txt && gedit 22.04-installed-packages.txt
> 
> ```
> 
> H

… and the contents of the packages.txt file?

---

<div class="post-metadata">

**Author:** ![JimTR](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jimtr/32/3837_2.png) [@JimTR](https://discourse.ubuntubudgie.org/u/JimTR)\
**Post date:** [October 14, 2024, 7:44am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/18 "2024-10-14T07:44:52Z")

</div>

> [@jlb](#):
>
> `dpkg -l > 22.04-installed-packages.txt && gedit 22.04-installed-packages.txt`

Output is attached  
[22.04-installed-packages.txt](https://discourse.ubuntubudgie.org/uploads/short-url/kL3zc7SBKHv57Stzaic2Xci1Vlg.txt) (522.6 KB)

---

<div class="post-metadata">

**Author:** ![JimTR](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jimtr/32/3837_2.png) [@JimTR](https://discourse.ubuntubudgie.org/u/JimTR)\
**Post date:** [October 14, 2024, 8:54am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/19 "2024-10-14T08:54:27Z")

</div>

> [@jlb](#):
>
> You are joking, aren’t you ?

no I have dementia thanks

---

<div class="post-metadata">

**Author:** ![jlb](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jlb/32/4919_2.png) [@jlb](https://discourse.ubuntubudgie.org/u/jlb)\
**Post date:** [October 14, 2024, 11:44am UTC](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344/20 "2024-10-14T11:44:56Z")

</div>

> [@JimTR](#):
>
> no I have dementia thanks

Sorry, I apologise. It was French humour, bad but not malicious.

Besides, you never know. On the forums, you meet so many people who just want to have ready-made solutions to make their lives easier, without putting in the slightest bit of personal effort these days. 😶

[Next page](https://discourse.ubuntubudgie.org/t/problem-upgrading-from-22-04-to-24-04/7344.md?page=2)
