Tag: dpkg

linux-image-generic似乎被打破了

我正在使用Ubuntu 12.04。 最近我不能再安装任何东西了。 我总是收到以下错误消息: Setting up linux-image-3.2.0-34-generic (3.2.0-34.53) … Running depmod. update-initramfs: deferring update (hook will be called later) Use of chdir(”) or chdir(undef) as chdir() is deprecated at /var/lib/dpkg/inf/linux-image-3.2.0-34-generic.postinst line 235. Failed to symbolic-link /boot/initrd.img-3.2.0-34-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-3.2.0-34-generic.postinst line 614. dpkg: error processing linux-image-3.2.0-34-generic (–configure): subprocess installed post-installation script returned error exit […]

葡萄酒没有安装,无论什么

好吧,伙计们,这是交易。 我使用的是ubuntu 14.04 xfce版本,在带有烤面包片的Acer C270 Chromebook上运行。 这是一个干净的Ubuntu安装,没有从以前的版本升级,也没有任何其他版本的葡萄酒。 我正在尝试安装Wine。 这些是我使用的命令以及我已经尝试过的所有解决方案总是完全相同的结果。 (trusty)pineapplez13@localhost:~$ sudo add-apt-repository ppa:ubuntu-wine/ppa 为了成功添加葡萄酒ppa (trusty)pineapplez13@localhost:~$ sudo apt-get update 也成功了 (trusty)pineapplez13@localhost:~$ sudo apt-get install wine 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 […]

update-alternatives:错误:/ var / lib / dpkg / alternatives / vim corrupt:无效状态

每当我尝试使用apt-get进行安装,更新或执行任何操作时,我总会得到类似于此的错误消息,关注vim: 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up vim (2:7.3.154+hg~74503f6ee649-2ubuntu3.1) … update-alternatives: error: /var/lib/dpkg/alternatives/vim corrupt: invalid status dpkg: error processing vim (–configure): subprocess […]

dpkg-deb:错误:子进程粘贴被信号杀死(断管)

软件最新选项自动下载GIMP的upgarde。 但在安装它时给了我错误。 如何升级相同 Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following extra packages will be installed: gimp Suggested packages: gimp-help-en gimp-help libgimp-perl gimp-gap gimp-console The following packages will be upgraded: gimp 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 […]

ubuntu解决未满足的依赖项

我试图从ubuntu 14.10升级到15.04,它停止升级并提供部分升级,我没有做。 现在我遇到了deja-dup-monitor的问题,它消耗了大约7GB的内存。 我正在尝试卸载它。 但是每当我使用apt-get安装或卸载时,它都会显示一条消息,指出packages have unmet dependencies The following packages have unmet dependencies: cups : Depends: libcups2 (= 1.7.5-3ubuntu3.2) but 2.0.2-1ubuntu3.2 is to be installed cups-core-drivers : Depends: libcups2 (= 1.7.5-3ubuntu3.2) but 2.0.2-1ubuntu3.2 is to be installed cups-daemon : Depends: libcups2 (= 1.7.5-3ubuntu3.2) but 2.0.2-1ubuntu3.2 is to be installed dmsetup : Depends: libdevmapper1.02.1 (>= […]

强制安装32位deb失败后,如何安装64位版本?

我尝试了dpkg -i –force-architecture google-earth-stable_i386.deb但它失败了。 但是现在当我尝试安装amd64.deb时,它失败了 dpkg:error handlinggoogle-earth-stable_current_amd64.deb( – install):google-earth-stable:6.2.2.6613-r0(Multi-Arch:no)不能与google-earth-stable:i386 6.2共同安装。 2.6613-r0(多拱:否)当前安装时处理时遇到错误:google-earth-stable_current_amd64.deb 不知怎的,它认为安装了i386版本。 没有谷歌地球文件或目录甚至存在。 sudo dpkg –configure -a 输出: dpkg:依赖性问题会阻止google-earth-stable的配置:i386:google-earth-stable:i386依赖于lsb-core(> = 3.2)。 dpkg:error handlinggoogle-earth-stable:i386( – configure):依赖性问题 – 保留未配置处理时遇到错误:google-earth-stable:i386 所以它确实以某种身份存在。 sudo apt-get -f install 什么都不做: 读取包列表…完成构建依赖关系树读取状态信息…完成0升级,0新安装,0删除,10未升级。 奇怪的是,突触并没有显示任何谷歌地球包可用,更不用说安装了,也没有在破碎的filter下。 我也试过sudo apt-get autoremove和sudo apt-get autoclean 所以, 我的问题是 :我怎样才能摆脱这个问题?

尝试更新时未满足的依赖项

长话短说,我的Ubuntu 12.04虚拟机空间不足,更新失败。 然后我增加了磁盘空间,但我再也无法使用apt-get更新任何内容了。 这是apt-get upgrade的输出: 阅读包裹清单……完成 构建依赖树 阅读国家信息……完成 您可能希望运行’apt-get -f install’来纠正这些问题。 以下包具有未满足的依赖项: linux-headers-generic:取决于:linux-headers-3.2.0-53-generic但它没有安装 linux-image-generic:取决于:linux-image-3.2.0-53-generic但它没有安装 E:未满足的依赖项。 尝试使用-f。 之后我运行apt-get install -f并获得此输出: 阅读包裹清单……完成 构建依赖树 阅读国家信息……完成 纠正依赖关系……完成 将安装以下额外包: linux-generic linux-headers-generic linux-image-generic 将升级以下包: linux-generic linux-headers-generic linux-image-generic 3个升级,0个新安装,0个删除,57个未升级。 3未完全安装或拆除。 需要获得6448 B的档案。 执行此操作后,将使用0 B的额外磁盘空间。 你想继续[Y / n]吗? ÿ 获取:1 [链接已删除]精确更新/主要linux-generic amd64 3.2.0.59.70 [1718 B] 获取:2 [链接已删除]精确更新/主要linux-image-generic amd64 3.2.0.59.70 [2370 B] 获取:3 [链接已删除]精确更新/主要linux-headers-generic […]

如何从意外删除dpkg中恢复?

我错误地从我的电脑上删除了dpkg(ubuntu 16.04)。 当我运行apt命令时,它显示错误: Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100) 任何人都可以建议我解决这个问题。 提前致谢 !!!

`dpkg-reconfigure –all`在16.04仍然可用吗?

升级到16.04后,我尝试使用该命令,但似乎dpkg-reconfigure (或dpkg –reconfigure )不理解选项–all 。 这还能用吗? 如果没有,是否有相同的命令?

dpkg:error handlinglinux-headers-3.2.0-35

每当我在终端中安装,更新或卸载程序时,都会出现这种情况 sudo apt-get autoremove Reading package lists… Done Building dependency tree Reading state information… Done The following packages will be REMOVED linux-headers-3.2.0-35-generic-pae 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 11.3 MB disk space will be freed. Do you want to continue […]