Install youdao-dict in Ubuntu 16

2018-07-11  本文已影响0人  RayLeong

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
上一篇下一篇

猜你喜欢

热点阅读