termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.6k stars 2.9k forks source link

[Bug]: Problem Installing Navidrome #18610

Closed hoshiiro closed 7 months ago

hoshiiro commented 7 months ago

Problem description

Testing the available mirrors:
[*] (1) https://mirror.albony.xyz/termux/termux-main: ok
[*] (1) https://mirrors.cbrx.io/apt/termux/termux-main: ok
[*] (1) https://mirror.textcord.xyz/termux/termux-main: bad
[*] (1) https://linux.domainesia.com/applications/termux/termux-main: ok
[*] (1) https://mirror.bardia.tech/termux/termux-main: ok
[*] (1) https://mirror.nevacloud.com/applications/termux/termux-main: ok
Picking mirror: (3) /data/data/com.termux/files/usr/etc/termux/chosen_mirrors/mirror.bardia.tech
Get:1 https://mirror.bardia.tech/termux/termux-main stable InRelease [14.0 kB]
Get:2 https://mirror.bardia.tech/termux/termux-main stable/main aarch64 Packages [496 kB]
Fetched 510 kB in 49s (10.5 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  navidrome
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.2 MB of archives.
After this operation, 41.1 MB of additional disk space will be used.
Get:1 https://mirror.bardia.tech/termux/termux-main stable/main aarch64 navidrome aarch64 0.50.1 [10.2 MB]
Fetched 10.2 MB in 2min 24s (70.7 kB/s)
Selecting previously unselected package navidrome.
(Reading database ... 45069 files and directories currently installed.)
Preparing to unpack .../navidrome_0.50.1_aarch64.deb ...
Unpacking navidrome (0.50.1) ...
Setting up navidrome (0.50.1) ...
FATAL: Error creating cache path: path cache mkdir cache: file exists
FATAL: Error creating cache path: path cache mkdir cache: file exists
FATAL: Error creating cache path: path cache mkdir cache: file exists
dpkg: error processing package navidrome (--configure):
 installed navidrome package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 navidrome
E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)

What steps will reproduce the bug?

Run pkg in navidrome

What is the expected behavior?

Navidrome get installed.

System information

