Upgrade from an old installation

Running KDE Plasma 5.24.6 on Kernel 5.18.14-1-MANJARO.

I tried updating/ upgrading using sudo pacman -Syyu. But it results in non-resolved conflicts and fails.

Upgrade through Pamac also failed.

How do I get the update through?

Hi @deshmukh,

That kernel is long EOL. It should have been removed a long time ago.

Similarly with this. The current one is 6.3.2.

To be totally honest, this is so far behind current that I think a complete backup and reinstall would be better and easier.

4 Likes

Post the output of what failed and how and why - post the output of the command you used to (try to) update.

If it does involve any notion of the community repo - look at the “latest” posts here.

2 Likes

What I’d suggest:
chroot into the system (preferably using a current .ISO)Âą:

manjaro-chroot -a

Edit /etc/pacman.conf — I recommend nano for this — and remove [community] and the Include = line below it (SigLevel = too, if it’s there); save and exit;

Install a current LTS Kernel e.g.:

pacman -S linux612

Remove the old one:

pacman -R linux518

Try running the upgrade. If it appears to go through (with any needed manual intervention during the process), exit chroot, reboot and keep fingers crossed. :crossed_fingers:

1 Ventoy is a good option here; see [HowTo] Create a Ventoy USB to launch Manjaro (and other) ISO's - #2

1 Like

I would agree. It is probably going to take far less time and energy to reinstall from a recent ISO than to try and salvage an unmaintained system.

4 Likes

Manually - by reading the output …

Login into TTY and disable the display-manager - gdm, sddm, lightdm

sudo systemctl disable --now <display-manager>

Then update the system - if you run into conflicts resolve them - remove offending packages.

When your system boots to console (TTY) without issues - next step is the desktop part

The hardest part is the desktop part - especially for plasma - it usually requires removing all kde plasma related configuration files.,

To test if your display-manager can load

sudo systemctl start <display-manager>

If it loads - try logging in - if that succeed - reenable your display manager

sudo systemctl enable <display-manager>

A very long time ago - I took a Manjaro 0.8 ISO and updated it - and I took notes, feel free to use them as a reference for ideas on how to progress.

Do note this was written in 2019 - much has changed since - the hard work concept is still valid though - you must adapt to present day.

→ update-old-manjaro-installation

Perhaps you will find it easier to copy data from /home/$USER folder and wipe everything using the most recent install ISO.

1 Like

Disabling it would be a bad idea, because that’ll prevent it from coming up again at the next boot.

Stopping it would be better. :point_down:

sudo systemctl stop <name-of-display-manager>
1 Like

And that is precisely the point - until you are sure the graphic environment is updated correct - keeping the display manager disabled - makes it easier to get to a working console.

I added a couple of lines explaining the further steps.