Articles of apt

我无法摆脱apache2

很显然,我是服务器pipe理的新手。 我的目标是达到使用Web服务所需的知识。 我玩我的Debian服务器,我搞砸了Apache2; 现在我想完全*从服务器中删除它,然后重新安装它作为新的。 *完全是我的意思完全是日志,configuration,设置,一切! 我按照freedom_is_chaos在这个答案中提出的步骤,我猜apache2不再安装,因为如果我做apt-get remove apache2 ,我得到这个: # apt-get remove apache2 Reading package lists… Done Building dependency tree Reading state information… Done Package apache2 is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded. # dpkg –remove apache2 dpkg – warning: ignoring request to remove […]

指定安装软件包的ubuntu存储库?

我想从mediubuntu安装ffmpeg。 我已经按照以下说明安装了存储库: http://medibuntu.org/repository.php 我的conf.d仓库列表: /etc/apt/sources.list.d# less medibuntu.list ## Please report any bug on https://bugs.launchpad.net/medibuntu/ deb http://packages.medibuntu.org/ lucid free non-free #Medibuntu – Ubuntu 10.04 "lucid lynx" #deb-src http://packages.medibuntu.org/ lucid free non-free #Medibuntu (source) – Ubuntu 10.04 "lucid lynx" 然而,当我安装ffmpeg,我仍然通过主Ubuntu的库安装它。 /etc/apt/sources.list.d# apt-cache policy ffmpeg ffmpeg: Installed: (none) Candidate: 4:0.5.1-1ubuntu1 Version table: 4:0.5.1-1ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages […]

如何使用apt解释包依赖关系问题的消息

我有一些问题,在Debian中安装一些软件包。 这个问题更多与错误信息的解释有关。 我正在尝试安装libssl-dev。 所以我解雇了一个shell,然后input: apt-get install libssl-dev 令我惊讶的是,我得到了以下错误: libssl-dev: Depends: libssl0.9.8 (= 0.9.8o-4squeeze1) but 0.9.8o-6 is to be installed E: Broken packages 那究竟是什么意思? 这取决于libssl0.9.8(squeeze1版本),但将安装0.9.8o-6? 这个小号码(“o-6”)是否为apt-get的阻塞? 我可以强制它(我尝试使用-f,但它不起作用)?

问题到apt sources.list

这是正确的格式: http://mirror/debian/security squeeze/updates main contrib non-free 或这个: http://mirror/debian/security squeeze-updates main contrib non-free 挤/更新VS挤压更新(斜杠vs炒作)。 我已经看到这两个和新的debian挤6.0.2.1似乎有hypen版本? 这是新的格式吗? (也许我错了,现在的debian似乎也有两个,所以它们看起来有些不同,谁能解释它有什么不同。)

Debian软件包更新和版本升级之间的区别

我一直在试图为我的生产机器决定一个新的操作系统,我想知道直接升级软件包和升级到新版本之间有什么区别。 如果我安装了Debian 5.0,然后升级到Debian 6.0,我的电脑会不会比​​直接安装Debian 6.0有什么不同? 这样做有什么缺点吗? 我问的原因是因为需要很长时间才能得到一台电脑,而我却喜欢它,而且我不喜欢

在全新安装中安装apt-get时出现问题

新鲜的服务器安装12.04 Ubuntu的64位。 任何想法,为什么这是行不通的? root@ubuntu:~# sudo apt-get install kvm libvirt-bin Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: bridge-utils cgroup-lite cpu-checker dnsmasq-base ebtables gawk kvm-ipxe libaio1 libapparmor1 libasound2 libasyncns0 libavahi-client3 libavahi-common-data libavahi-common3 libcaca0 libflac8 libjson0 libnetfilter-conntrack3 libnspr4 libnss3 libnuma1 libogg0 libpulse0 librados2 librbd1 libsdl1.2debian libsigsegv2 libsndfile1 […]

“阿帕奇”的装置之间的差异

使用Ubuntu 12.04,使用sudo apt-get install apache2来安装Apache httpd是否有区别(正如Ubuntu的指南所述 – https://help.ubuntu.com/12.04/serverguide/httpd.html )或者遵循以下步骤Apache文档( http://httpd.apache.org/docs/2.4/install.html#overview )? 我尝试了两种方法。 在第一种情况下(使用apt-get )服务器似乎工作 – 我打开一个浏览器页面,我知道了。 在第二种情况下,我需要其他软件包( apr , apr-util和pcre ),所以我放弃了这个尝试。

安装了libssh2-php,但没有使用php -m的ssh2

我在Ubuntu 13.10服务器上使用php 5.5.3,并希望使用ssh2与PHP。 所以我用这个命令安装了libssh2-php: apt-get install libssh2-php 安装运行没有错误。 在/etc/php/conf.d中有一个ssh2.ini文件。 重新启动apache2甚至重新启动服务器,但php -m | grep ssh2 php -m | grep ssh2没有返回任何东西。 phpinfo()也没有ssh条目:( 什么不见​​了?

如何在Ubuntu 12.04上安装build-essential? (gcc和g ++相关性问题)

我刚刚安装了Ubuntu服务器12.04 LTS。 我正在尝试安装build-essential包; 但是,当我尝试安装它时收到以下错误: Some packages could not be installed. this may mean that you have an impossible situation or it you are using the unstable distribution that some required packages have not yer been created or been moved out of Incoming. The following information may help to resolve this situation: The following packages have […]

木偶:如何从Debian wheezy-backports安装git软件包?

我正在使用Apt模块( https://forge.puppetlabs.com/puppetlabs/apt ),并为Debian wheezy backports存储库添加了一个条目: apt::source { 'wheezy-backports': location => 'http://ftp.de.debian.org/debian', release => 'wheezy-backports', repos => 'main', include_deb => true, include_src => true, notify => Exec['apt-get-update'], } 我可以成功安装wheezy-backports中可用的软件包,但不能在默认存储库中安装,因此我认为configuration本身是正确的。 使用apt-get install git -t wheezy-backports安装从backports手动安装apt-get install git -t wheezy-backports也可以。 但是,我如何强制Puppet从wheezy-backports而不是默认的存储库检索一个包? 具体来说,我想安装在wheezy backports中的git-1.9.1-1 package { "git": ensure => "1:1.9.1-1~bpo70+2", } 失败。 package { "git": ensure => "latest", } […]