按照这个教程 ,我卡在这一行: $ apt-get source lighttpd Unknown command "source" aptitude 0.6.8.2 为什么我的apt-get / aptitude不支持这个命令? 我不知道这是否与此有关,但我的sources.list没有包含任何deb-src行。 添加完成后, apt-get build-dep lighttpd确实运行了,没有任何错误。
我有一个奇怪的错误,阻止我在Debian框上安装任何东西。 当我运行apt-get upgrade(或apt-get install)时,会产生这个错误信息: # apt-get upgrade E: dpkg was interrupted, you must manually run 'dpkg –configure -a' to correct the problem. 如果我这样做告诉我 – 运行dpkg –configure -a它会产生以下输出: # dpkg –configure -a Setting up initramfs-tools (0.93.4) … update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools … update-initramfs: Generating /boot/initrd.img-2.6.26-2-686 gzip: stdout: No space left on […]
我使用了一些apt-get版本的apt-get search jetty ,它会返回包含单词jetty的所有包的列表。 但是当我inputapt-get时,我得到以下命令列表: apt 0.8.10.3 for i386 compiled on Apr 15 2011 21:02:20 Usage: apt-get [options] command apt-get [options] install|remove pkg1 [pkg2 …] apt-get [options] source pkg1 [pkg2 …] apt-get is a simple command line interface for downloading and installing packages. The most frequently used commands are update and install. Commands: update – […]
我使用这个命令检查了我的OS安装 uname -a 并得到了这个结果 Linux uc3-dev 2.6.32.27-0.2-default #1 SMP 2010-12-29 15:03:02 +0100 x86_64 x86_64 x86_64 GNU/Linux 我在一个新的服务器框,所以我觉得apt-get只是没有安装。 什么是我安装apt-get的最佳方式? 顺便说一下,我拥有所有的pipe理员权限。 这是lsb_release -a的输出 如果“lsb_release”不是拼写错误,则可以运行以下命令来查找包含二进制文件的软件包: command-not-found lsb_release -bash: lsb_release: command not found
我试图从debian lenny更新挤压我的64位根服务器,并做了以下事情: 修改sources.list apt-get更新 apt-get升级 apt-get install linux-image-2.6-amd64 最后一步导致以下错误输出: 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 […]
有没有办法通过apt-get来安装mysqld,并使其具有数据文件的非默认path? 我知道我可以使用默认值来安装它,然后移动东西(我已经这样做了),但是我有大约十几个不同的地方需要更新东西(my.cnf中的4-5,app-armor中的6-8 ,我觉得还有其他的东西,我忘了)。 编辑:我假设/希望相关的configuration文件都是在安装时生成,而不是硬编码为静态内容。 假设,我需要的是一种方法,通过apt-get传递标志来调整用于指定相关path的variables。
我曾经使用这个方法在Debian上安装node.js,因为它很容易,一切正常。 即使有多个用户。 从sid包的 0.6.18〜dfsg1-1版本开始,安装程序会删除openssh-server。 但是我需要OpenSSH来连接到我的服务器。 有没有可能通过APT安装Node.js,还是必须手动编译? 这是我的APT首选项文件: Package: * Pin: release a=stable Pin-Priority: 800 Package: * Pin: release a=testing Pin-Priority: 650 Package: * Pin: release a=unstable Pin-Priority: 600
我们有一个apt库来运行我们的软件的升级。 该存储库通过ssh和一个公钥authentication进行访问: deb ssh://repo.server.com/dist stable 由于从欧洲到美国的下载连接确实很慢,我考虑设置存储库的镜像。 我想知道在这种情况下最好的做法是什么。 我试图用apt-mirror来设置镜像,但似乎不支持ssh。 我看着apt-cacher,但似乎并不能真正满足我的需求。 我可以rsync从存储库中的所有文件,然后创build一个新的apt回购?
我进入了apt-get install sysstat,不仅是安装了sysstat,而且还升级了我的Hbase版本。 我在这里缺less一些基本的东西,不应该apt-get安装只安装或升级相关的软件包? 这发生在Ubuntu Maverick上。
在我自己的电脑上,我已经习惯直接运行apt-get upgrade多年。 但前几天我有机会pipe理一个Ubuntu的服务器。 我想我的老习惯很糟糕。 我应该如何更新安全更新,以最大限度地减less依赖性问题? 我怎样才能确认源是可信的(通过SHA或其他散列),保持中间人攻击?