Tag: 的dpkg

如何解决“dpkg:错误:在PATH中找不到1个预期程序或不可执行”?

我使用命令sudo apt-get install lamp-server^安装了LAMP服务器。 此后,每当我打开终端时,都会出现以下错误: bash: /home/gaja/.bashrccu: No such file or directory bash: /home/gaja/.bashrc: line 4: syntax error near unexpected token (‘ bash: /home/gaja/.bashrc: line 4: see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)’ 我可以使用这里给出的答案摆脱这个问题。 但是,现在的问题是我无法使用sudo apt-get命令安装任何东西。 我试图成为root然后重新运行sudo apt-get install lamp-server^命令,它会输出以下错误: dpkg: warning: ‘tar’ not found in PATH or not executable dpkg: error: 1 expected program not […]

安装Skype后断开依赖关系

安装skype后,我的依赖项被破坏了。 我试图运行apt-get -f install但我只收到错误消息。 我在AMD64上运行Ubuntu 12.04。 如果您需要更多信息,请告诉我。 以下包具有未满足的依赖项: 的libasound2-插件:I386: 取决于:libjack-jackd2-0:i386(> = 1.9.5~dfsg-14) 但它不会被安装或libjack-0.116:i386 获取:1 http://ppa.launchpad.net/dns/sound/ubuntu/ exact / main libjack-jackd2-0 i386 1.9.8~dfsg.2-1precise1 [202 kB] 以1s(105 kB / s)为单位提取202 kB 解压缩libjack-jackd2-0:i386(来自… / libjack-jackd2-0_1.9.8~dfsg.2-1precise1_i386.deb)… dpkg:error handling/var/cache/apt/archives/libjack-jackd2-0_1.9.8〜dfsg.2-1precise1_i386.deb(–unpack): ‘./usr/share/doc/libjack-jackd2-0/buildinfo.gz’与系统上的同一文件不同 dpkg-deb:错误:子进程粘贴被信号杀死(断管) 处理时遇到错误: /var/cache/apt/archives/libjack-jackd2-0_1.9.8~dfsg.2-1precise1_i386.deb E:子进程/ usr / bin / dpkg返回错误代码(1) 感谢帮助。 也许它引起了LMMS,但安装Skype后出现问题。 🙂

“软件包处于非常糟糕的不一致状态 – 您应该在尝试配置之前重新安装它。”

最近,我正在安装从13.04到13.10 ubuntu的新版本,同时还在观看video。 好吧,猜猜发生了什么,我的桌面崩溃了4分钟,然后再次访问桌面,一切似乎搞乱了像字符应该是的盒子符号。 我知道这是一个坏主意,但我决定重新启动暂停安装过程,现在我遇到了这个错误。 dpkg: error processing unity-lens-photos (–configure): package is in a very bad inconsistent state – you should reinstall it before attempting configuration. Errors were encountered while processing: untity-lens-photos e: subprocess /usr/bin/dpkg returned an error code (1). 每当我尝试升级或安装任何东西时,它都会弹出。 这是在我完成其余文件更新后。 我尝试了很多东西并阅读了很multithreading。 我现在真的迷路了,请帮忙。 此外,我无法访问面板,我目前正在尝试终端中的所有内容。 错误导致尝试安装gnome面板。

由于libjackd导致依赖性下降

