Tag: dpkg

dpkg错误消息从ubuntu 15.04升级到15.10

我希望你能帮助我。 我按照此处描述的流程http://www.ubuntu.com/download/desktop/upgrade从15.04升级到ubuntu 15.10。 在安装升级过程中,几乎在最后一个过程中它遇到了错误消息E:子进程/ usr / bin / dpkg返回并且错误代码(1) 如果我尝试sudo dpkg –configure -a我得到 dpkg: dependency problems prevent configuration of evince: evince depends on evince-common (>= 3.16); however: Version of evince-common on system is 3.14.2-0ubuntu2. dpkg: error processing package evince (–configure): dependency problems – leaving unconfigured dpkg: dependency problems prevent configuration of brasero: brasero depends on […]

Apt安装挂起/冻结尝试运行更新没有错误17.10

我过去几个小时一直试图更新我的机器,我似乎无法让它工作。 我跑了: sudo apt update && sudo apt upgrade 这发现了多个软件包,比如更新linux标题等。我让它运行一夜,发现它没有取得任何进展,我无法使用ctrl + c杀死它。 我关闭了终端并删除了锁并运行: sudo apt update sudo apt-get clean sudo dpkg –configure -a 哪个也挂了。 我再次删除了锁,重新启动了我的机器,现在它挂在: sudo apt upgrade Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 9 […]

安装linux-image-4.10.0-33-generic时出现磁盘完全错误

我是ubuntu社区的新手。 我在使用17.04时遇到了问题:即使在运行了大多数推荐的脚本之后,我仍然无法解决以下错误。 我能做什么? linux-signed-image-4.10.0-33-generic : Depends: linux-image-4.10.0-33-generic (= 4.10.0-33.37) but it is not going to be installed E: Unmet dependencies. Try ‘apt –fix-broken install’ with no packages (or specify a solution). dingi3@dingi3-HP-Pavilion-15-Notebook-PC:~$ sudo apt –fix-broken install Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following additional packages will […]

dpkg:error handling包mail-stack-delivery

在安装这个mail-stack-delivery我想清除配置文件并重新开始,但似乎已经破坏了它: thufir@mordor:~$ thufir@mordor:~$ sudo dpkg –configure -a Setting up mail-stack-delivery (1:2.2.18-2ubuntu2) … grep: /etc/dovecot/conf.d/10-ssl.conf: No such file or directory grep: /etc/dovecot/conf.d/10-ssl.conf: No such file or directory ln: failed to create symbolic link ‘/etc/dovecot/private/dovecot.pem’: No such file or directory dpkg: error processing package mail-stack-delivery (–configure): subprocess installed post-installation script returned error exit status 1 Errors were […]

/ usr / bin / dpkg在删除和安装损坏的软件包时返回错误

我试图删除不稳定的openoffice并重新安装libreoffice然而我在清除它之前意外删除了/opt下的openoffice目录。 现在我无法清理损坏的包,也无法删除/安装libreoffice 。 apt-get -f install不能用于错误: …. Errors were encountered while processing: /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu2_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 我按照如何通过dpkg手动删除包来修复损坏的包 ,但它没有将其删除干净。 同样的问题仍然存在。 我有无法满足的依赖关系,我无法清理或向上移动: dpkg: error processing package libreoffice-calc (–configure): dependency problems – leaving unconfigured Errors were encountered while processing: libreoffice-java-common libreoffice-sdbc-hsqldb libreoffice-core python3-uno libreoffice-math libreoffice-impress libreoffice-writer libreoffice-base-core libreoffice-gnome libreoffice-base libreoffice-sdbc-firebird libreoffice-report-builder-bin libreoffice-pdfimport libreoffice-avmedia-backend-gstreamer […]

升级Ubuntu 18.04时出现dpkg错误(1)

这是apt-get upgrade输出: Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 6 not fully installed or removed. After this operation, 0 B of additional disk space will be […]

如何卸载失败’dpkg -i xorg_7.6 + 12ubuntu1_amd64.deb’命令

我试图通过在Sony Vaio VGN-NS135E上安装Ubuntu 12.04 64位来修复双显示器问题。 我运行了以下命令(从https://launchpad.net/ubuntu/+source/xorg/1:7.6+12ubuntu1/+build/3309759下载了deb): sudo dpkg -i xorg_7.6+12ubuntu1_amd64.deb 因为我很沮丧,并在一些post中被告知恢复xorg可能有所帮助。 我不知何故最终解决了我遇到的显示器问题,但现在我遇到了这个安装失败的问题。 (监视器现在正在运行,一旦我在启动之前插入显示器重新启动。) 我现在的错误是我有一个部分配置的xorg包,似乎无法删除它。 我也无法在没有修复的情况下打开软件中心,修复失败的原因与下一个代码块相同。 这是sudo apt-get autoremove的输出: sudo apt-get autoremove 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: xorg : Depends: xserver-xorg (>= 1:7.6+12ubuntu1) […]

在UBUNTU上安装RANCID

请原谅我的无知,因为我不是UBUNTU专家。 我是思科工程师。 我正在尝试通过发出sudo apt-get install rancid来安装RANCID。 我得到一个无法找到包RANCID。 所以我想我会在本地下载tar文件,解压缩并以这种方式安装它。 我能够成功提取,但在尝试发出./configure时,它告诉我无法找到MAKE。 我看到MAKE在build-essentials中,所以我下载,解压缩并尝试安装build,但它告诉我安装dpkg存在依赖性。 我下载并提取了dpkg,但是在尝试安装时,它告诉我没有找到ac编译器,这是在build-essentials安装中。 我已经进行了更新,所以我有点迷失在哪里。 如果有人可以提供帮助,我们将不胜感激。 谢谢!

不能exec“locale”:/usr/share/perl5/Debconf/Encoding.pm第16行没有这样的文件或目录

请帮帮我,这是一个问题 Can’t exec “locale”: No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16. Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17. dpkg: warning: ‘ldconfig’ not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not executable Note: root’s PATH should usually contain /usr/local/sbin, /usr/sbin […]

由于dpkg,apt-get install无法正常工作,如何解决

我无法安装任何东西 apt-get install 它给出了这个错误: E:无法获取lock / var / lib / dpkg / lock – open(11:资源暂时不可用)E:无法锁定管理目录(var / lib / dpkg),它的另一个进程使用它 我试过了 dpkg –configure -a dpkg: error: dpkg status database is locked by another process. dpkg –configure -a –force-congnew dpkg: error: dpkg status database is locked by another process. 虽然我已关闭并重新启动系统以杀死所有其他隐藏进程,但不知道如何修复它。 我使用所有这些命令作为超级用户。