jamiemcg / Remarkable

Remarkable - The Markdown Editor for Linux http://remarkableapp.github.io
MIT License
1.96k stars 228 forks source link

DEB instillation fails on Ubuntu due to missing dependencies #379

Open tawfiek opened 3 years ago

tawfiek commented 3 years ago

I tried to install Remarkable using DEB file provided into the Download page here

however it fails due to missing dependencies.

dpkg: dependency problems prevent configuration of remarkable:
 remarkable depends on gir1.2-gtksource-3.0; however:
  Package gir1.2-gtksource-3.0 is not installed.
 remarkable depends on python3-markdown; however:
  Package python3-markdown is not installed.
 remarkable depends on python3-bs4; however:
  Package python3-bs4 is not installed.
 remarkable depends on gir1.2-webkit-3.0; however:
  Package gir1.2-webkit-3.0 is not installed.
 remarkable depends on wkhtmltopdf; however:
  Package wkhtmltopdf is not installed.

I think it's a good idea to add some instruction to install the app into Linux systems with dependency because it fails completely silently if the file opened via GUI.

raffaem commented 3 years ago

Same here. I am on Ubuntu 20.10.

There is a gir1.2-webkit2-4.0 in the repositories. But not gir1.2-webkit2-3.0.

raffaem commented 3 years ago

This package is only available for xenial (16.04). From bionic (18.04) and up there is only the 4.0 version.

ghost commented 3 years ago

There is a gir1.2-webkit-3.0 package for Ubuntu 18.04 (Linux Mint 19.x) here. I already had it installed from some previous package, all this missed was wkhtmltopdf which GDebi picked up and installed automatically. Remarkable then installed fine on my Linux Mint 19.2 and is nothing short of... uhm... remarkable. Now...

Just fired up a virtual Mint 20.1 and tested. Installed through GDebi in order:

After all this - uncomparably easier and less frustrating than the five hours wasted earlier in searching one - any - Markdown viewer - this remarkable package once installed started up and is ready for work.

So, if you can go through all the steps above precisely in that order you should be able to install Remarkable on Ubuntu 20.x or derivatives. Good luck!

huntergregal commented 3 years ago

any update on making this not a PITA for ubuntu 20?

berrak commented 3 years ago

I tried to install 'Remarkable' on Debian Bullseye (aka Debian v11).

    # apt install ./remarkable_1.87_all.deb
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'remarkable' instead of './remarkable_1.87_all.deb'
    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:
     remarkable : Depends: gir1.2-webkit-3.0 but it is not installable

On my Debain v11 machine Webkit2 is installed by default.

# aptitude search gir1.2-webkit
i A gir1.2-webkit2-4.0            - Web content engine library for GTK - GObject introspection data

From Debian package information page: https://packages.debian.org/search?keywords=gir1.2-webkit-3.0: They are lots of missing dependencies if you dig into it, but the takeaway is that it looks like Debian maintainers will not keep this 'gir1.2-webkit-3.0' version alive from 'stretch' (aka Debian v9) -- and that version is already pretty old.

paulocoghi commented 3 years ago

Same here. I tried to install on Ubuntu 20.04, and got:

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:
 remarkable : Depends: gir1.2-webkit-3.0 but it is not installable
E: Unable to correct problems, you have held broken packages.
raffraffraff commented 3 years ago

Sigh. This is why people have started using horrible solutions like Snap, AppImage, Flatpak: properly packaging applications is hard. For now, the easiest solution for me is to build a Docker container FROM ubuntu:bionic, and run it with the .Xauthority and X11 socket mounted.

huntergregal commented 3 years ago

i actually went to Typora and love it. It actually works and installs.

I'm going to assume this is abandonware

raffraffraff commented 3 years ago

Looks like there was a minor update 5 months ago, but yeah... crickets.

For what it's worth, I created a project to build and run a Remarkable docker container. It should work on any flavor of Linux.

seiferteric commented 3 years ago

Was annoyed that I could not install properly on Ubuntu 20.04 so I rebuilt the Debian package for 20.04. You can find it here: https://github.com/seiferteric/remarkable_debfix