tiny-rdm
tiny-rdm copied to clipboard
[BUG] Unable to install DEB on Ubuntu 24.04
Tiny RDM Version 1.2.0
OS Version Ubuntu Linux 24.04
Redis Version N/A
Describe the bug
I'm trying to install this on Ubuntu 24.04 (noble) using dpkg command. It fails as it can't find the dependency libwebkit2gtk-4.0-37. I also tried installing the closest available package using the following command but it didn't help at all: sudo apt install libwebkit2gtk-4.1-dev.
Steps to Reproduce:
- Install Ubuntu 24.04
- Download tiny-rdm_1.2.0_linux_amd64.deb
sudo dpkg -i tiny-rdm_1.2.0_linux_amd64.deb
Selecting previously unselected package tinyrdm.
(Reading database ... 281065 files and directories currently installed.)
Preparing to unpack tiny-rdm_1.2.0_linux_amd64.deb ...
Unpacking tinyrdm (1.2.0) ...
dpkg: dependency problems prevent configuration of tinyrdm:
tinyrdm depends on libwebkit2gtk-4.0-37; however:
Package libwebkit2gtk-4.0-37 is not installed.
dpkg: error processing package tinyrdm (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
tinyrdm
Maybe you need to pull the code to compile and run it yourself. Try to remove the Depends line:
https://github.com/tiny-craft/tiny-rdm/blob/c38944e9485032e0f6144b6e030db9adb78bd498/build/linux/tiny-rdm_0.0.0_amd64/DEBIAN/control#L6
It's difficult to work with different Linux system, they may use different versions of webkit, so the deb package is not suitable for most them.
@tiny-craft 我是 Debian sid,也是很久之前就装不上了。
libwebkit2gtk-4.0-37 在 Ubuntu 24.04 及其上游 Debian sid 都已经被删掉了,应该使用 libwebkit2gtk-4.1-0 替代。你的构建环境还是 Ubuntu 20.04,所以一直没报错。
Clash Verge 也遇到这种情况,其在一个多月前的新版本中用 libwebkit2gtk-4.1-0 进行了替换。这样 Ubuntu 20.04 上会安装不上,虽然 20.04 离 EOL 也就几个月了。
你可以试试 libwebkit2gtk-4.1-0 | libwebkit2gtk-4.0-37,然后分别在 Ubuntu 20 和 24 上构建一次,提供两个包。
你可以试试
libwebkit2gtk-4.1-0 | libwebkit2gtk-4.0-37,然后分别在 Ubuntu 20 和 24 上构建一次,提供两个包。
我也发现不同版本的libwebkit2gtk还互不兼容,这个目前只能你们先自己通过源码编译了,正在用Avalonia重写中,希望可以减少一些平台差异😂
Related to #428