所以我自豪地第一次更新了我的Linux发行版,之后出现了问题。 我在64位计算机上运行Ubuntu Unity 2D(通常)12.04(从今天开始)。 实际上,第一次升级 – 我通过Update Manager进行了升级 – 没问题(即使我对必须安装的i386软件包数量感到惊讶)。 然后,我重新启用了因升级而已禁用的存储库并更新了我的系统。 我被告知执行“部分升级”,我做了,但再次感到惊讶的是安装的i386软件包的数量以及LMMS(https://launchpad.net/lmms)被删除的事实; 葡萄酒,以及其他,也正在更新,这可能是原因,因为LMMS依赖于某些版本的葡萄酒(我只知道这一点,其余我是一个总菜鸟)。 无论如何,这导致我破坏了依赖关系gstreamer0.10-plugins-good:i386和libasound2-plugins:i386 。 Synaptic还不断尝试安装libjack-jackd2-0:i386 ,但每次都会出错。 我不知道这一切是葡萄酒还是LMMS相关,但它可能会有所帮助…… 我被告知执行:Synaptic的’ sudo apt-get -f install ‘,但它显然失败了: ~$ sudo apt-get -f install Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following packages were automatically installed and are no longer required: libxml++2.6-2 […]

处理时遇到错误:man-db

当我使用apt-get upgrade & apt-get autoremove和每个apt-get [Something]..时,我得到这个错误apt-get [Something]..当我尝试安装应用程序时: Errors were encountered while processing: man-db E: Sub-process /usr/bin/dpkg returned an error code (1)

试图覆盖’文件’,这也是包’*’,如何解决?

我无法更新任何内容。 我在13.10。 当我尝试安装更新时,我得到了这个: dpkg: error processing /var/cache/apt/archives/librhythmbox-core7_3.0.1-0~13.10~ppa1_amd64.deb (–unpack): trying to overwrite ‘/usr/lib/librhythmbox-core.so.8.0.0’, which is also in package librhythmbox-core8 3.0.1-1ubuntu5~ppa0 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/librhythmbox-core7_3.0.1-0~13.10~ppa1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 有没有人有办法解决吗 ?

如何修复“*:无法配置i386,因为*:amd64的版本不同”?

我设法打破了apt-get,我认为它与supercollider和Skype之间的竞争版本的libqt有关。 当我运行apt-get -f install我得到: Reading package lists… Done Building dependency tree Reading state information… Done Correcting dependencies… Done The following packages were automatically installed and are no longer required: libxml++2.6-2 libffado2 libconfig++8 libssl1.0.0:i386 Use ‘apt-get autoremove’ to remove them. The following extra packages will be installed: libqt4-declarative:i386 libqt4-sql-mysql libqt4-sql-mysql:i386 libqt4-test qdbus Suggested packages: libqt4-declarative-folderlistmodel:i386 libqt4-declarative-gestures:i386 […]

dpkg:error handlingpython-minimal(–configure)

当我运行sudo apt-get upgrade ,会出现dpkg错误并中断该进程。 错误详情: Setting up python-minimal (2.7.3-0ubuntu7.1) … Traceback (most recent call last): File “/usr/local/lib/python2.7/runpy.py”, line 162, in _run_module_as_main “__main__”, fname, loader, pkg_name) File “/usr/local/lib/python2.7/runpy.py”, line 72, in _run_code exec code in run_globals File “/usr/local/lib/python2.7/compileall.py”, line 16, in import struct File “/usr/local/lib/python2.7/struct.py”, line 1, in from _struct import * ImportError: No module named […]

如何在子进程安装后调试dpkg configure error?

简而言之:我正在尝试安装spamassassin,但dpkg仅返回: dpkg: error processing spamassassin (–configure): subprocess installed post-installation script returned error exit status 1 我试图找到有关出错的更多信息,但我找不到任何有用的日志记录。 在/ var / crash中生成了spamassassin crashreport,但这只会产生旧的dpkg错误,并且: Start-Date: 2014-02-17 19:18:13 Commandline: apt-get install spamassassin AptOrdering: spamassassin: Configure amavisd-new-postfix: Configure 接下来是启动时的dmesg日志记录。 Amavis发出错误,因为未配置依赖spamassassin。 我检查了日志文件: apt history.log apt term.log dpkg.log syslog.log 但没有其他信息。 我尝试了所有可能的octals的dpkg -D但我发现什么可能出错没什么用。 关于dpkg错误已经写了很多问题和可能的解决方案,而且我已经尝试了很多,但是没有其他信息我没有感觉我到处都是。 当然必须有某种可能性来读取出现问题或者记录一些日志记录以便记录下来?

如何修复“无法打开锁定文件”,因为“权限被拒绝”?

每当试图安装任何软件和更新管理器时, 我收到一个错误说明 Package operation failed The installation or removal of a software package failed 当我运行sudo apt-get update我得到了这个结果: conan51xd@conan51xd-Lenovo-B470:~$ sudo apt-get -f install [sudo] password for conan51xd: Reading package lists… Done Building dependency tree Reading state information… Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. conan51xd@conan51xd-Lenovo-B470:~$ apt-get update E: Could not […]