Code Monkey home page Code Monkey logo

audiobookshelf-ppa's People

Contributors

advplyr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

audiobookshelf-ppa's Issues

Package writes unnecessary files

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.

Incorrect use of /usr/share

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:


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

Invalid Signatures

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

Missing dependency requirements

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)

Package dependencies for ffmpeg and tone

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 not creating user

.deb is not creating user/group audiobookshelf.

Workaround create user audiobookshelf.

nstall Audiobookshelf on Debian 11

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
grafik

grafik

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

Cant install Deb Package

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.