无法安装 .deb 文件

无法安装 .deb 文件

我最近从 Kubuntu 换到了 Xubuntu。我觉得有些文件可能被删除了。我尝试安装 Vlc Player 和其他 .deb 包时出现以下错误。请帮忙

错误:

root@Aravinth:/home/aravinthan/Softwares/Players# sudo dpkg -i vlc-media-player-2-    1-4-es-en-br-fr-de-it-cn-ubu.deb 
(Reading database ... 312909 files and directories currently installed.)
Preparing to unpack vlc-media-player-2-1-4-es-en-br-fr-de-it-cn-ubu.deb ...
Unpacking vlc (2.1.4-1) over (2.1.4-1) ...
dpkg: dependency problems prevent configuration of vlc:
vlc depends on vlc-nox (= 2.1.4-1).
vlc depends on libtar0.
vlc depends on libvlccore7 (>= 2.1.0).

dpkg: error processing package vlc (--install):
dependency problems - leaving unconfigured
Processing triggers for mime-support (3.55ubuntu1.1) ...
Processing triggers for bamfdaemon (0.5.1+14.10.20140925-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for man-db (2.7.0.2-2) ...
Errors were encountered while processing:
vlc
root@Aravinth:/home/aravinthan/Softwares/Players# 

我正在尝试安装 vlc-nox,它需要以下库。我该怎么办?

root@Aravinth:/home/aravinthan/Softwares/Players# sudo dpkg -i vlc-nox_2.1.4-1_amd64.deb 
Selecting previously unselected package vlc-nox.
(Reading database ... 312909 files and directories currently installed.)
Preparing to unpack vlc-nox_2.1.4-1_amd64.deb ...
Unpacking vlc-nox (2.1.4-1) ...
dpkg: dependency problems prevent configuration of vlc-nox:
 vlc-nox depends on liba52-0.7.4.
 vlc-nox depends on libass4 (>= 0.9.7); however:
  Package libass4:amd64 is not installed.
 vlc-nox depends on libavcodec54 (>= 6:9.1-1) | libavcodec-extra-54 (>= 6:9.13); however:
  Package libavcodec54:amd64 is not installed.
  Package libavcodec-extra-54 is not installed.
 vlc-nox depends on libavformat54 (>= 6:9.1-1); however:
  Package libavformat54:amd64 is not installed.
 vlc-nox depends on libavutil52 (>= 6:9.1-1); however:
  Package libavutil52:amd64 is not installed.
 vlc-nox depends on libbasicusageenvironment0; however:
 vlc-nox depends on libcddb2; however:
 vlc-nox depends on libgnutls28 (>= 3.2.10-0); however:
  Package libgnutls28:amd64 is not installed.
 vlc-nox depends on libgroupsock1; however:
 vlc-nox depends on libkate1 (>= 0.3.0); however:
 vlc-nox depends on liblircclient0; however:
 vlc-nox depends on liblivemedia23; however:
 vlc-nox depends on libmodplug1; however:
 vlc-nox depends on libpostpro
dpkg: error processing package vlc-nox (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.0.2-2) ...
Errors were encountered while processing:
 vlc-nox
root@Aravinth:/home/aravinthan/Softwares/Players# 

我的问题是什么?

答案1

也许你需要格德比,它可以在你安装.deb时帮你自动安装需要的依赖包。

首先,你应该安装它 sudo apt-get install gdebi

然后你可以 sudo gdebi xx.deb

相关内容