From ba198165a9603b581318c8b41aeeb49b1072c28a Mon Sep 17 00:00:00 2001 From: Phil Clifford Date: Sun, 31 Aug 2025 20:11:52 +0100 Subject: [PATCH] fix: Update debian package dependencies The dependency on `fd-find` causes a removal of `fd` due to a noted conflict and if the user has installed `fd` (i.e. from github or via `deb-get` ) because the renamed `fd-find` in their distro old LTS installation is too old they'll suffer a surprise downgrade or get into a blocked situation. ``` $ apt-cache policy fd-find fd fd-find: Installed: (none) Candidate: 8.3.1-1ubuntu0.1 Version table: 8.3.1-1ubuntu0.1 500 500 http://gb.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages 500 http://gb.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages 8.3.1-1 500 500 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages fd: Installed: 10.3.0 Candidate: 10.3.0 Version table: *** 10.3.0 100 100 /var/lib/dpkg/status ``` It might be preferable even to limit the `fd` dependency to >='10.3.0' , but I think the simple alternative would do --- yazi-packing/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-packing/Cargo.toml b/yazi-packing/Cargo.toml index 6f2a275e..b2be4419 100644 --- a/yazi-packing/Cargo.toml +++ b/yazi-packing/Cargo.toml @@ -11,7 +11,7 @@ repository = "https://github.com/sxyazi/yazi" [package.metadata.deb] name = "yazi" license-file = [ "../LICENSE", "0" ] - depends = "file, ffmpeg, 7zip, jq, poppler-utils, fd-find, ripgrep, fzf, zoxide, imagemagick, xsel|xclip|wl-clipboard" + depends = "file, ffmpeg, 7zip, jq, poppler-utils, fd-find|fd, ripgrep, fzf, zoxide, imagemagick, xsel|xclip|wl-clipboard" recommends = "bash-completion" extended-description-file = "README.md" section = "utility"