advplyr / audiobookshelf-ppa Goto Github PK
View Code? Open in Web Editor NEWPersonal Package Archive for Audiobookshelf
Home Page: https://audiobookshelf.org
Personal Package Archive for Audiobookshelf
Home Page: https://audiobookshelf.org
The debian package contains unnecessary files which are written to folders which don't really belong to audiobookshelf:
# dpkg -L audiobookshelf
/usr/share/.gitkeep
/usr/lib/.gitkeep
/etc/default/.gitkeep
Especially something like /etc/default/.gitkeep
could easily cause a conflict with another software if that one is also not clean.
The Audiobookshelf Debian package configures /usr/share/audiobookshelf/…
to be used for binary files as well as for variable state information. This violates the Filesystem Hierarchy Standard which states for (/usr/share
) architecture-independent data
The
/usr/share
hierarchy is for all read-only architecture independent data files.
Based on the FHS, I suggest the following changes:
/usr/bin
(that's where I would put it) or maybe to /usr/lib
.config
, metadata
, …) should go into /var/lib/audiobookshelf
Looking at /usr/share/audiobookshelf
after an installation right now:
# ls -1d /usr/share/audiobookshelf/*
/usr/share/audiobookshelf/audiobookshelf
/usr/share/audiobookshelf/config
/usr/share/audiobookshelf/metadata
I get the following error when trying to install on Linux.
GPG error: https://advplyr.github.io/audiobookshelf-ppa ./ InRelease: The following signatures were invalid: F0BFFF44BC7DE9D288CF75C912269E7DCE24DB03
I've been trying to add the audiobookshelf.list to my debian system but the url in the .list file doesn't seem to work.
curl https://advplyr.github.io/audiobookshelf-ppa/audiobookshelf.list
yields :
deb https://advplyr.github.io/audiobookshelf-ppa ./
but curl https://advplyr.github.io/audiobookshelf-ppa leads to a github.io page saying file not found.
Seems like the Debian packages need wget
but it is not specified as a requirement:
That means, the installation will fail if it is missing:
# apt install audiobookshelf
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
audiobookshelf
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 16.0 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://advplyr.github.io/audiobookshelf-ppa ./ audiobookshelf 2.2.8 [16.0 MB]
Fetched 16.0 MB in 1s (12.8 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 5280 files and directories currently installed.)
Preparing to unpack .../audiobookshelf_2.2.8_amd64.deb ...
Existing config found.
METADATA_PATH=/usr/share/audiobookshelf/metadata
CONFIG_PATH=/usr/share/audiobookshelf/config
FFMPEG_PATH=/usr/lib/audiobookshelf-ffmpeg/ffmpeg
FFPROBE_PATH=/usr/lib/audiobookshelf-ffmpeg/ffprobe
TONE_PATH=/usr/lib/audiobookshelf-ffmpeg/tone
PORT=13378
HOST=0.0.0.0
Starting FFMPEG Install
/var/lib/dpkg/tmp.ci/preinst: line 62: wget: command not found
dpkg: error processing archive /var/cache/apt/archives/audiobookshelf_2.2.8_amd64.deb (--unpack):
new audiobookshelf package pre-installation script subprocess returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/audiobookshelf_2.2.8_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Right now, the Audiobookshelf Debian package downloads some software binaries during package installation and write those to /usr/lib/audiobookshelf-ffmpeg/
(not only FFmpeg end up in there):
# ll /usr/lib/audiobookshelf-ffmpeg/
total 179972
drwxr-xr-x 4 audiobookshelf audiobookshelf 4096 Jan 21 15:29 ./
drwxr-xr-x 50 root root 4096 Jan 21 15:29 ../
-rw-r--r-- 1 1000 1000 35147 Sep 10 13:25 GPLv3.txt
-rwxr-xr-x 1 1000 1000 78502816 Sep 10 13:25 ffmpeg*
-rwxr-xr-x 1 1000 1000 78392768 Sep 10 13:25 ffprobe*
drwxr-xr-x 2 1000 1000 4096 Sep 10 13:25 manpages/
drwxr-xr-x 7 1000 1000 4096 Sep 10 12:48 model/
-rwxr-xr-x 1 1000 1000 690888 Sep 10 13:25 qt-faststart*
-rw-r--r-- 1 1000 1000 2276 Sep 10 13:25 readme.txt
-rwxr-xr-x 1 1001 121 26639855 Nov 4 23:33 tone*
Instead of downloading them and writing them to the file system usually managed by packages, the Audiobookshelf Debian package should just define dependencies to tone and FFmpeg packages.
.deb is not creating user/group audiobookshelf.
Workaround create user audiobookshelf.
Hi,
I'm new with this server stuff
I installed the Turkey Core ISO on esxi7
Then I followed the instructions from here
https://www.audiobookshelf.org/install
`
wget https://advplyr.github.io/audiobookshelf-ppa/audiobookshelf_2.2.1_amd64.deb
sudo apt install ./audiobookshelf_2.2.1_amd64.deb
but did not work
The i tried to install the package
audiobookshelf_2.2.1_amd64.deb in Webmin
and get this:
2022-10-14 20:48:42 (7.16 MB/s) - 'ffmpeg-git-amd64-static.tar.xz.12' saved [40997632/40997632]
tar (child): xz: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
dpkg: error processing archive /root/audiobookshelf_2.2.1_amd64.deb (--install):
new audiobookshelf package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/root/audiobookshelf_2.2.1_amd64.deb
Pls Help a newbie to get this installed
THX
I get an error when I try to install any recent .deb package:
apt install /opt/audiobookshelf_1.7.0_amd64.deb
Reading package lists... Error!
E: Invalid archive signature
E: Internal error, could not locate member control.tar{.zst,.lz4,.gz,.xz,.bz2,.lzma,}
E: Could not read meta data from /opt/audiobookshelf_1.7.0_amd64.deb
E: The package lists or status file could not be parsed or opened.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.