我最近在我的服务器上安装了 Ubuntu,我想安装 TeamViewer 以便我可以轻松管理虚拟机,但是,从 App Store 安装时出现错误?,我也出现错误,但在终端上更详细。
错误输出:
tek@tek-G53SW:~/Download$ sudo dpkg -i ipts teamviewer_linux_x64.deb
dpkg: error processing ipts (--install):
cannot access archive: No such file or directory
(Reading database ... 142115 files and directories currently installed.)
Preparing to replace teamviewer7 7.0.9360 (using teamviewer_linux_x64.deb) ...
Unpacking replacement teamviewer7 ...
dpkg: dependency problems prevent configuration of teamviewer7:
teamviewer7 depends on libc6-i386 (>= 2.7); however:
Package libc6-i386 is not installed.
teamviewer7 depends on lib32asound2; however:
Package lib32asound2 is not installed.
teamviewer7 depends on …
Run Code Online (Sandbox Code Playgroud) 安装Skype时,是否通过运行(启用合作伙伴存储库后):
sudo apt-get install skype
Run Code Online (Sandbox Code Playgroud)
或者从.deb
您从 Skype 网站获得的文件安装它。我总是发现总是有大量的32位依赖需要安装:
gstreamer1.0-plugins-base:i386 libasound2:i386 libasound2-plugins:i386
libasyncns0:i386 libaudio2:i386 libavahi-client3:i386
libavahi-common-data:i386 libavahi-common3:i386 libcdparanoia0:i386
libcups2:i386 libdbus-1-3:i386 libdbusmenu-qt2:i386 libflac8:i386
libfontconfig1:i386 libfreetype6:i386 libglib2.0-0:i386 libglu1-mesa:i386
libgmp10:i386 libgnutls-deb0-28:i386 libgssapi-krb5-2:i386
libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libhogweed4:i386
libice6:i386 libicu55:i386 libjack-jackd2-0:i386 libjbig0:i386
libjpeg-turbo8:i386 libjpeg8:i386 libjson-c2:i386 libk5crypto3:i386
libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386
libmng2:i386 libmysqlclient18:i386 libnettle6:i386 libogg0:i386
liborc-0.4-0:i386 libp11-kit0:i386 libpng12-0:i386 libpulse0:i386
libqt4-dbus:i386 libqt4-declarative:i386 libqt4-network:i386
libqt4-opengl:i386 libqt4-script:i386 libqt4-sql:i386 libqt4-sql-mysql:i386
libqt4-xml:i386 libqt4-xmlpatterns:i386 libqtcore4:i386 libqtdbus4:i386
libqtgui4:i386 libqtwebkit4:i386 libsamplerate0:i386 libsm6:i386
libsndfile1:i386 libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386
libtasn1-6:i386 libtheora0:i386 libtiff5:i386 libvisual-0.4-0:i386
libvisual-0.4-plugins:i386 libvorbis0a:i386 libvorbisenc2:i386 libwrap0:i386 …
Run Code Online (Sandbox Code Playgroud) 我在从终端安装应用程序时遇到问题。这些是此问题的示例:
Ratanak@ratanak-walker:~$ sudo apt-get install httrack 阅读包裹清单...完成 构建依赖树 读取状态信息...完成 您可能需要运行 'apt --fix-broken install' 来纠正这些问题。 以下软件包具有未满足的依赖项: httrack : 取决于: libhttrack2 (>= 3.48.24) 但它不会被安装 rstudio : 取决于: libjpeg62 但它不会被安装 取决于:libgstreamer0.10-0 但它不可安装 取决于:libgstreamer-plugins-base0.10-0 但它不可安装 推荐:r-base (>= 2.11.1) 但它不会被安装 E:未满足的依赖项。尝试不带软件包的“apt --fix-broken install”(或指定解决方案)。 Ratanak@ratanak-walker:~$ sudo apt-get install r-base 阅读包裹清单...完成 构建依赖树 读取状态信息...完成 您可能需要运行 'apt --fix-broken install' 来纠正这些问题。 以下软件包具有未满足的依赖项: r-base : 取决于: r-base-core (>= 3.4.0-1xenial0) 但它不会被安装 取决于:r-recommended (= 3.4.0-1xenial0) 但它不会被安装 推荐:r-base-html 但它不会被安装 推荐: r-doc-html 但它不会被安装 rstudio : 取决于: libjpeg62 但它不会被安装 取决于:libgstreamer0.10-0 但它不可安装 取决于:libgstreamer-plugins-base0.10-0 但它不可安装 E:未满足的依赖项。尝试不带软件包的“apt --fix-broken install”(或指定解决方案)。 …
我一直在想,有没有办法告诉我,dpkg
或者apt-get
当我想安装一个包时,还要安装它需要的所有依赖项?我安装了一个软件包,dpkg
但它抱怨了一些依赖问题,所以我不得不一个一个手动搜索,有没有更好的方法来做到这一点?
为什么 plymouth 如此重要以至于无法在 ubuntu 桌面 11.04 上删除?
它的优先需要,并mountall
和cryptsetup
依赖于它。
我真的没有任何需要删除它,但是一个朋友问了,所以我只是好奇。
我们看到大多数 Windows 软件都打包在一个可执行文件中。当我双击安装文件时,它会用它设置所有文件、二进制文件和库。
我了解 Ubuntu 或更一般的 linux 软件包的依赖性。但我想知道,为什么这些存在。是否可以构建具有所有依赖项的单个文件?这种方法有什么问题?
请尽量详细说明原因。
当我尝试运行时,我不断收到此错误sudo apt-get install nvidia-current
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nvidia-current : Depends: xorg-video-abi-11
Depends: xserver-xorg-core (>= 2:1.10.99.901)
E: …
Run Code Online (Sandbox Code Playgroud) 当我尝试安装系统更新时,skype
或phpmyadmin
出现此错误:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6 : Depends: libgcc1 but it is not going to be installed
Depends: tzdata but it is not going to be installed
libc6-dev : Depends: libc-dev-bin (= 2.15-0ubuntu10.3)
Depends: linux-libc-dev but it is not going to be installed
Recommends: gcc but it is not going to be installed or
c-compiler
skype:i386 : Depends: libasound2:i386 (>= 1.0.16) but it …
Run Code Online (Sandbox Code Playgroud) 是apt-get purge --auto-remove packagename
有效的命令吗?
或者,它必须是apt-get remove --purge --auto-remove packagename
?
apt-get 的 Ubuntu 手册页(http://manpages.ubuntu.com/manpages/precise/man8/apt-get.8.html)只提到使用 --auto-remove 选项“如果命令是安装或remove...”,所以我想知道它是否也可以与 purge 命令一起使用,因为这只是带有 --purge 选项的 remove 命令的快捷方式。
谢谢你。
尝试安装时收到以下错误消息libglew-dev
,
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to …
Run Code Online (Sandbox Code Playgroud) dependencies ×10
apt ×3
32-bit ×1
64-bit ×1
boot ×1
dpkg ×1
drivers ×1
nvidia ×1
phpmyadmin ×1
plymouth ×1
r ×1
skype ×1
teamviewer ×1