babluboy / bookworm

A simple ebook reader for Elementary OS
GNU General Public License v3.0
1.32k stars 101 forks source link

Unable to install bookworm in Ubuntu 20.04 #325

Open bhattisatish opened 4 years ago

bhattisatish commented 4 years ago

I tried following the installation instruction but I am running into some dependency issues.

the sudo apt install com.github.babluboy.bookworm gives me the following error

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.

I cannot currently find any package named ninja in the Ubuntu repositories. Also why do we need a dev dependency on an installation of stable branch?

janaabpakaal commented 4 years ago

I too had similar issues , meanwhile you can try foliate or edr.thorium.

beltet commented 4 years ago

Same problem. On Pop OS here. The only instruction that worked was the flatpak.

babluboy commented 4 years ago

Could you try:

sudo apt-get install ninja-build
sudo ninja install

and then try com.github.babluboy.bookworm

You can also try the ppa method:

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

In case of issues related to missing libgranite package, add the Elementary PPA as shown below and re-try. The Elementary PPA can be removed after Bookworm is installed.

Some additional distro specific instructions are here: https://babluboy.github.io/bookworm/#install

bhattisatish commented 4 years ago

sudo apt-get install ninja-build sudo ninja install

Why is a build tool marked as a dependency for the package? Shouldn't this be a dependency in the source package?

Some additional distro specific instructions are here: https://babluboy.github.io/bookworm/#install

The dependency error comes up while following the Ubuntu installation instructions.

couzhei commented 4 years ago

I tried installing ninja build tool as well, but the problem still resists. I've migrated back to Calibre, since it's essentially the same source code from bookworm. But the thing is, as of the latest version 4.22.0 there is no longer a toolbar on the left side of UI. However you could easily rollback to a previous version of Calibre, using the following sudo -v && sudo calibre-uninstall && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin version=3.48.0 I know it's not a solution, I, myself miss the old bookworm so much, and not fond of the extra features of Calibre(since I want to keep my workbench clean and minimal). I'm starting to think that upgrading to ubuntu 20.04 (considering its disastrous desktop) from 18.04 was a big mistake.

ConradQQ commented 3 years ago

Workaround Using Flatpak

I was able to install it using Flatpak.

Flatpak Install

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

lonix1 commented 3 years ago

@KaNaHaKEsUh That isn't a fix - it assumes you want to use flatpak.

The problem is with apt.

ConradQQ commented 3 years ago

@lonix1 is there a more appropriate place to post a workaround for users just trying to use Bookworm on Ubuntu 20.04? Because this thread was a top search result... Or are you just being a pretentious ass ?

lonix1 commented 3 years ago

@KaNaHaKEsUh Your original comment, before you changed it, said "FIX", not "workaround".

I don't recall insulting you. Your rude behavior says it all.

tsalada commented 3 years ago

@KaNaHaKEsUh posted

Workaround Using Flatpak I was able to install it using Flatpak. Flatpak Install Once Flatpak is installed:

In Ubuntu 20.04, I installed Flatpak via Synaptic and then installed Bookworm as suggested

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

I had to restart my system before Bookworm would show up on my desktop but it is there now; so, thanks.

N0rbert commented 3 years ago

For Ubuntu there is a workaround:

You can get binary deb-package from Ubuntu 16.04 LTS directly by

cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ninja/ninja_0.1.3-2_amd64.deb
sudo apt-get install ./ninja_0.1.3-2_amd64.deb

and install Bookworm from the PPA.

scottstensland commented 3 years ago

link to same issue https://askubuntu.com/questions/1301367/installing-bookworm-on-ubuntu-20-04-failed-due-to-unresolvable-dependencies above SOLUTION using specific version of ninja thanks to @N0rbert works however above suggested default Ubuntu package install for ninja fails on Ubuntu 20.04