• 首页
  • Qt文档
  • DTK文档
  • 玲珑文档
  • 统信UOS安装cherrytree

    统信UOS安装cherrytree

    访问官网地址,下载安装包,

    https://launchpad.net/~giuspen/+archive/ubuntu/ppa/+packages

    我这里下载的cherrytree_0.37.6-1_all.deb

    uos@uos-PC:~/Desktop$ sudo dpkg -i cherrytree_0.37.6-1_all.deb 
    
    正在选中未选择的软件包 cherrytree。
    (正在读取数据库 ... 系统当前共安装有 247963 个文件和目录。)
    准备解压 cherrytree_0.37.6-1_all.deb  ...
    正在解压 cherrytree (0.37.6-1) ...
    dpkg: 依赖关系问题使得 cherrytree 的配置工作不能继续:
     cherrytree 依赖于 python-appindicator;然而:
      未安装软件包 python-appindicator。
     cherrytree 依赖于 python-dbus;然而:
      未安装软件包 python-dbus。
     cherrytree 依赖于 python-enchant;然而:
      未安装软件包 python-enchant。
     cherrytree 依赖于 python-gtksourceview2;然而:
      未安装软件包 python-gtksourceview2。
    
    dpkg: 处理软件包 cherrytree (--install)时出错:
     依赖关系问题 - 仍未被配置
    正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...
    正在处理用于 shared-mime-info (1.10.1-1+eagle) 的触发器 ...
    正在处理用于 man-db (2.8.5-2) 的触发器 ...
    正在处理用于 lastore-daemon (5.1.0.28-1) 的触发器 ...
    正在处理用于 bamfdaemon (0.5.4.1-1+eagle) 的触发器 ...
    Rebuilding /usr/share/applications/bamf-2.index...
    正在处理用于 desktop-file-utils (0.23-4) 的触发器 ...
    正在处理用于 mime-support (3.62) 的触发器 ...
    在处理时有错误发生:
     cherrytree
    

    这里提示缺少依赖包,下载所需依赖包

    wget http://ftp.br.debian.org/debian/pool/main/liba/libappindicator/libappindicator1_0.4.92-4_amd64.deb
    wget http://ftp.br.debian.org/debian/pool/main/p/pygtksourceview/python-gtksourceview2_2.10.1-3_amd64.deb
    wget http://ftp.br.debian.org/debian/pool/main/g/gtksourceview2/libgtksourceview2.0-0_2.10.5-3_amd64.deb
    wget http://ftp.br.debian.org/debian/pool/main/g/gtksourceview2/libgtksourceview2.0-common_2.10.5-3_all.deb
    
    root@uos-PC:/home/uos/Desktop# apt-get install python-dbus
    正在读取软件包列表... 完成
    正在分析软件包的依赖关系树       
    正在读取状态信息... 完成       
    您也许需要运行“apt --fix-broken install”来修正上面的错误。
    下列软件包有未满足的依赖关系:
     cherrytree : 依赖: python-enchant 但是它将不会被安装
     python-appindicator : 依赖: python-gobject 但是它将不会被安装
    E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt --fix-broken install”(也可以指定一个解决办法)。
    
    root@uos-PC:/home/uos/Desktop# apt --fix-broken install
    正在读取软件包列表... 完成
    正在分析软件包的依赖关系树       
    正在读取状态信息... 完成       
    正在修复依赖关系... 完成
    下列软件包是自动安装的并且现在不需要了:
      fbterm imageworsener libddcutil0 libdtkwidget2 liblqr-1-0 libmaxminddb0 libnatspec0 libqtermwidget5-0 libsbc1
      libsmi2ldbl libspandsp2 libwireshark-data libwireshark11 libwiretap8 libwscodecs2 libwsutil9 libx86-1 qtermwidget5-data
    使用'apt autoremove'来卸载它(它们)。
    将会同时安装下列软件:
      python-dbus python-enchant python-gobject
    建议安装:
      python-dbus-dbg python-dbus-doc python-wxgtk3.0
    下列【新】软件包将被安装:
      python-dbus python-enchant python-gobject
    升级了 0 个软件包,新安装了 3 个软件包,要卸载 0 个软件包,有 1 个软件包未被升级。
    有 2 个软件包没有被完全安装或卸载。
    需要下载 168 kB 的归档。
    解压缩后会消耗 675 kB 的额外空间。
    您希望继续执行吗? [Y/n] y
    获取:1 https://enterprise-packages.chinauos.com/server-enterprise fou/sp3/main amd64 python-gobject all 3.30.4-1 [20.0 kB]
    获取:2 https://enterprise-packages.chinauos.com/server-enterprise fou/sp3/main amd64 python-dbus amd64 1.2.8-3 [103 kB]
    获取:3 https://enterprise-packages.chinauos.com/server-enterprise fou/sp3/main amd64 python-enchant all 2.0.0-1 [45.1 kB]
    已下载 168 kB,耗时 1秒 (288 kB/s)   
    正在选中未选择的软件包 python-gobject。
    (正在读取数据库 ... 系统当前共安装有 248430 个文件和目录。)
    准备解压 .../python-gobject_3.30.4-1_all.deb  ...
    正在解压 python-gobject (3.30.4-1) ...
    正在选中未选择的软件包 python-dbus。
    准备解压 .../python-dbus_1.2.8-3_amd64.deb  ...
    正在解压 python-dbus (1.2.8-3) ...
    正在选中未选择的软件包 python-enchant。
    准备解压 .../python-enchant_2.0.0-1_all.deb  ...
    正在解压 python-enchant (2.0.0-1) ...
    正在设置 python-enchant (2.0.0-1) ...
    正在设置 python-gobject (3.30.4-1) ...
    正在设置 python-dbus (1.2.8-3) ...
    正在设置 python-appindicator (0.4.92-4) ...
    正在设置 cherrytree (0.37.6-1) ...
    Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": Key file contains line ?several times a second.  After a while, finds a new image to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, group, or comment
    
    root@uos-PC:/home/uos/Desktop# dpkg -i  cherrytree_0.37.6-1_all.deb
    (正在读取数据库 ... 系统当前共安装有 248488 个文件和目录。)
    准备解压 cherrytree_0.37.6-1_all.deb  ...
    正在解压 cherrytree (0.37.6-1) 并覆盖 (0.37.6-1) ...
    正在设置 cherrytree (0.37.6-1) ...
    Could not parse file "/usr/share/applications/screensavers/glitchpeg.desktop": Key file contains line ?several times a second.  After a while, finds a new image to corrupt. Written by Jamie Zawinski; 2018.? which is not a key-value pair, group, or comment
    正在处理用于 hicolor-icon-theme (0.17-2) 的触发器 ...
    正在处理用于 shared-mime-info (1.10.1-1+eagle) 的触发器 ...
    正在处理用于 man-db (2.8.5-2) 的触发器 ...
    正在处理用于 lastore-daemon (5.1.0.28-1) 的触发器 ...
    正在处理用于 bamfdaemon (0.5.4.1-1+eagle) 的触发器 ...
    Rebuilding /usr/share/applications/bamf-2.index...
    正在处理用于 desktop-file-utils (0.23-4) 的触发器 ...
    正在处理用于 mime-support (3.62) 的触发器 ...
    

    到这里就安装成功了,点击启动器图标可以使用了