我正在尝试在新安装的 ubuntu 20.04 上安装 MegaSync =)。他们已经为 ubuntu 20.04 推出了一个版本。(参见https://mega.nz/sync)。但是,当我尝试使用 安装它时,sudo dpkg -i megasync-xUbuntu_20.04_amd64.deb
我得到了一大堆依赖性错误。在我看来,Megasync 缺少一些软件包。但是,当我打开软件更新程序时,它说没有需要进行的新更新。我对 Ubuntu 还不是很熟悉,所以任何帮助都将不胜感激。
Selecting previously unselected package megasync.
(Reading database ... 195014 files and directories currently installed.)
Preparing to unpack megasync-xUbuntu_20.04_amd64.deb ...
Unpacking megasync (4.3.1-15.1) ...
dpkg: dependency problems prevent configuration of megasync:
megasync depends on libc-ares2 (>= 1.7.4); however:
Package libc-ares2 is not installed.
megasync depends on libcrypto++6; however:
Package libcrypto++6 is not installed.
megasync depends on libmediainfo0v5 (>= 0.7.56); however:
Package libmediainfo0v5 is not installed.
megasync depends on libqt5core5a (>= 5.12.2); however:
Package libqt5core5a is not installed.
megasync depends on libqt5dbus5 (>= 5.0.2); however:
Package libqt5dbus5 is not installed.
megasync depends on libqt5gui5 (>= 5.8.0) | libqt5gui5-gles (>= 5.8.0); however:
Package libqt5gui5 is not installed.
Package libqt5gui5-gles is not installed.
megasync depends on libqt5network5 (>= 5.1.0); however:
Package libqt5network5 is not installed.
megasync depends on libqt5svg5 (>= 5.6.0~beta); however:
Package libqt5svg5 is not installed.
megasync depends on libqt5widgets5 (>= 5.11.0~rc1); however:
Package libqt5widgets5 is not installed.
megasync depends on libzen0v5 (>= 0.4.31-2~); however:
Package libzen0v5 is not installed.
dpkg: error processing package megasync (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu2) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
megasync
答案1
你必须使用apt
/apt-get
而不是dpkg
。它们将安装软件包的依赖项:
sudo apt install ./megasync-xUbuntu_20.04_amd64.deb
答案2
我在网上找到的解决方案均不起作用,因此我尝试了以下方法:
我从这里下载了 libcrypto++9,并将其安装为 .deb。 http://archive.ubuntu.com/ubuntu/pool/universe/libc/libcrypto++/libcrypto++9_5.6.1-6_amd64.deb
对于 libc6 也是一样: http://ftp.br.debian.org/debian/pool/main/g/glibc/libc6_2.31-4_amd64.deb
您应该对您自己的配置中缺少的任何包执行此操作。我推荐这个网站来找到它们:https://pkgs.org/