Cannot install on Ubuntu 24

What issue or error are you experiencing?

I downloaded the latest DEB file and tried to install via the Software Center (usually works fine) which fails silently. Then I tried dpkg and apt from terminal:

$ sudo dpkg -i ./local-9.2.3-linux.deb 
[sudo] wachtwoord voor ravanhagen: 
Voorheen niet geselecteerd pakket local wordt geselecteerd.
(Database wordt ingelezen ... 245217 bestanden en mappen momenteel geïnstalleerd.)
Uitpakken van local-9.2.3-linux.deb wordt voorbereid...
Bezig met uitpakken van local (9.2.3-20250324.1) ...
dpkg: vereistenproblemen verhinderen de configuratie van local:
 local is afhankelijk van libaio1; maar:
  Pakket libaio1 is niet geïnstalleerd.
 local is afhankelijk van libncurses5; maar:
  Pakket libncurses5 is niet geïnstalleerd.
 local is afhankelijk van libnss3-tools; maar:
  Pakket libnss3-tools is niet geïnstalleerd.

dpkg: fout bij verwerken van pakket local (--install):
 vereistenproblemen - blijft ongeconfigureerd
$ sudo apt install ./local-9.2.3-linux.deb 
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd... Klaar
De statusinformatie wordt gelezen... Klaar 
Let op, 'local' wordt geselecteerd in plaats van './local-9.2.3-linux.deb'
Sommige pakketten konden niet geïnstalleerd worden. Dit kan betekenen
dat u om een onmogelijke situatie gevraagd heeft, of, indien u
de distributie 'unstable' gebruikt, dat sommige benodigde pakketten nog gemaakt moeten worden of uit 'Incoming' verwijderd werden.
De volgende informatie kan misschien helpen de situatie op te lossen:

De volgende pakketten hebben niet-voldane vereisten:
 local : Vereisten: libaio1 maar het is niet installeerbaar
         Vereisten: libncurses5 maar het is niet installeerbaar
E: Kan problemen niet verhelpen, u houdt defecte pakketten vast.

The errors are is in Dutch but it basically sais these dependencies cannot be installed:

  1. libaio1
  2. libncurses5

System Details

  • Local Version:

9.2.3

  • Operating System (OS) and OS version:

Ubuntu 24.04.2 LTS

Please note: I can install libaio1t64 and libncurses6 onn Ubuntu but that apparently does not satisfy local :confused:

Sorry for this, @Rolf. The Local team is revisiting Linux packaging for Ubuntu 24, but Local 9.2.3 doesn’t have those improvements yet.

For now you could try downloading the required packages from archives:

cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/main/n/ncurses/libtinfo5_6.1-1ubuntu1.18.04.1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/n/ncurses/libncurses5_6.1-1ubuntu1.18.04.1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/liba/libaio/libaio1_0.3.112-5_amd64.deb

Then install those packages:

sudo dpkg -i libtinfo5_6.1-1ubuntu1.18.04.1_amd64.deb
sudo dpkg -i libncurses5_6.1-1ubuntu1.18.04.1_amd64.deb
sudo dpkg -i libaio1_0.3.112-5_amd64.deb

And finally install Local (latest .deb available at Releases - Local):

sudo apt install ./local-9.2.3-linux.deb

If you ever need to remove those:

sudo dpkg --remove libncurses5
sudo dpkg --remove libtinfo5
sudo dpkg --remove libaio1
sudo dpkg --remove local

We have one other known issue with Local 9.2.3 and Ubuntu 24 that you should be aware of (title bar currently missing), with some workarounds in this thread [edit: this was fixed in Local 9.2.4]:

1 Like

Hi Nick, thanks for that.

After running the final sudo dpkg -i local-9.2.3-linux.deb there was an error about libnss3-tools missing. But that got installed just fine when I ran sudo apt install ./local-9.2.3-linux.deb instead.

I’ll be giving LocalWP a spin :slight_smile:

2 Likes

Thanks, @Rolf! I updated my instructions above to use apt install in case some systems are missing other deps that are not archived.

Local 9.2.5 is out with some improvements to bundled libraries for Ubuntu 24 and Fedora 42.

Users on these OSs should no longer have to manually install dependencies.

https://localwp.com/releases/9.2.5/

1 Like

Excellent news :sunny:

2 Likes