First check if your CPU is really 32 bit. You may be running a 32 bit version of Ubuntu in a 64 bit CPU, and then you can install a 64 bit version of Ubuntu on this.
Run the command lscpu and look for CPU op-mode(s):. If the output is 32 bit, 64 bit, you can fresh install a recent, 64 bit version of Ubuntu/Xubuntu/Lubuntu on this computer (the last two need less resources). If it is 32 bit, head on to the next part of the answer.
Ubuntu does not support i386 architecture (which is 32 bit) beyond version 19.04. If you want to continue using a recent operating system with updated packages, you will have to migrate to a different operating system. You have several options.
- Raspberry Pi Desktop for PC and Mac - The lightweight user interface of Raspberry Pi, for regular computers. It has a customized LXDE interface based on Debian 32 bit.
2.AnTiX - Extremely lightweight operating system based on Debian, with a desktop environment suitable for old computers.
Debian i386 -- Debian is very similar to Ubuntu. You can install the LXDE or XFCE desktop environments, which are lightweight.
Q4OS -- Debian based OS, optimized for older computers. The Trinity desktop environment (actively maintained fork of KDE 3.5) requires only 256 MB RAM, and is super fast.
MX Linux -- Debian based distro tailored for old computers.
Arch Linux 32 -- Hard to install, but can be made extremely lightweight, and it hosts the latest version of packages in its repositories.
Tiny Core -- Extremely light weight operating system, which works on systems with 48 MB RAM or greater.
Note: None of these operating systems are supported on this site.