无法在 Ubuntu 19.04 上安装 Bastion

无法在 Ubuntu 19.04 上安装 Bastion

尝试在 Ubuntu 19.04 上安装 Bastion 时出现以下错误:

$ sudo dpkg -i bastion_1.4-0ubuntu1_amd64.deb
Selecting previously unselected package bastion.
(Reading database ... 368522 files and directories currently installed.)
Preparing to unpack bastion_1.4-0ubuntu1_amd64.deb ...
Unpacking bastion (1.4-0ubuntu1) ...
dpkg: dependency problems prevent configuration of bastion:
 bastion depends on libalut0; however:
  Package libalut0 is not installed.
 bastion depends on libsdl-mixer1.2; however:
  Package libsdl-mixer1.2 is not installed.
 bastion depends on libsdl-ttf2.0-0; however:
  Package libsdl-ttf2.0-0 is not installed.
 bastion depends on libsdl-net1.2; however:
  Package libsdl-net1.2 is not installed.
 bastion depends on libsmpeg0; however:
  Package libsmpeg0 is not installed.
 bastion depends on libsdl-gfx1.2-4; however:
  Package libsdl-gfx1.2-4 is not installed.
 bastion depends on libtxc-dxtn-s2tc0; however:
  Package libtxc-dxtn-s2tc0 is not installed.

dpkg: error processing package bastion (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-4ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 bastion

我怎样才能解决这个问题?

答案1

没那么容易:

  1. 安装随时可用的依赖项:

    sudo apt install libalut0 libsdl-mixer1.2 libsdl-ttf2.0-0 libsdl-net1.2 libsmpeg0
    
  2. 下载并安装libsdl-gfx1.2-4:

    wget http://launchpadlibrarian.net/132696522/libsdl-gfx1.2-4_2.0.23-3_amd64.deb
    sudo dpkg -i libsdl-gfx1.2-4_2.0.23-3_amd64.deb
    
  3. 下载并安装 libtxc-dxtn-s2tc0:

    wget http://mirrors.kernel.org/ubuntu/pool/main/s/s2tc/libtxc-dxtn-s2tc0_0~git20131104-1.1_amd64.deb
    sudo dpkg -i libtxc-dxtn-s2tc0_0~git20131104-1.1_amd64.deb
    
  4. 最后,安装 Bastion:

    sudo dpkg -i bastion_1.4-0ubuntu1_amd64.deb
    

相关内容