Articles of apt

任何我想apt-get都会给我一个处理mysql-server-5.1的错误

我的意思是,WTH? 我搞砸了服务器,我不得不做一个全新的重新安装清除一切,我也使用了locate mysql来检查其他地方隐藏。 当我尝试安装mysql-server-5.1时,apt-get会抛出一个错误: Errors where encountered while processing: mysql-server-5.1 E: Sub-process /usr/bin/dpkg returned an error code (1) 现在,即使我想安装一些与MySQL完全无关的东西,它也会导致我的错误!

subprocess/ usr / bin / dpkg返回一个错误代码

当试图在我的Ubuntu实例上安装phpmyadmin时,我意外地中途退出了这个工作。 现在我无法继续它/删除它重新开始.. sudo apt-get安装phpmyadmin 正在读取软件包列表…完成 build立依赖关系树 阅读状态信息…完成 phpmyadmin已经是最新的版本。 0升级,0新安装,0删除和0未升级。 2没有完全安装或删除。 需要得到0B / 4,342kB的档案。 在此操作之后,将使用0B的额外磁盘空间。 你想继续[Y / N]吗? ÿ debconf:DbDriver“config”:/var/cache/debconf/config.dat被另一个进程locking:资源暂时不可用 select以前取消select的包phpmyadmin。 (正在读取数据库… 38239个文件和目录当前安装。) 准备replacephpmyadmin 4:3.3.7-5build0.10.10.1(使用… / phpmyadmin_4%3a3.3.7-5build0.10.10.1_all.deb)… 开箱更换phpmyadmin … debconf:DbDriver“config”:/var/cache/debconf/config.dat被另一个进程locking:资源暂时不可用 dpkg:警告:subprocess旧的删除后脚本返回错误退出状态1 dpkg – 尝试从新的包改为脚本… debconf:DbDriver“config”:/var/cache/debconf/config.dat被另一个进程locking:资源暂时不可用 dpkg:error handling/var/cache/apt/archives/phpmyadmin_4%3a3.3.7-5build0.10.10.1_all.deb(–unpack): subprocess新的删除后脚本返回错误退出状态1 debconf:DbDriver“config”:/var/cache/debconf/config.dat被另一个进程locking:资源暂时不可用 dpkg:清理时出错: subprocess新的删除后脚本返回错误退出状态1 处理过程中遇到错误: /var/cache/apt/archives/phpmyadmin_4%3a3.3.7-5build0.10.10.1_all.deb E:subprocess/ usr / bin / dpkg返回错误码(1) 任何人都可以摆脱任何光? 不知道该怎么办,似乎我需要删除锁,删除文件(?),并重新启动安装? 干杯!

Debian安装程序不工作

我得到: dpkg: error processing linux-image-2.6-amd64 (–configure): dependency problems – leaving unconfigured Errors were encountered while processing: linux-image-2.6.26-1-amd64 linux-image-2.6.26-2-amd64 linux-image-2.6-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) 请在这里查看完整的输出: http : //pastebin.com/rmBsiBeS

使用apt-get失败是由于configuration不正确的dav_svn.conf文件?

我们正在更新我们的内部开发服务器之一(运行Ubuntu的旧版本,我猜测是8或9),并且在使用apt-get升级/安装软件包时遇到错误。 以下是试图安装zip的控制台输出: me@server:~$ sudo apt-get install zip Reading package lists… Done Building dependency tree Reading state information… Done zip is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up […]

在Ubuntu的Apt问题

当我运行这个命令时,它不安装软件包,如下面最后一行所示。 apt-get -f install Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following extra packages will be installed: apache2-mpm-prefork libapache2-mod-php5 Suggested packages: php-pear The following packages will be REMOVED: apache2-mpm-worker The following NEW packages will be installed: apache2-mpm-prefork libapache2-mod-php5 0 upgraded, 2 newly installed, 1 to remove and […]

安装rsync会在subprocess中出现错误

我试图在运行在Debian Squeeze上的vserver上安装rsync。 在调用apt-get install rsync之后 ,安装程序停止使用以下输出: $ apt-get install rsync Reading package lists… Done Building dependency tree Reading state information… Done The following NEW packages will be installed: rsync 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 359 kB of archives. After this operation, 721 kB of additional […]

在Ubuntu 9.04中安装Subversion时出错

sudo apt-get install subversion [sudo] password for hwsui: 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 […]

apache 2.4用debian挤压php

我已经编译并安装了我的debian squeeze机器上的apache 2.4。 这是我第一次自己编译它。 我的下一步应该是为服务器安装mod_php。 现在我想,如果我必须自己编译php与所有相关的东西,如imap,mysql等,或者如果我可以通过apt安装PHP的东西,只是将相关的文件复制到我的apache2 /模块文件夹。 可以以某种方式给我一些关于这个程序的暗示吗?

在Ubuntu 11.10上安装libpq-dev的相关性问题

我试图在Ubuntu 11.10上安装libpq-dev(PostgreSQL库)。 当我运行apt-get时,我得到以下内容: The following packages have unmet dependencies. libpq-dev : Depends: libkrb5-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages. 然后当我去安装libkrb5-dev,我得到这个: The following packages have unmet dependencies. krb5-multidev : Depends: libkrb5-3 (= 1.9.1+dfsg-1ubuntu1) but 1.9.1+dfsg-1ubuntu2.2 is to be installed Depends: libk5crypto3 (= 1.9.1+dfsg-1ubuntu1) but […]

致命:找不到模块iscsi_trgt – 试图让我的iscsi目标在debian上运行

我的服务器信息: Linux Microknoppix 2.6.39.3#21 SMP PREEMPT Sat Jul 23 09:48:39 CEST 2011 i686 GNU / Linux modprobe iscsi_trgt 结果是 FATAL: Module iscsi_trgt not found. 所以我跑了 # apt-get install module-assistant debhelper 然后 # ma ai iscsitarget 它失败,错误 日志: iscsitarget-source.buildlog.2.6.39.3.1内容: dh_clean -k dh_clean: dh_clean -k is deprecated; use dh_prep instead #/usr/bin/make -C /usr/src/linux KERNEL_SOURCES=/usr/src/linux MODVERSIONS=detect KERNEL=linux-2.6.39.3 KDIR=/usr/src/linux […]