美文网首页
Install youdao-dict in Ubuntu 16

Install youdao-dict in Ubuntu 16

作者: RayLeong | 来源:发表于2018-07-11 14:31 被阅读0次

I met an error today when I tried to install youdao-dict in Ubuntu 16.04: youdao-dict depends on gstreamer0.10-plugins-ugly; however: Package gstreamer0.10-plugins-ugly is not installed.



This package has been canceled in ubuntu, we cannot install it. However it's not necessary for youdao-dict. So here is the process to remove this dependence.

  1. Extract deb file.
    $ dpkg -X ./youdao-dict_1.1.0-0-ubuntu_amd64.deb youdao
  2. Extract control info(contains whole dependences info) from deb file.
    $ dpkg -e ./youdao-dict_1.1.0-0-ubuntu_amd64.deb youdao/DEBIAN
  3. Edit control file and remove 'gstreamer0.10-plugins-ugly'.
  4. Repack the youdao directory to youdao.deb.
    $ dpkg-deb -b youdao youdao.deb
  5. Install the new youdao.deb.
    $ sudo dpkg -i youdao.deb

相关文章

网友评论

      本文标题:Install youdao-dict in Ubuntu 16

      本文链接:https://www.haomeiwen.com/subject/zgshpftx.html