[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Linux Mint Upgrading
- To: sheflug@xxxxxxxxxxxxxx
- Subject: [Sheflug] Linux Mint Upgrading
- From: John Southern <linuxtarragon@xxxxxxxxx>
- Date: Sat, 7 Feb 2026 23:55:11 +0000
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=a+aef3UvI/zn+9RDNKaaEgb0hb1OBWL4A9pYRcwRoYw=; fh=NKg7OOzU/A8FI3gjzkEs8cPe3ruyTIbvYZKpmut9SNs=; b=EjoRLxSXDkaxuoF1Tjy0i4xH/mxJYmYhv3PKgUMcxsFxYEPcM6CEbWS03cuGlj+Hxu HpDK9XuOygUX3yo+J8WxGt/gQfWDpPSuB1w76ztqdWbVHuXxgdpj3kdRu5ishvrs9IGY D964k080BAvWu5MC7RKnEF2UnwZcIUdTBimF+ANakHcUTIeZ3n0lyagVIVHwGo4FAohD jo/Do9AazLZcP//SwKHleLNjwuGR2b4OGnB3s1hG8oMaLHCap0xkScdZqRheTtvZ5Y+6 RHxmOYN17gF9kuSruvAXWYUM4Zx0bWiqRTsOq38zM3CjxvXBo69bB+qF3iVgfdTWzSoQ +R6A==; darn=sheflug.org.uk
- Arc-seal: i=1; a=rsa-sha256; t=1770508523; cv=none; d=google.com; s=arc-20240605; b=CxgnmOjauraNGIKlU5zMLkHhbyjwYdC2Qf3pZH0x5/aQ0dQoEQKCpQnYC53omD5c2L pk1/F5vsNbNVi7U5LFAyFJs+Uezt/zuBFfaQiu8HfHP0aAJg5sJgzX/1k3hjr/KUW57/ HuLmYI9ym1AI4U7QJaPRLUTnE71DOKQl/r9xyGWBEkguVpvKXH89YZKeiBSySpsVJuJg +5d+7eXR5etda2ieaNoAngMMheOlldCvQe0jRLfMfpPFBVIRgbrTPWXMNUvQHoTnPuEq 6M8iPn3xgXz/tHZO0wdybkB/fLWaQp6cObt37q8XQEFVSi69y7WbELzs7uWpFjYBrc77 +udQ==
- Delivery-date: Sat, 07 Feb 2026 23:57:10 +0000
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sheflug.org.uk; s=default; h=Sender:Content-Transfer-Encoding:Content-Type: Reply-To:List-Post:List-Subscribe:List-Unsubscribe:List-Help:List-Id:Subject: To:Message-ID:Date:From:MIME-Version:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Owner:List-Archive; bh=JIqEzeI7+UEeRJOoKA5ez9exyPRD1/qJxPONiVVmo9o=; b=XzVLyHhyKrKWm/Xw+Dq6Qmmbuj iRGvGCif59buOHL5orZ+e5eFGRe9mNohkpVqZCtAZBHPE5kplehyvIQu0mqWR8zZ7cC2puq9Lhmqv oQQSsuQ3BP2Z0iq9bXDTPYAjwg1BIKsylw1DBRdySWSKI/VIByBOrhpTmQVTk2sVhTBtxku2VLPfV PtFO8lWDleD4F3HewjruoM0kl3NOiRXNTt6ykca4lHPAcK0g9VUwxmxQbzyMWmEvBgGoHI8yfCQUr jgOX8gAsQETcsj3zXGeOxR4qe63Af1S+I8mY6Xp/Hczh7CfO1pp5fDymo9NaGPjTpcSQWvKJFUfDj WUi35u+A==;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770508523; x=1771113323; darn=sheflug.org.uk; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=a+aef3UvI/zn+9RDNKaaEgb0hb1OBWL4A9pYRcwRoYw=; b=TA1NOHCr+VvJ4qEvVQnxfa2JePlZg0RxylUvf81+ez7+xOaSsdWmibnrGI0r1KiOTQ 8VnOvmIOl+ItcsO8wjFEDgcGer3p3b9NtW6RL52FVEukUI/CQm1DGCe8BPCYgmktB1KO qD94mDmSGYl8gmGqmbWgrGOox4+JSv5PbEnSmwZgWP+/dhkvn3iNi3OOJsBE5dIlomZM Vz/vW/r5O6S1gnFNmaSN/0Xlizz98Cm8lAjPBIb5GDMJea5FVNEgiIshO6EkO2pQ6hz2 q/PJINzVNjYLRNm5AKU4DiGm8K0CIWXi8V1YchKTAKeDNxsjo6PMtz3AswP8yWSO9NBX Q2iQ==
- Envelope-to: sheflug@xxxxxxxxxxxxxx
- List-help: <mailto:sheflug-request@sheflug.org.uk?subject=help>
- List-id: <sheflug.sheflug.org.uk>
- List-post: <mailto:sheflug@sheflug.org.uk>
- List-subscribe: <http://sheflug.org.uk/mailman/listinfo/sheflug_sheflug.org.uk>, <mailto:sheflug-request@sheflug.org.uk?subject=subscribe>
- List-unsubscribe: <http://sheflug.org.uk/mailman/options/sheflug_sheflug.org.uk>, <mailto:sheflug-request@sheflug.org.uk?subject=unsubscribe>
- Reply-to: sheflug@xxxxxxxxxxxxxx
- Sender: "Sheflug" <sheflug-bounces@xxxxxxxxxxxxxx>
Hello Peter, All,
We upgraded two laptops at today's meeting and one appeared to work and the
second did not. They were both running Linux Mint 22.2 and the upgrade was
to Linux Mint 22.3
So after a little reading, the instructions (which supposedly came from the
Linux Mint blog, but I cannot find the particular post) were given were
only sort of right.
From memory we edited the list of repositories file
(official-package-repositories.list) with the default installed text editor
nano
*sudo nano /etc/apt/sources.list.d/official-package-repositories.list*
This showed us
deb http://packages.linuxmint.com zara main upstream import backport
#id:linuxmint_main
deb http://archive.ubuntu.com/ubuntu noble main restricted universe
multiverse
deb http://archive.ubuntu.com/ubuntu noble-updates main restricted universe
multiverse
deb http://archive.ubuntu.com/ubuntu noble-backports main restricted
universe multiverse
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted
universe multiverse
Into this file we added the line
*deb http://packages.linuxmint.com <http://packages.linuxmint.com> zena
main upstream import backport*
we then changed other previous version 22.2 name (zara) to the name of
version 22.3 zena
That meant the file was
deb http://packages.linuxmint.com *zena* main upstream import backport
#id:linuxmint_main
deb http://archive.ubuntu.com/ubuntu noble main restricted universe
multiverse
deb http://archive.ubuntu.com/ubuntu noble-updates main restricted universe
multiverse
deb http://archive.ubuntu.com/ubuntu noble-backports main restricted
universe multiverse
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted
universe multiverse
*deb http://packages.linuxmint.com <http://packages.linuxmint.com> zena
main upstream import backport*
We then used
*sudo apt update*
This added in all the new packages to our repository list
We installed all the changes with
*sudo apt full-upgradable*
So there was no need to add the additional line as it was really the first
line again after we had changed zara to zena.
The bit after the # is just a reference comment.
On one of the laptops this appeared to work. The second laptop again almost
worked except neofetch was showing Ubuntu 24.04 (Noble Numbat version).
I thought it a little odd because you were using neofetch which is a
depreciated package and no longer supported. I am assuming neofetch is
still available in the Ubuntu Nobel repositories although I thought they
had changed to hyfetch, screenfetch and neowofetch. The current recommended
package in Ubuntu 25.10 and Debian 13 is fastfetch
What should have happened for the upgrade is LinuxMint has a graphical tool
for this. First run the *UpdateManager tool* and select refresh. This
should then show any packages that can be updated in the zara version.
Apply these updates by selecting the "Install updates" button
Next chose the Edit button and in the dropdown list there should be a
"Upgrade to Linux Mint 22.3 Zena" option. Select that and choose next.
What it is actually doing in the background is four commands
*sudo apt install mintupgrade* <-- This installs the upgrade
utility program
*sudo mintupgrade* <-- This reconfigures the
repository files and runs an update so your list of files is complete. It
then downloads all the new packages and removes all the old packages with a
*sudo apt autoremove*
It then upgrade the packages by running
*sudo apt upgrade*
It then checks for downgradable packages that you might have installed from
outside the standard repositories with the command
*sudo apt install --allow-downgrades*
It then cleans up after itself with a
*sudo apt --purge autoremove --yes*
*sudo apt-get clean*
Followed by a reboot.
I think the difference is you still have old packages in the system. That
should have been removed with the
*sudo apt full-upgradeable*
rather than the
*sudo apt upgrade*
However, my notes say that
*sudo apt full-upgradeable -- autoremove*
would ensure no packages after the upgrade.
Thoughts anyone who uses Linux Mint?
When we ran it for a second time I hashed out the first line in the
repositories list to give
#deb http://packages.linuxmint.com zena main upstream import backport
#id:linuxmint_main
deb http://archive.ubuntu.com/ubuntu noble main restricted universe
multiverse
deb http://archive.ubuntu.com/ubuntu noble-updates main restricted universe
multiverse
deb http://archive.ubuntu.com/ubuntu noble-backports main restricted
universe multiverse
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted
universe multiverse
deb http://packages.linuxmint.com zena main upstream import backport
Is this correct or should the last line have been hashed out. Does
precedence matter in this file?
Why would one laptop still show as Ubuntu under neofetch?
You also mentioned that your free disk space had previously dropped. My
best guess on this is you had run a timeshift to capture a snapshot file of
the whole system.
Regards
John
_______________________________________________
Sheffield Linux User's Group
http://sheflug.org.uk/mailman/listinfo/sheflug_sheflug.org.uk
FAQ at: http://www.sheflug.org.uk/mailfaq.html
GNU - The Choice of a Complete Generation