Tag: dpkg

由于debconf,无法更新nginx

我的时间是14.04.5 LTS。 运行正常的apt-get升级时出现此错误: Setting up nginx-common (1.10.1-3+trusty1) … dpkg: error processing package nginx-common (–configure): subprocess installed post-installation script returned error exit status 1 我已经省略了由此引起的所有后续错误,“包nginx-common尚未配置。”等。 我按照这个答案的过程来调试.postinst ,它永远不会超越第3行: . /usr/share/debconf/confmodule . /usr/share/debconf/confmodule – 这就是返回1 。 我已经尝试过这个解决方案,但它没有帮助,debconf绝对可以访问。 而这些 (错误仍然存​​在)。 据我所知,我在任何包含的conf文件中都没有ipv6 listen指令。 我不知道如何调试debconf以了解它失败的原因。 有谁知道我接下来应该尝试什么? 编辑:新的更新,他们安装,但我最后收到此错误: Setting up nginx-full (1.10.1-3+trusty2) … initctl: invalid command: upgrade Try `initctl –help’ for more […]

什么将应用程序归类为Ubuntu中的“已安装”?

我想知道是什么原因导致Ubuntu和/或Synaptic将程序识别为已安装。 是否存在应用程序必须具有条目的Windows注册表的等效项? 是否必须从。* deb软件包安装程序才能分类为已安装并显示在Synaptic中? 通常保存已安装程序的文件在哪里? 我知道配置文件保存在/home/x/但不是很多。

这个/ usr / bin / dpkg返回错误|| ubuntu-16.04,64bit

我正在尝试安装htop,但是由于未满足的依赖性而失败了。 试过sudo apt-get -f install ,但它没有解决问题。 试过sudo apt clean & sudo apt update , sudo apt upgrade ,没有运气。 试图删除dpkg,没有运气。 之前它显示, Could not get lock /var/lib/dpkg/lock以便我已将其删除,现在它在安装时显示以下错误。 Sub-process /usr/bin/dpkg returned an error code (1) ik@ik-ThinkPad-T440p:~$ sudo apt install htop Reading package lists… Done Building dependency tree Reading state information… Done You might want to run ‘apt-get -f […]

试图升级的nginx依赖问题

尝试升级我的Ubuntu 12.04 vps我收到以下错误: henrik@neung:~$ sudo apt-get upgrade [sudo] password for henrik: 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: nginx-full : Depends: nginx-common (= 1.2.4-1ubuntu0ppa2~precise) but 1.2.4-2ubuntu0ppa1~precise is installed E: Unmet dependencies. Try using -f. […]

更新时Ubuntu 15.04 Linux 4.0 Python错误,子进程/ usr / bin / dpkg返回错误代码(1)

在运行autoremove命令或更新时,甚至对于任何安装命令,我都会遇到以下错误。 我的系统是Ubuntu 15.04从14.04升级,Linux内核从3.19升级到4.00。 我已经安装了python 3.4.3并且我可以通过python命令使用python3。 请帮助我完全处于糟糕的状态。 TIA vivek@Wisdom:~$ sudo apt-get autoremove Reading package lists… Done Building dependency tree Reading state information… Done The following packages will be REMOVED: linux-image-3.19.0-16-generic linux-image-extra-3.19.0-16-generic 0 upgraded, 0 newly installed, 2 to remove and 55 not upgraded. 13 not fully installed or removed. Need to get 0 B/89.4 kB of […]

dpkg opporations失败:无法运行depmod,error handlinglinux-image-generic

我的笔记本电脑最近几次失去了电量,现在,每当我尝试进行打包操作时,我都会收到以下错误代码。 我尝试在论坛上搜索解决方案,但这些要么需要打包操作,要么没有得到答复。 ‘uname -r’告诉我我的内核是3.11.0-17-generic,但似乎我的内核头文件说3.11.0-18-generic。 我尝试启动旧内核版本以尝试解决问题,但我遇到了同样的错误。 谁知道我能做什么? sudo apt-get install -f Reading package lists… Done Building dependency tree Reading state information… Done 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 4 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up linux-image-3.11.0-18-generic (3.11.0-18.32) […]

12.04上的未满足依赖性问题 – libcurl4-openssl-dev取决于librtmp-dev

我在Ubuntu 12.04上遇到了未满足的依赖问题: libcurl4-openssl-dev取决于librtmp-dev 这是我在运行sudo apt-get -f install之后sudo apt-get -f install ,它建议运行apt-get autoremove 如果我运行sudo apt-get install librtmp-dev ,输出是相同的 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: libmagick++4 libgtkspell0 libgsl0ldbl Use ‘apt-get autoremove’ to remove them. The following extra packages […]

如何删除Brother MFC-8840 deb驱动程序坏掉的dpkg?

我似乎无法删除一个包。 我尝试过dpkg –purge和apt-get purge。 但是,似乎都没有真正删除包。 包是mfc8840dlpr(1.1.2-1)。 有什么办法可以让这个问题更清楚,更具体吗? 有人似乎解决了类似的问题,如下所示,但它没有太多关于如何实际删除包: 如何修复由Brother MFC-7340 deb驱动程序破坏的dpkg 还有其他人使用Brother打印机驱动程序.deb安装遇到此问题吗? 我尝试的输出如下: (Reading database … 471289 files and directories currently installed.) Removing mfc8840dlpr (1.1.2-1) … /var/lib/dpkg/info/mfc8840dlpr.postrm: 3: /var/lib/dpkg/info/mfc8840dlpr.postrm: /etc/init.d/lpd: not found dpkg: error processing package mfc8840dlpr (–remove): subprocess installed post-removal script returned error exit status 127 Errors were encountered while processing: mfc8840dlpr E: Sub-process […]

安装oracle-java8-installer时出现问题

我正在尝试安装Oracle的Java8,但是我收到以下错误。 我该如何解决这些问题? 翻译自西class牙语。 有关原始文本,请参阅修订版。 r06xd@uers1-H61MLV2:~$ sudo apt-get install oracle-java8-installer [sudo] password for r06xd: Leyendo lista de paquetes… Hecho Creando árbol de dependencias Leyendo la información de estado… Hecho Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios. ca-certificates-java fonts-dejavu-extra icedtea-6-jre-cacao icedtea-6-jre-jamvm libbonobo2-0 libbonobo2-common libgconf2-4 libgif4 libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0 […]

如何在更新Ubuntu和创建标准source.list文件时查找包

我刚刚升级到Ubuntu 14.04 LTS, amd64 。 我正在尝试安装一些软件,它说对于Ubuntu 13.10及更高版本,需要为32位兼容性组件安装以下库: sudo apt-get install libgtk2.0-0:i386 libxtst6:i386 libpangox-1.0-0:i386 \ libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 \ libncurses5:i386 libudev1:i386 libusb-1.0:i386 libusb-0.1:i386 \ gtk2-engines-murrine:i386 我知道当我有Ubuntu 13.10我可以下载这些软件包,但是现在我更新了,所以找不到这些软件包: Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package libgtk2.0-0 E: Couldn’t find any package by regex ‘libgtk2.0-0’ 如何在Ubuntu 14.04 LTS, amd64查找这些软件包? […]