Apk Wont Create Missing Directories with Fix Function
Here is an example where I accidentally remove a directory that I should not have:
# rm /etc/bluetooth/* /usr/lib/bluetooth
# apk fix bluetooth bluez-libs
(1/2) Reinstalling bluez (5.73-r0)
ERROR: Failed to create etc/bluetooth/input.conf: No such file or directory
ERROR: Failed to create etc/bluetooth/main.conf: No such file or directory
ERROR: Failed to create etc/bluetooth/mesh-main.conf: No such file or directory
ERROR: Failed to create etc/bluetooth/network.conf: No such file or directory
ERROR: Failed to create usr/lib/bluetooth/bluetooth-meshd: No such file or directory
ERROR: Failed to create usr/lib/bluetooth/bluetoothd: No such file or directory
ERROR: bluez-5.73-r0: failed to rename etc/bluetooth/.apk.b4a5ac267aa81967ac5292309bdd8746723483766cdff8fe to etc/bluetooth/input.conf.
ERROR: bluez-5.73-r0: failed to rename etc/bluetooth/.apk.0d7665a8aa9fa3a6026a235d81c0bbf8c4a1734bc7aa60b9 to etc/bluetooth/main.conf.
ERROR: bluez-5.73-r0: failed to rename etc/bluetooth/.apk.210a873392ad559c77189fd968d625ddd2a86bc07cdb7770 to etc/bluetooth/mesh-main.conf.
ERROR: bluez-5.73-r0: failed to rename etc/bluetooth/.apk.e15557cb1f4b519dff9ac1b59f329b90bd01d7ca3cf8615a to etc/bluetooth/network.conf.
ERROR: bluez-5.73-r0: failed to rename usr/lib/bluetooth/.apk.76ebbe504dfbc62349fd08f1ce5be2674899645ba0d43dc9 to usr/lib/bluetooth/bluetooth-meshd.
ERROR: bluez-5.73-r0: failed to rename usr/lib/bluetooth/.apk.7d9d0b321a9a48fb9388bd32c9adb2362dcc4df3a6f20d4b to usr/lib/bluetooth/bluetoothd.
(2/2) Reinstalling bluez-libs (5.73-r0)
Executing busybox-1.36.1-r25.trigger
Executing dbus-1.14.10-r1.trigger
2 errors; 2692 MiB in 845 packages
And that doesn't work when I fix bluez-libs
first, as well. I have to create the missing parrent director(y|ies).
# mkdir !-2$