当我试图安装正式的MySQL工作台时,它显示了libproj19不可用的依赖性问题。然而,只有当我试图从APT安装时,repos才有libproj22。
有人能帮我吗?
System: Host: cosmic Kernel: 5.16.19-76051619-generic x86_64 bits: 64
Console: pty pts/1 Distro: Pop!_OS 22.04 LTSkarthik@cosmic:~/Downloads$ sudo dpkg -i mysql-workbench-community_8.0.28-1ubuntu21.10_amd64.deb
Selecting previously unselected package mysql-workbench-community.
(Reading database ... 629535 files and directories currently installed.)
Preparing to unpack mysql-workbench-community_8.0.28-1ubuntu21.10_amd64.deb ...
Unpacking mysql-workbench-community (8.0.28-1ubuntu21.10) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:
mysql-workbench-community depends on libproj19 (>= 7.2.0); however:
Package libproj19 is not installed.
dpkg: error processing package mysql-workbench-community (--install):
dependency problems - leaving unconfigured
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.1-2) ...
Errors were encountered while processing:
mysql-workbench-community
karthik@cosmic:~/Downloads$ sudo apt install libproj19
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libproj19 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libproj19' has no installation candidatekarthik@cosmic:~/Downloads$ apt list -i | grep "libproj"
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libproj22/jammy,now 8.2.1-1 amd64 [installed]
karthik@cosmic:~/Downloads$发布于 2022-06-21 03:55:51
我解决了。很蠢的方式但很管用。
我缩小了每个相互冲突的依赖项,手动安装了Debian/ubuntu repos中的deb文件。
每当其中一个人再次发生依赖冲突时,我对他们重复同样的方法。
我花了大约30分钟做这件事,但终于让.deb版的工作台在22.04上工作了
发布于 2022-05-12 13:38:40
在ubuntu 22.04 lts下也是如此。试着用快照!
snap install mysql-workbench-community只有您以前安装的mysql工作台中的设置没有了。不知道,是否有方法将~/..mysql/workbench中的设置导入到新的snap安装中。
发布于 2023-01-18 05:37:28
这比我想象的要容易得多。在Ubuntu上,我只允许应用程序安装程序的所有权限,瞧!
https://unix.stackexchange.com/questions/700209
复制相似问题