我在使用sudo apt-get upgrade时遇到错误: dpkg: error processing libgfortran3:amd64 (–configure): package libgfortran3:amd64 is not ready for configuration cannot configure (current status `half-installed’) Errors were encountered while processing: libgfortran3:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) 它似乎没有阻止安装/升级其他应用程序。 我相信这个问题是由于在升级应用程序时直接关闭我的PC而引起的。 我怎样才能解决这个问题?
当我使用包管理器在Ubuntu上安装应用程序时,我想知道在哪里可以找到我安装的应用程序。 我安装了RabbitMQ并运行了locate rabbitmq ,它给了我以下结果: /home/anupamg/.m2/repository/com/rabbitmq /home/anupamg/.m2/repository/com/rabbitmq/amqp-client /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2 /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/_maven.repositories /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.jar /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.jar.lastUpdated /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.jar.sha1 /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.pom /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.pom.lastUpdated /home/anupamg/.m2/repository/com/rabbitmq/amqp-client/1.7.2/amqp-client-1.7.2.pom.sha1 /home/anupamg/Downloads/rabbitmq-server-generic-unix-2.4.0.tar.gz
尝试使用apt-get时出现此错误: E: Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? 我怎样才能解决这个问题?
我使用的是15.04。 所以我正在使用git,我安装了标准版本。 我设置了ssh密钥,并能够将我的一个存储库克隆到正确的文件夹中。 一切都很好,然后我决定安装更多的包是个好主意。 我运行了sudo apt-get install git-all 。 我正在查看现在必须处理暴发户的错误代码。 start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused No apport report written because the error message indicates its a followup error from a previous failure. dpkg: error processing package runit (–configure): subprocess installed post-installation script returned error exit status […]
如何通过命令行安装.deb文件?
例如: $ sudo apt-get install curl 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: bsh : Depends: libjline-java but it is not going to be installed groovy : Depends: libjline-java but it is not going […]