bookworm icon indicating copy to clipboard operation
bookworm copied to clipboard

Installation procedure not working for Ubuntu 20.04 LTS

Open MWNautilus opened this issue 2 years ago • 8 comments

Following the installation procedure on the Bookworm website as follows

sudo add-apt-repository ppa:bookworm-team/bookworm sudo apt-get update sudo apt-get install com.github.babluboy.bookworm

just leads to an error message (some package termed "ninja" appears to be missing). I followed further instructions (in case of errors) from the website as follows:

sudo add-apt-repository ppa:elementary-os/stable sudo apt-get update sudo apt-get install com.github.babluboy.bookworm

But it simply won't work. -Michael.

MWNautilus avatar Oct 27 '21 08:10 MWNautilus

Try and install ninja with the following commands: sudo apt-get update -y sudo apt-get install -y ninja-build

babluboy avatar Oct 27 '21 13:10 babluboy

I tried it and the ninja paket gets installed, but the bookworm installation still fails afterwards with the same error message saying that ninja is missing.

MWNautilus avatar Oct 31 '21 13:10 MWNautilus

For me it's happening the same @babluboy. Even after installing ninja with your instructions: This is the shell output: The following packages have unmet dependencies: com.github.babluboy.bookworm : Depends: ninja but it is not installable E: Unable to correct problems, you have held broken packages.

AdrianoHeller avatar Nov 04 '21 17:11 AdrianoHeller

can you also try and install ninja: sudo apt-get install ninja

Can it be related to this issue: https://github.com/mesonbuild/meson/issues/6867

As per that issue, it will be great if you can try and install ninja using pip3: python3 -m pip install ninja

babluboy avatar Nov 05 '21 05:11 babluboy

Hi @babluboy! I've also tried everything and get the same errors as @MWNautilus & @AdrianoHeller. Went through all the steps you suggest and while I already have the newest version of ninja when I try to install it using pip3 I get this /usr/bin/python3: No module named pip I am incapable of doing anything other than copy pasting as I am clueless re Linux so it could very well be that I am missing sth. My OS install is fresh (as of this afternoon).

Please, is there anything else you think we could try (I tried all the methods except for building it from source)? atm I'm stuck w/ Readium and it just ain't as cute as yours!

Wishing you a good day!

Nevermind, it worked after restarting I think it was the flatpack install that did the trick!

ghost avatar Nov 16 '21 02:11 ghost

Until I install Ubuntu 20.04 and try this out myself, consider using bookworm with flatpak: flatpak install --from https://flathub.org/repo/appstream/com.github.babluboy.bookworm.flatpakref

This is a workaround and not a solution - so keeping this issue open

babluboy avatar Nov 27 '21 16:11 babluboy

sudo apt-get install ninja

mateusz@grima:~$  sudo apt-get install ninja
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ninja is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ninja' has no installation candidate

As per that issue, it will be great if you can try and install ninja using pip3: python3 -m pip install ninja

I have python and pip installed so it will work for me.

But this will install ninja, but not as system package therefore install still fails even if ninja is now present on the system

mateusz@grima:~$  python3 -m pip install ninja
Defaulting to user installation because normal site-packages is not writeable
Collecting ninja
  Downloading ninja-1.10.2.3-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (108 kB)
     |████████████████████████████████| 108 kB 723 kB/s            
Installing collected packages: ninja
Successfully installed ninja-1.10.2.3
mateusz@grima:~$ sudo apt install com.github.babluboy.bookworm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 com.github.babluboy.bookworm : Depends: ninja but it is not installable
E: Unable to correct problems, you have held broken packages.

matkoniecz avatar Dec 20 '21 19:12 matkoniecz

flatpak install --from https://flathub.org/repo/appstream/com.github.babluboy.bookworm.flatpakref

How I am supposed to run it after an install?

EDIT: flatpak run com.github.babluboy.bookworm

BTW, #325 is the same issue.

matkoniecz avatar Dec 20 '21 19:12 matkoniecz