Articles of apt

尝试在Debian Squeeze上安装php5-mcrypt后出现错误

我想安装php5-mcrypt,但进入后出现此错误 apt-get install php5-mcrypt 错误: php5-mcrypt : Hängt ab von: php5-common (= 5.3.3-7+squeeze15) aber 5.3.9-1~dotdeb.2 soll installiert werden 错误(已翻译): php5-mcrypt : Depends on: php5-common (= 5.3.3-7+squeeze15) but 5.3.9-1~dotdeb.2 should be installed 我的sources.list: # squeeze packages deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main

如何为使用configure + make + make install编译和安装的openssh-server创build一个init.d脚本?

我使用apt-get install openssh-server在我的Ubuntu PC中apt-get install openssh-server 。 版本是5.9。 现在,我想从源代码编译和安装openssh-server版本6.2。 我已经成功下载了源代码,并运行以下命令: ./configure make make install 我发现新版本的openssh-server被安装到/usr/local/sbin/ 。 旧版本的openssh-server位于/usr/sbin/ 。 我发现/etc/init.d/ssh中的服务脚本仍然指向/usr/sbin/ 。 旧的openssh-server(v5.9)仍在运行。 我怎样才能用我刚刚编译和安装的新的openssh-server replace旧的openssh-server? 我如何创build一个init.d脚本来启动和停止手动编译的新的openssh-server? 如何在启动时启动新的openssh-server? 当我使用apt-get install安装openssh-server时,configuration文件将被安装到/ etc / ssh /中。 如果我从源代码编译并安装它,configuration文件在哪里? 如果我从源代码编译openssh-server,但是我使用apt-get install来安装openssh-client包,会不会有任何configuration文件发生冲突? 谢谢。

木偶 – 如何安装不在默认包中的git 1.8.x

你将如何使用puppet自动安装特定版本的git? apt-get update && apt-get install git-core在我的12.04 ubuntu服务器上apt-get update && apt-get install git-core导致git版本为1.7.9。 我必须有1.7.10或更新。 有两个选项,我可以看到。 1.添加ppa 2.从源代码安装git 我认为从源代码编译将更容易,所以这是我正在尝试。 我试过使用puppetlabs / apt模块来安装git-core ppa,但是我的git版本在puppet运行后仍然是1.7.9。 root@gitlab:~# puppet module list /etc/puppet/modules ├── puppetlabs-apt (v1.2.0) ├── puppetlabs-git (v0.0.3) ├── puppetlabs-stdlib (v4.1.0) └── ruby (???) root@gitlab:~# cat /etc/puppet/manifests/git.pp class { 'apt': } apt::ppa { 'ppa:git-core/ppa': before => Exec['apt-get update'], } exec{'apt-get […]

无法打开/ usr / share / debconf / confmodule – 使用apt-get进行安装时

我尝试安装valgrind使用, apt-get install valgrind 下载软件包后,得到以下错误, Setting up tzdata (2013d-0squeeze1) … .: 9: Can't open /usr/share/debconf/confmodule dpkg: error processing tzdata (–configure): subprocess installed post-installation script returned error exit status 127 configured to not write apport reports Errors were encountered while processing: tzdata E: Sub-process /usr/bin/dpkg returned an error code (1) 请帮我解决这些问题。 我在Debian-Squeeze上

在Ubuntu上使用HP SDR / MCP回购存在警告

我使用Linux软件包的HP SDR系统(MCP专用)来pipe理HP硬件RAID,iLo等。硬件的内核驱动程序是上游的,所以这些只是pipe理实用程序。 http://downloads.linux.hp.com/SDR/ deb http://downloads.linux.hp.com/SDR/downloads/mcp/ precise current/non-free 按照常见问题,您可以添加一个apt键,以便回购不是来自未签名的来源。 http://downloads.linux.hp.com/SDR/faq.html wget http://downloads.linux.hp.com/SDR/downloads/mcp/GPG-KEY-mcp -O – | sudo apt-key add – apt-key list /etc/apt/trusted.gpg ——————– pub 1024D/437D05B5 2004-09-12 uid Ubuntu Archive Automatic Signing Key <[email protected]> sub 2048g/79164387 2004-09-12 pub 1024D/FBB75451 2004-12-30 uid Ubuntu CD Image Automatic Signing Key <[email protected]> pub 4096R/C0B21F32 2012-05-11 uid Ubuntu Archive Automatic Signing Key […]

apt-get安装过程中出现分段错误

$ apt-get install openssh-server在尝试生成密钥时失败并出现Segmentation fault 。 这使我有一个半完整的安装,但二进制文件已到位。 我也注意到简单的执行sshd或ssh-keygen也会产生Segmentation fault 。

请忽略一个build议

我正在寻找安装owncloud,其中有这样的build议: Recommends: curl, exim4 | mail-transport-agent, php5-imagick, php5-apc, libreoffice-writer 我想要安装除libreoffice-writer之外的所有需求。 我知道我可以忽略使用–no-install-recommends 所有build议,但有什么办法可以特别忽略一个build议吗? 编辑: 我想自动化它,所以解决scheme手动使用aptitude等selectlibreoffice是没有用的

PHP从版本库升级到5.5

在我的Debian VPS上,我已经从debian wheezy repository安装了PHP 5.4。 现在我想将PHP升级到5.5,但是我想仍然可以通过apt-get继续升级。 这是做这个好方法吗?

pt-get在Ubuntu 14.04上无法解决未满足的依赖关系libserf-1-1

当我试图更新我的系统后,它告诉我有一些可用的更新,我有麻烦… 我首先运行下面的命令没有任何问题: sudo apt-get update 然后我试图“升级”,这里是输出: #:~$ sudo apt-get upgrade 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: libserf-dev : Depends: libserf-1-1 (= 1.3.3-1ubuntu0.1) but it is not installed libserf1-dbg : Depends: libserf-1-1 (= 1.3.3-1ubuntu0.1) […]

未能在Ubuntu 12.04上进行apt-get更新

当我尝试进行apt-get更新时,我总是收到这个错误,所以无法用apt来安装或删除软件 Get:102 http://archive.ubuntu.com precise-updates/universe Translation-en 100% [102 Translation-en bzip2 0 B] [Connecting to archive.ubuntu.com] 7273 B/s 0sbzip2: (stdin) is not a bzip2 file. 100% [98 Translation-en gzip 0 B] [Waiting for headers] 7273 B/s 0sE: Unable to parse package file /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en.decomp (1) 100% [99 Translation-en gzip 0 B] [Waiting for headers] 14.9 kB/s 0sE: Unable […]