Unable to install dependencies
TheIronRock95 opened this issue · 1 comments
TheIronRock95 commented
I am having trouble installing udm-kernel-tools on my UDM-Pro running version 1.12.33. Here are the steps I followed:
First, I tried to download the udm-kernel-tools package using the wget command. I attempted to install the package using apt. However, I faced an error due to unmet dependencies, with packages such as kexec-tools, busybox-static, kmod, and cpio.
I would appreciate any guidance or solutions to resolve this issue. i try to install it on my UDM-Pro with firmaware 1.12.33.
# unifi-os shell
root@ubnt:/# wget https://github.com/fabianishere/udm-kernel-tools/releases/download/v1.1.7/udm-kernel-tools_1.1.7_arm64.deb
--2023-08-06 21:03:22-- https://github.com/fabianishere/udm-kernel-tools/releases/download/v1.1.7/udm-kernel-tools_1.1.7_arm64.deb
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/340867405/2a980e46-63a7-4765-b046-85112f96b121?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230806%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230806T190322Z&X-Amz-Expires=300&X-Amz-Signature=9a22f6b8f71749f47dff06ec9331e74af88cf789f9eb44ee1c213c4aeea9a8ea&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=340867405&response-content-disposition=attachment%3B%20filename%3Dudm-kernel-tools_1.1.7_arm64.deb&response-content-type=application%2Foctet-stream [following]
--2023-08-06 21:03:22-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/340867405/2a980e46-63a7-4765-b046-85112f96b121?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230806%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230806T190322Z&X-Amz-Expires=300&X-Amz-Signature=9a22f6b8f71749f47dff06ec9331e74af88cf789f9eb44ee1c213c4aeea9a8ea&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=340867405&response-content-disposition=attachment%3B%20filename%3Dudm-kernel-tools_1.1.7_arm64.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 40844 (40K) [application/octet-stream]
Saving to: 'udm-kernel-tools_1.1.7_arm64.deb'
udm-kernel-tools_1.1.7_ 100%[==============================>] 39.89K --.-KB/s in 0.002s
2023-08-06 21:03:22 (20.0 MB/s) - 'udm-kernel-tools_1.1.7_arm64.deb' saved [40844/40844]
root@ubnt:/# apt install ./udm-kernel-tools_1.1.7_arm64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'udm-kernel-tools' instead of './udm-kernel-tools_1.1.7_arm64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
udm-kernel-tools : Depends: kexec-tools but it is not installable
Depends: busybox-static but it is not installable
Depends: kmod but it is not installable
Depends: cpio but it is not installable
E: Unable to correct problems, you have held broken packages.
root@ubnt:/#
TheIronRock95 commented
Fixt the issue with updating my sources.list with
echo "deb http://archive.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list