无法在Ubuntu 16.04上安装Kile

我正在尝试为Ubuntu 16.04安装kile。 在我尝试安装Wine HQ之前的几天。但是它显示了相同的错误,无法完成。 尝试了许多代码,根本无法正常工作。 试图从Ubuntu软件安装kile,它将说安装一秒钟左右,然后返回到安装按钮。当我尝试更新我已安装的软件时,它只会显示安装标志,但不会更新,请返回安装按钮.....

tdasathira@tdasathira-VPCEH25EN:~$ sudo apt-get update Hit:1 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial InRelease Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease Reading package lists... Done W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:2 and /etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:3 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:2 and /etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:4 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:2 and /etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:3 W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:2 and /etc/apt/sources.list.d/wine-ubuntu-wine-builds-xenial.list:4 tdasathira@tdasathira-VPCEH25EN:~$ sudo apt-get install kile Reading package lists... Done Building dependency tree
Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: adwaita-icon-theme : Depends: libgtk-3-bin kile : Depends: konsole4-kpart but it is not going to be installed Depends: texlive-latex-base but it is not going to be installed Depends: kde-runtime (> 4:4.10) but it is not going to be installed Depends: libkdecore5 (>= 4:4.4.95) but it is not going to be installed Depends: libkdeui5 (>= 4:4.9.98) but it is not going to be installed Depends: libkfile4 (>= 4:4.4.4) but it is not going to be installed Depends: libkhtml5 (>= 4:4.4.4) but it is not going to be installed Depends: libkio5 (>= 4:4.4.4) but it is not going to be installed Depends: libkparts4 (>= 4:4.5.85) but it is not going to be installed Depends: libkrosscore4 (>= 4:4.4.4) but it is not going to be installed Depends: libktexteditor4 (>= 4:4.4.95) but it is not going to be installed Depends: libqt4-dbus (>= 4:4.5.3) but it is not going to be installed Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not going to be installed Depends: libqtgui4 (>= 4:4.8.0) but it is not going to be installed Recommends: dvipng but it is not going to be installed Recommends: ghostscript Recommends: imagemagick Recommends: psutils Recommends: texlive but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). tdasathira@tdasathira-VPCEH25EN:~$ sudo apt-get -f installReading package lists... Done Building dependency tree
Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: libgtk-3-bin The following NEW packages will be installed: libgtk-3-bin 0 upgraded, 1 newly installed, 0 to remove and 90 not upgraded. 6 not fully installed or removed. Need to get 0 B/53.7 kB of archives. After this operation, 290 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 31867 files and directories currently installed.) Preparing to unpack .../libgtk-3-bin_3.18.9-1ubuntu3.3_amd64.deb ... Leaving 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin' Adding 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin' dpkg-divert: error: rename involves overwriting '/usr/share/man/man8/update-icon-caches.gtk2.8.gz' with different file '/usr/share/man/man8/update-icon-caches.8.gz', not allowed dpkg: error processing archive /var/cache/apt/archives/libgtk-3-bin_3.18.9-1ubuntu3.3_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libgtk-3-bin_3.18.9-1ubuntu3.3_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

评论