Articles of apt

sudo apt-get install apache2不提取apache

尝试了sudo apt-get install apache2 ,这是我得到: root@x27:/home/test# sudo apt-get install apache2 Reading package lists… Done Building dependency tree Reading state information… Done E: Couldn't find package apache2 感谢使用apt-get for apache的帮助。

从Debian的unstable库安装

如何从Debian的不稳定版本库中安装apt-get install?

与Ubuntu 10.10和乘客需求的包装问题

我试图让乘客使用Ubuntu 10.10 (Maverick Meerkat),而我遇到了一个问题。 似乎Passenger安装程序不能识别虚拟包。 我得到这个错误: 码: passenger-install-apache2-module … * OpenSSL support for Ruby… not found … 然后它说,运行这个: * To install OpenSSL support for Ruby: Please run apt-get install libopenssl-ruby as root. 当我运行上面的命令时,它指向libruby包: sudo apt-get install libopenssl-ruby Reading package lists… Done Building dependency tree Reading state information… Done Note, selecting 'libruby' instead of 'libopenssl-ruby' libruby […]

Debian:如何删除一个包的configuration?

我不确定在Debian服务器上做什么 aptitude install apache2 ls /etc/apache2 你会期望看到configuration,对不对? aptitude remove apache2 它应该删除一切,对不对? ls /etc/apache2 但configuration在这里。 rm -rf /etc/apache2 aptitude install apache2 ls /etc/apache2 没有find目录。 任何指导?

apt-get或aptitude更新下载软件包列表到哪里?

我遇到了aptitude update和apt-get update没有下载某个列表文件的麻烦(具体来说http://gb.archive.ubuntu.com precise / universe Sources [5,019 kB])。 我可以从这里通过我的浏览器下载: http : //gb.archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources.bz2 计划是通过我的本地机器下载,FTP到服务器,在那里aptitude和apt-get寻找它,只需要在本地Hit这个文件,而不是重新下载。 所以我正在寻找下载源列表的地方,包caching当然是/var/cache/apt但是包列表不在那里?

RPM或YUM相当于apt-get install libgraphicsmagick1-dev

我正在使用Ubuntu的开发和依赖需求之一 apt-get libgraphicsmagick1-dev 现在我需要部署到运行AMI并仅支持YUM或RPM的AWS EC2,那么上面的等效命令是什么? 请注意,我无法更改服务器操作系统的select。 谢谢。

如何升级已经安装的debian(lenny)上的apache2

我有一个debian lenny框,并运行apache2 2.11.6(这是testingstream一些月份agotesting一些) 现在testingstream是2.12.1我想升级我的apache2,但不是在这台机器上的其他软件。 所以我认为: apt-get upgrade ..不是一个选项。 我怎样才能只升级单个软件包?

请问apt-get删除mysql-server-5.1删除/ var / lib / mysql?

我在/ usr / local / mysql中安装了mysql 5.5。 如果我apt-get删除旧的包,它会不会删除/ var / lib / mysql中的数据目录呢? 更新:是的,这是一个官方标准的通用Ubuntu软件包

从Dreamhost的Debian档案移到Debian本身

这是目前运行Debian的托pipeDreamhost帐户的sources.list文件 # Generated by ndn-autoupdate deb http://debian.di.newdream.net/ lenny ndn deb http://debian.newdream.net/ lenny main contrib non-free deb http://security.debian.org/ lenny/updates main contrib non-free deb http://www.backports.org/debian/ lenny-backports main contrib non-free deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb http://debian.dc-uoit.net/debian-multimedia/ lenny main 什么是迁移到Debian本身的最佳方式? 我想只用上游的Lenny Squeeze档案? 似乎Dreamhost安装了一堆我不想要的修改包。 ndn-apache22 ndn-apache22-modcband ndn-apache22-modfastcgi ndn-apache22-modfcgid ndn-apache22-modlimitipconn ndn-apache22-modpagespeed ndn-apache22-modsecurity2 ndn-apache22-modxsendfile ndn-apache22- php ndn-apache22-php5 ndn-apache22-svn ndn-autoupdate ndn-crashlog […]

DEB:“提供:”字段被忽略

我需要用一个自定义名称replace一个包(foo-origpackage)。 为了允许它被用作插入replace,我在控制文件中添加了Provides: origpackage行。 apt-cache show foo-origpackage列出了“提供”条目。 但是,当我想根据origpackage安装一个文件时,它会失败(“Package origpackage not installed”)。 是否有一些“真实”和我虚拟的虚拟包之间的区别? 编辑: 准确地说,我想要replace的是xen-utils-common for Squeeze。 我的tao-xen-utils-common有以下control文件: 来源:tao-xen-utils-common 部分:内核 优先级:可选 维护者:Creshal <[email protected]> build立 – 取决于:debhelper 标准版本:3.8.0 主页:http://tao.at 包:tao-xen-utils-common build筑:所有 取决于:gawk,lsb-base,udev,xenstore-utils,tao-firewall 提供:xen-utils-common 冲突:xen-utils-common 取代:xen-utils-common 说明:Xenpipe理工具 – 通用文件(已修改) 用户空间工具来pipe理通过Xen虚拟化的系统 机器监视器。 修改用于TAO防火墙。 但是,安装xen-utils-4.0失败: foo @ bar#apt-cache showpkg tao-xen-utils-common 包:tao-xen-utils-common 版本: 4.0.0-1tao1(/var/lib/apt/lists/repo.tao.at_dists_stable_main_binary-amd64_Packages)(/ var / lib / dpkg / status) 描述语言: […]