Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependency requirements #5

Open
lkiesow opened this issue Dec 9, 2022 · 1 comment
Open

Missing dependency requirements #5

lkiesow opened this issue Dec 9, 2022 · 1 comment

Comments

@lkiesow
Copy link

lkiesow commented Dec 9, 2022

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)
@lkiesow
Copy link
Author

lkiesow commented Dec 9, 2022

There seem to be more requirement specifications missing. Seems like xz-utils is also required but not required:

2022-12-09 19:19:51 (1.71 MB/s) - 'ffmpeg-git-amd64-static.tar.xz' 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 /var/cache/apt/archives/audiobookshelf_2.2.8_amd64.deb (--unpack):
 new audiobookshelf package pre-installation script subprocess returned error exit status 2
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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant