2

I am trying to install nala, but I get this error message:

The following packages have unmet dependencies:
 nala : Depends: python3-anyio but it is not installable
        Depends: python3-httpx but it is not installable
        Depends: python3-rich but it is not installable
        Depends: python3-tomli but it is not installable
        Depends: python3-typer but it is not installable
        Recommends: python3-socksio but it is not installable
E: Unable to correct problems, you have held broken packages.

I have tried using -f, I did apt update, and I tried installing the dependencies manually, but neither have worked.

Here is the link for the nala installation instructions, and I'm installing using the repo and key.

I am on Ubuntu 20.04.

Artur Meinild
  • 26,018

1 Answers1

2

Edit: Since this answer was written, the nala-legacy package has been removed, since it was too difficult to maintain. Nala is officially now only supported on Ubuntu 22.04 and newer.

Old Answer

As per the Nala wiki page, older releases (Debian Stable and Ubuntu 20.04) should use the nala-legacy package, which is built for older dependencies.

Since you already installed the "wrong" nala package, first remove it using:

sudo apt remove nala

Then install the correct nala package using:

sudo apt update && sudo apt install nala-legacy

The latest nala package can only be used on Ubuntu 22.04 or later.

Artur Meinild
  • 26,018