Hi
I have finally decided to upgrade my 22.04 desktop to 24.04.
Unfortunately the "Upgrade..." button on the "Software Updater" window doesn't do anything.
In the "Software & Updates" Ubuntu Software window I am downloading from the main server and have tried other servers without any success.
I tried sudo apt update and sudo apt upgrade and even sudo apt update && sudo apt upgrade but no success.
Any suggestions about how to fix the problem or where to start looking would be appreciated.
The Ubuntu-MATE release notes cover the actual Ubuntu MATE release, but only superficially cover the Ubuntu 24.04 base system, which is why the Ubuntu 24.04 LTS Release Notes also need to be read.
Finally, as the Ubuntu Release Upgrader tools are not unique to Ubuntu MATE, the upgrade instructions for the release you're going to should also be read.
You may want to check your sources; reading apt update maybe sufficient, to ensure you warnings/errors are preventing updated packages from being detected & installed; but if you're not familiar with scanning that output its easy to miss any missing lines that aren't there; so an actual scan of your sources can sometimes be required.
You should ensure all current updates have been applied; depending on what sources you've added to your system, this may require a sudo apt full-upgrade; the apt upgrade you do mention can skip some packages in some circumstances; refer man apt if you want to read the differences, ie. you'll read
full-upgrade performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole.
Further you may ensure you've put no holds on packages (eg. apt-mark showhold etc)
Not sure is this could be a cause of your problems but ppa's should be removed to when upgrading.
Why Should You Care About Removing PPAs?
Errors during release upgrades: Ubuntu changes rapidly. PPAs that arenāt actively maintained often break on newer versions. I once had to clean reinstall after a bad upgrade due to outdated video driver PPAs!
Proactively removing obsolete, abandoned, or unnecessary PPAs keeps your system running smoothly. Based on my experience helping over 5,000 Ask Ubuntu users troubleshoot upgrade issues, keeping your PPAs trimmed is a top priority.
I found it easiest to buy a new SSD and install new OS on new drive while still having the other drive to retrieve data that you forgot to move. I sometimes even go back to run applications (Brasero works in 18.04, but not 20.04 for me).
Thanks for the replies.
I have worked through the links provided by guiverc, the only difference I could achieve was that I foung rsync had a hold and after correcting-removing that, the upgrade process starts and then crashes part way through.
I had a look at the PPA list. There are items listed that I recognise like zotero(1), virtualbox(1), mozillateam(4), mozilla-security(4), kicad(8) and brave(1) but then there are things like ājammy-security/multiverse i386 Packagesā that are in the list but donāt state they are ppaās. At this point I am a bit cautions-unsure about changing anythin in the list, is it normal for mozilla etc th have multiple ppsās ?
Finally, I tried running āsudo do-release-upgradeā which also started the upgrade process and then crashed. This time I got some feedback with the first item being:
āerror: cannot list local snaps! cannot find publisher details: snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not foundā
Any thoughts, would this snap error be my problem?
Regarding the following (last) part of this last post of yours:
A web search for 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk reveals that string is the snap-id of "firefox" (regarding the "snap" of the well-known "Mozilla Firefox" web browser). And, indeed, if I run the snap info firefox command in my laptop computer running Ubuntu MATE 22.04.5 LTS ("Jammy Jellyfish") I then get the confirmation that string is the snap-id of firefox (note the snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk line below).
$ snap info firefox
name: firefox
summary: Mozilla Firefox web browser
publisher: Mozillaā
store-url: https://snapcraft.io/firefox
contact: https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla
license: unset
description: |
Firefox is a powerful, extensible web browser with support for modern web application
technologies.
commands:
- firefox
- firefox.geckodriver
snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk
tracking: latest/stable/ubuntu-22.04
refresh-date: 23 days ago, at 20:01 WET
channels:
latest/stable: 133.0.3-1 2024-12-10 (5437) 286MB -
latest/candidate: 133.0.3-1 2024-12-10 (5437) 286MB -
latest/beta: 134.0b10-1 2024-12-13 (5460) 287MB -
latest/edge: 135.0a1 2025-01-04 (5546) 296MB -
esr/stable: 128.5.2esr-1 2024-12-12 (5452) 283MB -
esr/candidate: 128.6.0esr-1 2024-12-19 (5480) 283MB -
esr/beta: ā
esr/edge: ā
installed: 133.0.3-1 (5437) 286MB -
Could you please tell what outputs do the following commands return in your case?
name: firefox
summary: Mozilla Firefox web browser
publisher: Mozillaā
store-url: https://snapcraft.io/firefox
contact: https://support.mozilla.org/kb/file-bug-report-or-feature-request-mozilla
license: MPL-2.0
description: |
Firefox is a powerful, extensible web browser with support for modern web application
technologies.
snap-id: 3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk
channels:
latest/stable: 133.0.3-1 2024-12-10 (5437) 286MB -
latest/candidate: 134.0-1 2025-01-07 (5561) 288MB -
latest/beta: 134.0b10-1 2025-01-06 (5559) 287MB -
latest/edge: 135.0a1 2025-01-06 (5553) 296MB -
esr/stable: 128.5.2esr-1 2024-12-12 (5452) 283MB -
esr/candidate: 128.6.0esr-1 2024-12-19 (5480) 283MB -
esr/beta: ā
esr/edge: ā
systemctl is-enabled snapd.service
enabled
systemctl is-enabled snapd.socket
enabled
systemctl -l --no-pager status snapd.service
ā snapd.service - Snap Daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2024-12-30 11:54:10 CET; 1 week 0 days ago
TriggeredBy: ā snapd.socket
Main PID: 1699 (snapd)
Tasks: 23 (limit: 38215)
Memory: 32.3M
CPU: 24.264s
CGroup: /system.slice/snapd.service
āā1699 /usr/lib/snapd/snapd
Jan 05 14:19:28 rosie snapd[1699]: autorefresh.go:628: Cannot prepare auto-refresh change: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Jan 05 14:19:28 rosie snapd[1699]: stateengine.go:161: state ensure error: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Jan 06 08:40:09 rosie snapd[1699]: autorefresh.go:628: Cannot prepare auto-refresh change: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Jan 06 08:40:09 rosie snapd[1699]: stateengine.go:161: state ensure error: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Jan 06 14:40:09 rosie snapd[1699]: autorefresh.go:628: Cannot prepare auto-refresh change: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Jan 06 14:40:09 rosie snapd[1699]: stateengine.go:161: state ensure error: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Jan 07 05:12:21 rosie snapd[1699]: autorefresh.go:628: Cannot prepare auto-refresh change: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Jan 07 05:12:21 rosie snapd[1699]: stateengine.go:161: state ensure error: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Jan 07 06:37:21 rosie snapd[1699]: autorefresh.go:628: Cannot prepare auto-refresh change: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Jan 07 06:37:21 rosie snapd[1699]: stateengine.go:161: state ensure error: cannot prepare snap-declaration refresh for snap "firefox": snap-declaration (3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
Also,
Not sure if this is relevant but I have noticed the "Brisk Menu>Internet" has multiples of the same app listed, 2 firefox, 2 Brave and 2 Syncthing
Thanks for the output. That is a weird scenario, for sure
I see, from the systemctl -l --no-pager status snapd.service output that you've included, that your snapd.service has been up for 1 week ("Active: active (running) since Mon 2024-12-30 11:54:10 CET; 1 week 0 days ago"). I assume that means you haven't rebooted your computer since 30th December 2024 (since today is 7th January 2025, that is a week ago). Is that correct? In that case, if I were you, I might start by rebooting your computer and, after the reboot, try to run againsnap list and see if the output is then normal.
After restarting and rerunning "snap list" I got the same output:
error: cannot list local snaps! cannot find publisher details: snap-declaration
(3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found
I am curious about the 2 Firefox entries in Brisk Menu>Internet, one starts firefox 128.6.0esr and the other doesn't do anything.
We have 2 Mate desktops each with two users and were (at the time) identical installs with this one being a daily driver and the other is more mission critical. I managed to get some time with the other computer, it also has 2 versions of ffox listed with both working-launching a ffox window but with different versions 133.0.3 and 128.6.0esr.
I tested the upgrade function on the other computer and it started as expected, I then cancelled the process because at the moment we don't want to risk a mess on that pc.
Not sure what I have done to achieve this, how could I have installed the same browser twice?
What's the output of snap version?
Also, can you try sudo apt update followed by sudo apt install ubuntu-mate-desktop^?
Does it install any additional (missing) packages?
Most likely, you have a .deb version installed from a PPA plus a snap version. Canonical has a proxy .deb package for Firefox in repositories, but one can overwrite it from the PPA.
ls snap just shows the contents of your snap directory. This may be related to the currently installed snaps, or some remnants from previous installations, or something else.
The output of *snap version*
snap 2.66.1+22.04
snapd 2.66.1+22.04
series 16
ubuntu 22.04
kernel 6.8.0-51-generic
And for *sudo apt install ubuntu-mate-desktop^*
The following packages will be REMOVED:
libjack0
The following NEW packages will be installed:
aspell-en gir1.2-gdesktopenums-3.0 gir1.2-gnomedesktop-3.0 gnome-weather libc-devtools libflashrom1
libftdi1-2 libjack-jackd2-0 libjxr-tools libjxr0 libllvm13 libmagickcore-6.q16-6-extra
libminiupnpc17 libnatpmp1 libnetpbm10 liborcus-0.17-0 liborcus-parser-0.17-0 libreoffice-ogltrans
libxmlsec1 libxmlsec1-nss netpbm transmission-common transmission-gtk
0 upgraded, 23 newly installed, 1 to remove and 0 not upgraded.
snap list --all
error: cannot list local snaps! cannot find publisher details: snap-declaration
(3wdHCAVyZEmYsCMFDE9qt92UV8rC8Wdk; series:16) not found```
snap info --all firefox
error: unknown flag `all'