Libby - ebook reader that allows library checkouts (in USA)
#1
Libby is a e-book reader that in the US you can checkout copyrighted books from public libraries.

Libbys instructions for install are:
https://snapcraft.io/install/libbylinux/debian

sudo apt update
sudo apt install snapd
sudo snap install snapd
sudo snap install libbylinux

This fails missing squashfs:
error: system does not fully support snapd: cannot mount squashfs image using
      "squashfs": ----- mount: /tmp/syscheck-mountpoint-3961583142: unknown
      filesystem type 'squashfs'.

      dmesg(1) may have more information after failed mount system call.


Debian has squashfs packages which I installed:
squashfs-mount
squashfs-tools
squashfs-tools-ng
squashfuse

cat /proc/filesystems does NOT have squashfs meaning the kernel doesnt have the driver loaded.
It's not in /lib|lib64/modules so my guess its not compiled nor profiled by the packages above.

apt update/upgrade yielded:
******************************************************************************
*
* The base-files package cannot be installed because
* /lib64 is a symbolic link and not pointing at usr/lib64 exactly.
*
* This is an unexpected situation. Cannot proceed with the upgrade.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************


dpkg: error processing archive /var/cache/apt/archives/base-files_13.6_arm64.deb (--unpack):
new base-files package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/base-files_13.6_arm64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)


(as always devs, if you're trying to do something...tell me what.  I dont use --unpack a lot.  unsure why it failed)
root@pinenote:~# dpkg --unpack /var/cache/apt/archives/base-files_13.6_arm64.deb
yielded
* The base-files package cannot be installed because
* /lib64 is a symbolic link and not pointing at usr/lib64 exactly.

Time to play with other presents.
(libby makes PineNote a user product.  XournalPP does, liferae does, ...  It's close but still lots of hacking.)
  Reply
#2
The /lib64 link is a debian bug. You need to
sudo rm /lib64
See the pinenote-debian-image github issue #99
https://github.com/PNDeb/pinenote-debian.../issues/99
also be careful not to use apt autoremove until #86 gets fixed.
https://github.com/PNDeb/pinenote-debian.../issues/86
  Reply
#3
Very interesting, I have used the previous software, Overdrive for Android(Cyanogenmod/LineageOS), for e-books and audio books.
Does  LibbyLinux download unencrypted mp3 audio files?
If so to what directory?
  Reply
#4
Great info.
I'm going to try opening new forum posts with: In Debian Trixie, ...
As we have soo many options (Android, Debian, Postmark, Arch, ..) there are going to be a lot of platform specific issues.
In fact, I think that may what be holding adoption back. Do I open this bug on the debian site...or here on the Pine64 site. (rhetorical)
I'd vote that Pine64 expand their wiki (maybe more contributors).
Perhaps "you want to be a user of an appliance an e-reader" which may have 1 or 2 distros...more = harder to support.
and then
"you want to use this for a lot of different things, hacking, playing, breaking, restoring"

So I broke mine...I loaded a bunch of X11 packages, didnt do any configuring, then when I flipped the Wayland gnome autologin off because a website said gdm would let me choose X11...I logged out...and nothing...I power cycled...and it will not boot....some text, erased by the "nice" banner...nothing but booting...

So that's a bug in gnome/wayland that should be tested by others...what happens when you turn off autologin.
because...if a non-savy linux user does that (easy setting in the Settings dialog which doesnt say "possibly destructive")...if a youtube non-linux savy reviewer bumps into that...sales go down.

Also...the wiki should clearly say "If you nuke your device...the lowest level you can come back from is a reflash with the dongle done this way with these OSs(win/linux/mac)".

Without that...well this is the same as hacking linux onto my 13 year old Nook Simple Touch.

platform via product.

We need to make sure this is both...that hackers can port the latest and greatest wizbang distro to it...
but your grandmother should be able to pick it up and use it.

Every competitor has started with product and hackers have platformed it.
Pine64 started with platform...lets try to make it a product.

sorry...just had to vent...spent 4 hours of my "vacation" trying to figure out why ZFS riding on LUKS on SSD's says "(trim not supported)". Computers.

Anyway, I have to reflash my device. Then I will try the hack at /lib64. I saw some open defects about it...was too scared to try nuking that symlink so I tried the simple do not autologin. Murphy! Smile

My idea for this thread is expand the wiki section of "how to use PineNote to read copyrighted books from your library or other vendor" (It would be amazing if I could send a kindle book from the AWS directly to my PN).

I did use overdrive on my OnePlus 9 but when I switched to my FairPhone 4 (awesome!!!! Sorry, I have t-mo, live on the fringe, MUST have VoWiFI that works with tmo...never got my PinePhone 1 to do this in the early days...had to move onward. FP4 with /e/os just seems to work as an android phone)...
anyway...I did use Overdrive but think it got depreciated for Libby.
Libby allows me to checkout from the library in WA USA.

I think the wiki page (about using PN as a reader) should have the top 5 and maybe more.
but...the top ones should be so simple a 10 year old or 70 year old can follow the instructions and make the PN a reader.

think...give this to my grandma for Christmas...and have her require zero support from me...still having personal time to be able to play with my new (old) Legion Go with my Occulink cable to my dedicated GPU running my local LLM...as a desktop replacement.

(Im ok that I broke my PN, if I had already done at least one flash, I'd be trying to see what broke it and open a bug on the no autologin...if that was the culprit...perhaps tonight life will give me an hour of uninterrupted time. Smile )

ps- even broken...I LOVE the PineNote.
Please give me PineNote 2 with SD (high speed) and USB 3.2/4. It's probably worth $500 to me.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Document (PDF) Reader Sirius 7 8,192 02-04-2022, 10:50 AM
Last Post: malvcr

Forum Jump:


Users browsing this thread: 2 Guest(s)