一、前言

我们经常都需要通过局域网来传输各种文件/文件夹,从普通的电影、音乐、软件、学习材料、工作资料到大型的游戏、甚至是岛国的动作片等等,常常用Windows共享或QQ来传输都不是那么的方便。

Dukto 是一款非常简单实用的局域网文件传输工具,类似国内比较常用的飞鸽传书、飞秋等。而相比它们更出色,Dukto 完全免费开源,而且支持 Win、Mac、Linux、iOS、Android 等系统的跨平台传文件,拥有 Win8 的简约风格界面。只要电脑/手机们位于同一个局域网下 (不必连接互联网),

但自从 工作机从Ubuntu18.04升级到Ubuntu20.04之后,发现dukto不能用了。安装的时候提示:

electing previously unselected package dukto.
(Reading database ... 198333 files and directories currently installed.)
Preparing to unpack dukto_6.0-1_amd64.deb ...
Unpacking dukto (6.0-1) ...
dpkg: dependency problems prevent configuration of dukto:
 dukto depends on libqt4-declarative (>= 4:4.7.0~rc1); however:
  Package libqt4-declarative is not installed.
 dukto depends on libqt4-network (>= 4:4.5.3); however:
  Package libqt4-network is not installed.
 dukto depends on libqtcore4 (>= 4:4.7.0~beta1); however:
  Package libqtcore4 is not installed.
 dukto depends on libqtgui4 (>= 4:4.6.1); however:
  Package libqtgui4 is not installed.

dpkg: error processing package dukto (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Errors were encountered while processing:
 dukto

原因是dukto依赖libqt4,而Ubuntu20.04放弃了对libqt4的支持,转向更高的版本libqt5。

二、解决方案:安装libqt4

安装

sudo add-apt-repository ppa:rock-core/qt4
sudo apt update
sudo apt install libqtcore4

三、ubuntu中的Dukto.deb的下载地址

https://download.csdn.net/download/hjxu2016/33238168

四、安装

sudo dpkg -i dukto_6.0-1_amd64.deb

请添加图片描述

参考文献

https://www.cnblogs.com/zzugyl/p/13261329.html

Logo

更多推荐