我刚刚在我的 vserver 上从 lenny 更新了我的 Debian 系统,然后按照此处所述进行挤压。
我在安装过程中遇到一些错误,说无法更新 glibc。
我做了一个apt-get -f install,它给了我以下警告:
警告:此版本的 GNU libc 需要内核版本 2.6.18 或更高版本。请在安装 glibc 之前升级您的内核。
2.6内核的安装可能会要求你先安装一个新的libc,这是不是一个错误,并应不报。在这种情况下,请将 lenny 源添加到您的 /etc/apt/sources.list 并运行: apt-get install -t lenny linux-image-2.6 然后重新启动到这个新内核,并继续升级
dpkg: error processing /var/cache/apt/archives/libc6_2.10.2-2_i386.deb (--unpack): subprocess new pre-installation script returned error exit status 1 处理时遇到错误:/var/cache/apt/档案/libc6_2.10.2-2_i386.deb
我将这些行添加到我的/etc/apt/sources.list:
deb http://ftp.de.debian.org/debian squeeze main contrib non-free
deb http://ftp.de.debian.org/debian-volatile squeeze/volatile main contrib non-free
deb http://ftp.de.debian.org/debian-security squeeze/updates main contrib non-free
deb http://ftp.de.debian.org/debian lenny main contrib …Run Code Online (Sandbox Code Playgroud) 我们有一台运行 Gentoo 的旧开发服务器在工作。我想更新这个系统,但我一直遇到打包系统的问题。对我来说,似乎对各种软件包的多个版本存在依赖关系,我不知道如何修复它。
最大的问题可能与 Python 和 Portage 有关。我需要一个更新的 portage,但似乎存在周期性依赖关系。
我尝试了各种解决方案,但不太确定从这里开始。任何可能让我进一步修复它的线索?
更多信息
以下是运行的(相关位)输出 emerge --update --newuse --deep @world
(lots of normal output ....)
[ebuild U ] app-misc/mc-4.7.0.3 [4.6.1-r4] USE="edit%* -slang*"
....
[blocks B ] >=dev-lang/python-2.6.6 (">=dev-lang/python-2.6.6" is blocking sys-apps/portage-2.1.6.7)
[blocks B ] <sys-apps/portage-2.1.7.16 ("<sys-apps/portage-2.1.7.16" is blocking app-shells/bash-4.1_p9)
[blocks B ] <sys-apps/portage-2.1.9 ("<sys-apps/portage-2.1.9" is blocking dev-lang/python-2.7.1-r1)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(dev-lang/python-2.7.1-r1, ebuild scheduled for merge) …Run Code Online (Sandbox Code Playgroud) 我已经安装了 Ubuntu(Ubuntu 2.6.38-11-generic-pae #50-Ubuntu SMP,i686 Athlon i386 GNU/Linux)。我是 Linux 新手。
我正在尝试使用命令行安装 VLC 媒体播放器:
% sudo apt-get update
% sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc
Run Code Online (Sandbox Code Playgroud)
第一个命令执行没有问题。然后我尝试运行第二行,它给了我以下输出:
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 …Run Code Online (Sandbox Code Playgroud) 我无法删除 AWS 上的安全组。我有零个实例 - 正在运行或已停止,并且 aws 卷为零。经过十几次或多次尝试后,我已验证这些消息反映了:
a) 组之间的循环依赖 b) 不正确的依赖
我不知道如何删除这些组。
更新 我无法删除以下任何安全组。他们都报告了彼此之间的依赖关系。这真是一团糟。
首先,我设法在无法访问互联网的服务器上安装 Ansible。但我想知道我的做法是否正确。
首先我通过下载了必要的依赖项pip3。
pip3 download ansible -d .
Run Code Online (Sandbox Code Playgroud)
这导致下载以下文件:
ansible-2.9.4.tar.gz
cryptography-2.8-cp34-abi3-manylinux1_x86_64.whl
MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
PyYAML-5.3.tar.gz
cffi-1.13.2-cp36-cp36m-manylinux1_x86_64.whl
Jinja2-2.11.1-py2.py3-none-any.whl
pycparser-2.19.tar.gz
six-1.14.0-py2.py3-none-any.whl
Run Code Online (Sandbox Code Playgroud)
现在我已经在远程计算机上提供了这些文件,我尝试使用
pip3 install ansible-2.9.4.tar.gz
Run Code Online (Sandbox Code Playgroud)
安装ansible。
这导致了以下错误:
Processing ./ansible-2.9.4.tar.gz
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by
'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at
0x7f00726f9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/jinja2/
Run Code Online (Sandbox Code Playgroud)
所以我尝试手动安装 Jinja2:
pip3 install jinja2-2.11.1-py2.py3-none-any.whl
Run Code Online (Sandbox Code Playgroud)
但这也不起作用:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection
broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at
0x7fd303a23940>: Failed to establish …Run Code Online (Sandbox Code Playgroud) 当我在 Wine 下运行我的应用程序时:
wine my_app.exe
Run Code Online (Sandbox Code Playgroud)
我有这个烦人的弹出窗口:
其中说:
Wine 找不到嵌入 HTML 的应用程序正常工作所需的 Gecko 包。
我知道我需要安装Gecko(通过sudo apt-get install wine-gecko\*或使用install-addons.sh脚本),
但是我不想安装 Gecko,而只是抑制/隐藏此消息,因为我的应用程序在按“取消”按钮时可以正常工作。
我怎样才能做到这一点?有什么参数吗?
跑步wine --help还是man wine不多说。
当我使用命令时
apt --fix-broken install
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
正在读取包列表...完成
构建依赖关系树
读取状态信息...完成
更正依赖关系...失败。
以下软件包具有未满足的依赖项:
libhogweed4 : Depends: libnettle6 (= 3.3-1+b1) but 3.4-1 is installed
mana-toolkit : Depends: dnsmasq but it is not installable
E: Error, pkgProblemResolver::Resolve生成中断,这个可能是包裹滞留造成的。
E: 无法纠正依赖关系
因此,我无法安装任何东西。
我能做什么?
我收到如下错误:
gcc -m64 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c read.c -o read.o
In file included from read.c:1:0:
rjcommon.h:11:21: fatal error: jpeglib.h: No such file or directory
compilation terminated.
/usr/lib64/R/etc/Makeconf:134: recipe for target 'read.o' failed
make: *** [read.o] Error 1
ERROR: compilation failed for package ‘jpeg’
* removing ‘/home/-/R/x86_64-redhat-linux-gnu-library/3.2/jpeg’
Warning in install.packages :
installation of package ‘jpeg’ had non-zero exit status
ERROR: dependency ‘jpeg’ is not available for package ‘ggmap’ …Run Code Online (Sandbox Code Playgroud) apt-get build-dep是一个有用的工具。它安装指定应用程序的“构建依赖项”。
例如:
sudo apt-get build-dep firefox
将安装编译 Firefox 所需的所有工具。
过去没有简单的方法可以撤消apt-get build-dep操作。
但今天,mk-build-deps来拯救你。apt-get build-dep您可以使用 canmk-build-deps来创建一个依赖于您最喜欢的应用程序依赖项的新包,而不是使用。
mk-build-deps是作为devscripts包的一部分包含的 Perl 脚本。
然后您可以使用aptitude install安装新包,并aptitude remove安装它(连同它的依赖项)。
适用于 Linux 的 Windows 子系统 (WSL) 是一个兼容层,可让您在 Windows 10 之上使用部分(但不是全部)某些 Linux 发行版。
我试着跑mk-build-deps jpilot。我在 Windows Linux 子系统上使用 Ubuntu 16.04.2,在 Windows 10 版本 1703(操作系统版本 15063.483)上。
我得到了这个输出:
fakeroot, while creating message channels: Function not implemented
This …Run Code Online (Sandbox Code Playgroud) package-management development dependencies windows-subsystem-for-linux
我在 CentOS 6.4 上,我想安装最新的稳定版本的gtk+. 所以我是gtk+从他们的网站上得到的,但是在运行./configure它之后,它开始为安装的大量依赖项而哭泣,但版本低于所需的版本,而且这些是最新的 Centos 存储库。
有什么方法可以安装最新的 gtk+(以及任何软件包),而无需手动搜索、下载和升级数百万个这些软件包?
发生这种情况时我正在安装这个软件包。
root@kali:~/airgeddon# apt install isc-dhcp-server
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:
gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-7 is to …Run Code Online (Sandbox Code Playgroud) dependencies ×11
linux ×6
debian ×2
installation ×2
kali-linux ×2
packages ×2
apt ×1
development ×1
fedora ×1
gentoo ×1
kernel ×1
linebreaks ×1
pip ×1
popups ×1
portage ×1
python3 ×1
r ×1
rstudio ×1
ubuntu ×1
upgrade ×1
windows-subsystem-for-linux ×1
wine ×1