Tag: dpkg

dpkg –configure -a在找到initrd映像时挂起

我有一个带GitLab的Ubuntu 14.04 LTS“桌面”。 系统在Windows Server 2012 R2上的虚拟机中运行。 该机器每天自动更新“重要安全更新”,“推荐更新”和“不支持的更新”。 不适用于“预发布更新”。 今天我登录系统,运行“sudo apt-get update”并且无法完成,因为某些进程正在使用dpkg。 我已经运行了“sudo apt-get upgrade”并且更新了但是上吊于: Found linux image: /boot/vmlinuz-3.19.0-39-generic Found initrd image: /boot/initrd.img.3.19.0-39-generic Found linux image: /boot/vmlinuz-3.19.0-37-generic Found initrd image: /boot/initrd.img.3.19.0-37-generic Found linux image: /boot/vmlinuz-3.19.0-33-generic Found initrd image: /boot/initrd.img.3.19.0-33-generic Found linux image: /boot/vmlinuz-3.19.0-32-generic Found initrd image: /boot/initrd.img.3.19.0-32-generic Found linux image: /boot/vmlinuz-3.19.0-31-generic Found initrd image: /boot/initrd.img.3.19.0-31-generic […]

无法在ubuntu中修复软件包

我无法通过使用终端或synaptic包管理器来修复程序。 我一直收到这条消息。 dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_15.04.1-0ubuntu1~ubuntu15.04~ppa1_amd64.deb (–unpack): trying to overwrite ‘/usr/share/accounts/services/google-im.service’, which is also in package account-plugin-google 0.12+15.04.20150415.1-0ubuntu2 Errors were encountered while processing: /var/cache/apt/archives/kde-config-telepathy-accounts_15.04.1-0ubuntu1~ubuntu15.04~ppa1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 在我卸载kubuntu桌面后,KDE的部分内容似乎仍然存在。 这阻止我安装或卸载程序。 帮助赞赏!

如何在16.04.4 64bit上安装libc6:i386?

我已经在这里和其他地方找到了所有类似的问题,但仍然无法为此找到有效的解决方案。 我尝试过的事情: apt-get install libc6:i386 这会尝试删除大多数当前安装的64位库,如果运行则会使计算机无法使用。 我根据其他问题/答案运行以下内容,但仍然没有乐趣: dpkg –add-architecture i386 apt-get update apt-get upgrade apt-get dist-upgrade 一切都干净利落,但不要改变尝试安装32位库的输出。 下一个选择是尝试: apt-get install libc6-i386 哪个回报: The following packages have unmet dependencies, libc6-i386 : Depends: libc6 (= 2.23-0ubuntu3) but 2.23-0ubuntu10 is to be installed E: Unable to correct problems, you have held broken packages 此错误似乎具有误导性,因为apt-mark showhold返回任何包。 这里的最终目标是安装需要32位库的赛门铁克AV套件。

每个apt命令的dpkg debconf出错

我不知道之前发生了什么,但是当我尝试通过终端或软件中心安装任何软件包/程序时,我的笔记本电脑上的Ubuntu 14.04出现了这种错误: configuring tzdata can’t open /usr/share/debconf/confmodule dpkg: error processing package tzdata(–configure): post-installation returned error code 2 我检查了这个文件夹: /usr/share/debconf ,发现它什么都没包含,这就是它无法打开的原因。 在此文件夹中使用终端中的dir ,它根本不输出任何内容。 我尝试重新安装,删除和检查此软件包,甚至清除apt-get的缓存,但它不起作用也没有解决问题并引发了同样的错误。

为什么安装更新时dpkg会出现“Broken pipe”错误?

以下是dpkg在运行更新时给出的错误消息: sudo apt-get upgrade dpkg: error processing archive /var/cache/apt/archives/linux-firmware_1.143.4_all.deb (–unpack): unable to create `/lib/firmware/brcm/bcm4329-fullmac-4.bin.dpkg-new’ (while processing `./lib/firmware/brcm/bcm4329-fullmac-4.bin’): Permission denied dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/linux-firmware_1.143.4_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) File: ‘/lib/firmware/brcm’ Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 807h/2055d […]

如何在安装软件包时删除有关杯子的“未满足的依赖关系错误”?

在安装octave或wxmaxima时,我在终端中看到此错误 You might want to run ‘apt-get -f install’ to correct these: The following packages have unmet dependencies: cups : Depends: cups-daemon (>= 2.1.3-4ubuntu0.2) cups-core-drivers : Depends: cups-daemon (>= 2.1.3-4ubuntu0.2) cups-daemon : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is to be installed E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a […]

有关在ubuntu中安装haskell平台或堆栈的任何建议吗?

我试图安装haskell-platform ,我得到以下未满足的依赖项。 Reading package lists… Building dependency tree… Reading state information… 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 out of Incoming. The following information may help […]

由于“未满足的依赖性”,不能再使用“apt-get install”了

我不记得最近在我的电脑上做过任何想象,但我不能再运行apt-get install了 $ sudo apt-get install phantomjs 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: libnspr4 : Breaks: libnspr4:i386 (!= 4.10.7-0ubuntu0.12.04.1) but 4.10.10-0ubuntu0.12.04.1 is to be installed libnspr4:i386 : Breaks: libnspr4 (!= 4.10.10-0ubuntu0.12.04.1) but 4.10.7-0ubuntu0.12.04.1 […]

如何克服因删除/ usr / share / doc-base中的文件而导致的dpkg错误?

每当我在命令行通过APT运行时,我都会收到以下错误消息: Setting up doc-base (0.10.6) … Processing 2 added doc-base files… Cannot open file `/usr/share/doc-base/python-openbabel-pybel’ for reading: No such file or directory. dpkg: error processing package doc-base (–configure): subprocess installed post-installation script returned error exit status 3 Setting up ballview (1.4.2+20140406-1) … Errors were encountered while processing: doc-base E: Sub-process /usr/bin/dpkg returned an error code […]

如何在Ubuntu 15.04上安装mysql-server?

当我从14.10升级到15.04时,我的mysql以某种方式破坏了。 当我跑 sudo dpkg –configure -a 经过漫长的等待,我收到了以下回复 Setting up mysql-server-5.6 (5.6.24-0ubuntu2) … Job for mysql.service failed. See “systemctl status mysql.service” and “journalctl -xe” for details. invoke-rc.d: initscript mysql, action “start” failed. dpkg: error processing package mysql-server-5.6 (–configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends […]