Tag: dpkg

dpkg:error handling包libc-bin( – configure)

升级到Ubuntu 16.04后,我无法更新我的系统。 平常之后: apt-get 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. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? […]

安装WineHQ-stable时使用libsane的DPKG错误消息

随着17.10 ubuntu的新副本安装。 我发现了一个可重复的错误,我认为它会永久地搞乱我的葡萄酒装置。 在出错之后,我只需格式化系统并再次重试。 安装winehq时遇到错误消息。 稳定版和暂存版都遇到了完全相同的问题。 我在互联网上找不到答案。 如果可以的话请帮忙。 Selecting previously unselected package libtxc-dxtn-s2tc:i386. Preparing to unpack …/150-libtxc-dxtn-s2tc_1.0+git20151227-2_i386.deb … Unpacking libtxc-dxtn-s2tc:i386 (1.0+git20151227-2) … Errors were encountered while processing: /tmp/apt-dpkg-install-mh7wRK/137-libsane1_1.0.27-1~experimental2ubuntu1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

使用dpkg-query命令获取已安装包的安装时间,日期和供应商详细信息列表

我试图获得软件包名称与版本,拆分包和版本,该软件包的供应商,安装时间和日期使用: dpkg-query -W -f=’${Package}-${version} ${package} ${version} ${Maintainer} ${installtime}\n’ 但我得到了包的名称与版本,拆分包和版本,该包的供应商。 我无法检索安装时间和日期。 如何通过上述查询获取软件包安装时间和日期?

升级14到16.04:未安装所需的依赖项’dpkg(> = 1.17.5ubuntu5.6)’。 救命?

我试图将我的Ubuntu从14更新到最新的Ubuntu 16.04。 我无法升级,并出现以下错误消息。 我该怎么办? 未安装所需的依赖项’dpkg(> = 1.17.5ubuntu5.6)’。

yum whatprovides’perl(Foo :: Bar)’等同于apt还是dpkg?

这肯定与这个问题有关 ,但我觉得它没有重叠,所以我们走了。 如何在Ubuntu上获得以下命令的function(和/或Debian作为奖励): yum whatprovides ‘perl(Foo::Bar)’ 显然,我可以尝试依赖包以某种方式结束类似于Perl中的命名空间的文件夹结构,但我正在寻找等价的东西,即同样简短和琐碎。 但是,如果它在Ubuntu上不能简单地工作,我可以使用更长的路径并创建我自己的函数。 对于这个问题,请考虑10.04或更新版本。

installArchives()失败:dpkg:依赖性问题阻止配置“包”

每次我尝试使用Ubuntu软件中心时,都会收到一条错误消息“在修复软件包目录之前无法安装或删除项目” 。 当我尝试修复时,它会说“安装或删除软件包失败” 。 根据细节,它说: installArchives() failed: dpkg: dependency problems prevent configuration of linux-generic: linux-generic depends on linux-image-generic (= 3.2.0.38.46); however: Version of linux-image-generic on system is 3.2.0.58.69. linux-generic depends on linux-headers-generic (= 3.2.0.38.46); however: Version of linux-headers-generic on system is 3.2.0.58.69. dpkg: error processing linux-generic (–configure): dependency problems – leaving unconfigured No apport report […]

包装破损,但无法清洗或重新安装!

我的mdadm软件包没有完全安装,当我运行sudo apt-get upgrade ,我看到以下错误信息: Setting up mdadm (3.3-2ubuntu7.1) … dpkg: error processing package mdadm (–configure): subprocess installed post-installation script returned error exit status 20 Errors were encountered while processing: mdadm E: Sub-process /usr/bin/dpkg returned an error code (1) 我试图用dpkg –purge mdadm清除mdadm以便稍后重新安装它,但是系统告诉我: ubuntu-server is dependent on mdadm 。 我已经尝试过http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/建议的解决方案 sudo apt-get update –fix-missing sudo dpkg –configure […]

处理linux-image- *包时遇到的错误(通过APT / dpkg)

sudo apt-get upgrade返回: Errors were encountered while processing: linux-image-4.8.0-39-generic linux-image-4.8.0-41-generic linux-image-generic linux-firmware linux-signed-image-4.8.0-39-generic linux-image-extra-4.8.0-39-generic linux-image-4.8.0-37-generic linux-image-extra-4.8.0-37-generic linux-signed-image-4.8.0-41-generic linux-signed-image-4.8.0-37-generic linux-signed-image-generic linux-image-extra-4.8.0-41-generic linux-generic linux-signed-generic initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) 我看到了相关的问题,但他们的错误有点不同。 我不知道这是否重要。

Ubuntu 14.04不支持Viber

我已经下载了Viber并通过终端安装到我的Ubuntu 14.04操作系统。 对于安装,我使用dpkg -i进行安装,并使用apt-get install -f来安装依赖项: wget -O viber.deb http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb sudo dpkg -i viber.deb sudo apt-get install -f 虽然安装了Viber,但无法启动。 通过终端执行它,我得到输出: $ /opt/viber/Viber ./Viber: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20′ not found (required by ./Viber) ./Viber: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8′ not found (required by ./Viber) ./Viber: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8′ not found (required by /opt/viber/lib/libQt5Location.so.5) ./Viber: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8′ not found […]

“/etc/grub.d/README:6:语法错误:”(升级grub包时出现“意外”)

我在安装任何程序时遇到问题。 我收到Sub-process /usr/bin/dpkg returned an error code (1)错误Sub-process /usr/bin/dpkg returned an error code (1) 。 以下是apt-get -f install输出的日志。 知道我的包管理器有什么问题吗? tahir@tahir-Inspiron-1564:/var/www$ sudo apt-get -f install [sudo] password for tahir: Reading package lists… Done Building dependency tree Reading state information… Done 0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded. 5 not fully installed […]