我一直在读一本关于 Gimp 的书。这本书建议我访问LinuxWacom 项目以获取我拥有的 Wacom 平板电脑的驱动程序。
解压压缩包后,我必须进行配置和安装。但这部分是 ./configure 有趣的地方。
configure: error: Package requirements (xorg-server >= 1.7.0 xproto xext kbproto inputproto randrproto) were not met:
No package 'xorg-server' found
No package 'xproto' found
No package 'xext' found
No package 'kbproto' found
No package 'inputproto' found
No package 'randrproto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call …Run Code Online (Sandbox Code Playgroud) 例如,我想使用apt-get autoremove删除liba,但我不确定它是否足够智能以保留其他依赖项。例如,如果liba取决于libb,同时libc也取决于libb,将
sudo apt-get autoremove liba
Run Code Online (Sandbox Code Playgroud)
删除libb与否?提前致谢。
由于自动更新安装新内核并删除旧内核而陷入根磁盘已满问题后,我现在面临依赖问题,无法升级我的系统。
sudo apt-get -f install 命令以以下错误结束:
dpkg: dependency problems prevent configuration of linux-image-virtual:
linux-image-virtual depends on linux-image-3.2.0-52-virtual; however:
Package linux-image-3.2.0-52-virtual is not installed.
dpkg: error processing linux-image-virtual (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of linux-virtual:
linux-virtual depends on linux-image-virtual (= 3.2.0.52.62); however:
Package linux-image-virtual is not configured yet.
linux-virtual depends on linux-headers-virtual (= 3.2.0.52.62); however:
Version of linux-headers-virtual …Run Code Online (Sandbox Code Playgroud) 我在终端输入了这个:
sudo apt-get remove python3
Run Code Online (Sandbox Code Playgroud)
它给了我以下输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
fonts-dejavu-extra gir1.2-secret-1 icedtea-netx-common libbonobo2-0
libbonobo2-common libcpufreq0 libgconf2-4 libgif4 libgnome2-0 libgnome2-bin
libgnome2-common libgnomevfs2-0 libgnomevfs2-common libidl-common libidl0
liborbit2 tzdata-java
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
apparmor apport apport-gtk aptdaemon apturl apturl-common bluez bluez-alsa
bluez-gstreamer checkbox checkbox-qt command-not-found
deja-dup-backend-ubuntuone dh-python firefox flashplugin-installer
foomatic-db-compressed-ppds friends friends-dispatcher friends-facebook
friends-twitter gedit gnome-bluetooth …Run Code Online (Sandbox Code Playgroud) 我的系统上需要的两个软件依赖于libfltk1.1-dev和libfltk1.3-dev。我尝试安装两者,因为当我安装一个时,它会删除另一个。所以我在终端中输入了这个命令:
sudo apt-get install libfltk1.1-dev libfltk1.3-dev
Run Code Online (Sandbox Code Playgroud)
我得到了这个:
The following packages have unmet dependencies:
libfltk1.1-dev : Conflicts: libfltk-dev
libfltk1.3-dev : Conflicts: libfltk-dev
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
我可以/如何安装两者?
我卸载了 Libreoffice 并只安装了 Openoffice 发现我不再喜欢 OpenOffice。我今天卸载了 OpenOffice 并尝试安装 LibreOffice,但出现错误。
The following packages have unmet dependencies:
libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed
libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
libreoffice-java-common : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
y-ppa-manager : Depends: yad (>= 0.8.0) but it is not installed
Depends: python-software-properties but it is not installed
Run Code Online (Sandbox Code Playgroud)
所以我尝试这样做sudo apt-get -f install …
我对 Linux/命令行的东西非常陌生,所以请原谅我的无知。
每次我尝试使用安装任何东西时sudo apt-get install ...都会出现依赖错误。我正在尝试在我的机器上安装 OpenSSH Server 和 GitLab,每当我输入命令时,我似乎都会收到这样的依赖错误:
sudo apt-get install openssh-server
reading package lists... 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:
openssh-server : Depends: libwrap0 (>= 7.6-4~) …Run Code Online (Sandbox Code Playgroud) 我理解这一点非常相似,这个问题与这一个,但没有出现为我工作的答案。尝试安装这些问题中提到的软件包时,apt-get 会抛出以下错误消息:
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.
unity-webapps-service : Depends: webapp-container
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
当我尝试安装那里提到的依赖项时,我发现越来越多的依赖项。当我选择“修复损坏的包”时,Synaptic 包管理器会给出错误消息。我怎样才能解决这个问题?
提前致谢,如果您需要更多信息,请发表评论。
更新:运行apt-cache …
package-management apt dependencies webapps unity-tweak-tool
所以,我试图在我的 Ubuntu 15.10 安装上安装Mega ( http://mega.nz )的同步客户端。是的,我知道它是预发行版,但这是我的问题:当我安装 .dep 文件时,我明白了
Errors were encountered while processing:
megasync
dpkg: dependency problems prevent configuration of megasync:
megasync depends on libcrypto++9; however:
Package libcrypto++9 is not installed.
Run Code Online (Sandbox Code Playgroud)
当我尝试安装 libcrypto++9 时,出现以下错误:
E: Package 'libcrypto++9' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
然后它告诉我libcrypto++9v5替换它,但安装它不满足 MegaSync。
快速谷歌搜索显示v5意思是“使用 gcc5 编译”。唉,图书馆还是一样。为什么使用新名称,以及如何安装我的 .deb 文件?
我正在尝试让 Webext 工作。我读了这个http://www.linuxintro.org/wiki/Use_WebEx_with_Linux
它告诉我通过
ldd *.so | grep "not found"
它给了我这个列表:
~$ ldd .webex/1524/*.so | grep "not found"
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libXmu.so.6 => not found
libXtst.so.6 => not found
libstdc++.so.6 => not found
libXt.so.6 => not found
libXi.so.6 => not found
libstdc++.so.6 => not found
libstdc++.so.6 => not found
libstdc++.so.6 => not found
libjawt.so => not found
libasound.so.2 => not found
libstdc++.so.6 => not found
libstdc++.so.6 => not found
libjawt.so => not found
libXmu.so.6 …Run Code Online (Sandbox Code Playgroud)