Tag: package management

如何获取从PPA安装的所有软件包的列表,即使对于可能已被删除的PPA存储库也是如此

我已经看过这个问题: 如何列出从PPA安装的所有软件包? 它仅适用于从PPA安装的软件包,其中PPA存储库仍添加到系统中。 有没有办法获得相同类型的列表,但包括所有当前添加或过去添加的PPA存储库中的所有包?

子进程/ usr / bin / dpkg返回错误代码(1)

每当我尝试运行sudo apt-get时,我在上面的标题中遇到错误,我无法弄清楚为什么。 例如: Setting up python-gobject-2 (2.28.6-12ubuntu1) … /var/lib/dpkg/info/python-gobject-2.postinst: 6: /var/lib/dpkg/info/python-gobject-2.postinst: pycompile: not found dpkg: error processing package python-gobject-2 (–configure): subprocess installed post-installation script returned error exit status 127 Setting up python-cairo (1.8.8-2) … /var/lib/dpkg/info/python-cairo.postinst: 6: /var/lib/dpkg/info/python-cairo.postinst: pycompile: not found dpkg: error processing package python-cairo (–configure): subprocess installed post-installation script returned error exit status 127 […]

在Ubuntu 18.04中缺少php7.2-mbstring包

我试图找到一种方法将php7.2-mbstring安装到Ubuntu 18.04,但我找不到它。 sudo apt-get install php7.2-mbstring响应没有找到它。 根据Cannonical和Debian网站,这个数据包存在。 得到这个包有什么特别的事吗?

如何检查是否安装了虚拟包?

在以下问题中,有一个在安装包之前检查包的解决方案: 如何检查我的服务器上是否安装了软件包? 但是,我发现这对虚拟包不起作用。 有没有办法遍历apt-get自动选择并检查正确的包名称?

尝试在Ubuntu 15.10中安装Kubuntu-desktop时出现程序包错误

我根本无法让kubuntu-desktop正确安装。 我试过卸载它并重新安装它,我认为,现在已经4次了。 每次我都会遇到相同的破坏包错误。 Unpacking kde-config-telepathy-accounts (4:15.08.2-0ubuntu1) … dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.08.2-0ubuntu1_amd64.deb (–unpack): trying to overwrite ‘/usr/share/accounts/services/google-im.service’, which is also in package account-plugin-google 0.12+15.10.20150723-0ubuntu1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.08.2-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 做“sudo apt-get -f install”没有用。 修复此问题的唯一方法似乎是加载synaptic并强制删除损坏的包。 奇怪的是,“等离子”随后出现在迎宾屏幕中,即使在移除了“kubuntu-desktop”的其余部分后也是如此。 我不确定这里的问题是什么。 […]

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 […]

在Ubuntu 18.04中打包php7.2-mbstring unmet依赖项

尝试为mediawiki安装程序安装php-mbstring 。 在第一次尝试Universe存储库后添加: 在Ubuntu 18.04中缺少软件包php7.2-mbstring 但是给我带来的困难在这里详情: usertilo@myserver4:~$ sudo apt-get install php-mbstring 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 using the unstable distribution that some required packages have not yet been created […]

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 (>= […]

无法在ubuntu 12.04上安装libgtk2.0-dev

我在ubunut 12.04上使用opencv 3,在显示图像时,错误消息要求我使用libgtk2.0-dev构建库。 我试过sudo apt-get install libgtk2.0-dev但我收到以下错误。 teraflops@teraflops-Inspiron-3542:~$ sudo apt-get install libgtk2.0-devReading 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 using the unstable distribution that some required packages have not yet been created […]

如何通过APT停止连续降级?

每次我去终端进行更新+升级时,都要降级2个软件包( debhelper和dh-autoreconf )。 这是我收到的消息: The following packages will be DOWNGRADED: debhelper dh-autoreconf 0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 0 not upgraded. Need to get 0 B/854 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] 前几次我继续使用它但是在它完成之后立即检查包并要求我降级那两个相同的包。 昨天我试图安装一台爱普生扫描仪并安装了一些东西(其中包括sane和iscan)。 我已经尝试重新安装它想要降级的两个软件包(使用synaptic软件包管理器),但是一旦我这样做,synaptic会将它们标记为降级。 […]