termux-info:

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=10387
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirror.bardia.tech/termux/termux-main stable main
Updatable packages:
All packages up to date
termux-tools version:
1.39.5
Android version:
11
Kernel build information:
Linux localhost 4.19.157-perf-gc9801239f692 #1 SMP PREEMPT Mon Jun 27 19:46:34 WIB 2022 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
220333QAG
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.api versionCode:51
com.termux.styling versionCode:29
romanovj commented 7 months ago
~ $ pkg in navidrome
Testing the available mirrors:
[*] (1) http://mirror.mephi.ru/termux/termux-main: ok
Picking mirror: (0) /data/data/com.termux/files/usr/etc/termux/mirrors/russia/mirror.mephi.ru
Get:1 http://mirror.mephi.ru/termux/termux-main stable InRelease [14.0 kB]
Hit:2 http://mirror.mephi.ru/termux/termux-root root InRelease
Get:3 http://mirror.mephi.ru/termux/termux-x11 x11 InRelease [14.0 kB]
Get:5 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 Packages [496 kB]
Get:6 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 Contents (deb) [2431 kB]
Get:4 https://turdl.kcubeterm.com tur-packages InRelease [21.0 kB]
Get:7 http://mirror.mephi.ru/termux/termux-x11 x11/main aarch64 Packages [127 kB]
Get:8 http://mirror.mephi.ru/termux/termux-x11 x11/main aarch64 Contents (deb) [1574 kB]
Get:9 https://turdl.kcubeterm.com tur-packages/tur aarch64 Packages [38.2 kB]
Fetched 4716 kB in 3s (1360 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
37 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ffmpeg libopenmpt libv4l mpg123 pulseaudio svt-av1 taglib
The following NEW packages will be installed:
  ffmpeg libopenmpt libv4l mpg123 navidrome pulseaudio svt-av1
  taglib
0 upgraded, 8 newly installed, 0 to remove and 37 not upgraded.
Need to get 22.7 MB of archives.
After this operation, 88.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 pulseaudio aarch64 16.99.1-1 [848 kB]
Get:2 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 mpg123 aarch64 1.32.3 [260 kB]
Get:3 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 libopenmpt aarch64 0.7.3 [566 kB]
Get:4 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 libv4l aarch64 1.24.1-1 [94.6 kB]
Get:5 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 svt-av1 aarch64 1.7.0 [1091 kB]
Get:6 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 ffmpeg aarch64 6.1-1 [9363 kB]
Get:7 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 taglib aarch64 1.13.1 [334 kB]
Get:8 http://mirror.mephi.ru/termux/termux-main stable/main aarch64 navidrome aarch64 0.50.1 [10.2 MB]
Fetched 22.7 MB in 4s (5628 kB/s)
Selecting previously unselected package pulseaudio.
(Reading database ... 97019 files and directories currently installed.)
Preparing to unpack .../0-pulseaudio_16.99.1-1_aarch64.deb ...
Unpacking pulseaudio (16.99.1-1) ...
Selecting previously unselected package mpg123.
Preparing to unpack .../1-mpg123_1.32.3_aarch64.deb ...
Unpacking mpg123 (1.32.3) ...
Selecting previously unselected package libopenmpt.
Preparing to unpack .../2-libopenmpt_0.7.3_aarch64.deb ...
Unpacking libopenmpt (0.7.3) ...
Selecting previously unselected package libv4l.
Preparing to unpack .../3-libv4l_1.24.1-1_aarch64.deb ...
Unpacking libv4l (1.24.1-1) ...
Selecting previously unselected package svt-av1.
Preparing to unpack .../4-svt-av1_1.7.0_aarch64.deb ...
Unpacking svt-av1 (1.7.0) ...
Selecting previously unselected package ffmpeg.
Preparing to unpack .../5-ffmpeg_6.1-1_aarch64.deb ...
Unpacking ffmpeg (6.1-1) ...
Selecting previously unselected package taglib.
Preparing to unpack .../6-taglib_1.13.1_aarch64.deb ...
Unpacking taglib (1.13.1) ...
Selecting previously unselected package navidrome.
Preparing to unpack .../7-navidrome_0.50.1_aarch64.deb ...
Unpacking navidrome (0.50.1) ...
Setting up libv4l (1.24.1-1) ...
Setting up svt-av1 (1.7.0) ...
Setting up taglib (1.13.1) ...
Setting up pulseaudio (16.99.1-1) ...
Setting up mpg123 (1.32.3) ...
Setting up libopenmpt (0.7.3) ...
Setting up ffmpeg (6.1-1) ...
Setting up navidrome (0.50.1) ...
~ $ pkg rei navidrome
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 37 not upgraded.
Need to get 0 B/10.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 97663 files and directories currently installed.)
Preparing to unpack .../navidrome_0.50.1_aarch64.deb ...
Unpacking navidrome (0.50.1) over (0.50.1) ...
Setting up navidrome (0.50.1) ...
~ $ pkg uni navidrome
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ffmpeg libopenmpt libv4l mpg123 pulseaudio svt-av1 taglib
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  navidrome
0 upgraded, 0 newly installed, 1 to remove and 37 not upgraded.
After this operation, 41.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 97663 files and directories currently installed.)
Removing navidrome (0.50.1) ...
~ $ pkg in navidrome
Checking availability of current mirror:
[*] http://mirror.mephi.ru/termux/termux-main: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  navidrome
0 upgraded, 1 newly installed, 0 to remove and 37 not upgraded.
Need to get 0 B/10.2 MB of archives.
After this operation, 41.1 MB of additional disk space will be used.
Selecting previously unselected package navidrome.
(Reading database ... 97657 files and directories currently installed.)
Preparing to unpack .../navidrome_0.50.1_aarch64.deb ...
Unpacking navidrome (0.50.1) ...
Setting up navidrome (0.50.1) ...
~ $