Tag: 包管理

由于ttf-mscorefonts-installer软件包错误,无法从软件中心安装任何软件

当我尝试从ubuntu软件中心安装任何软件时,它会出现错误: An unhandled error occured There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks. details Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/aptdaemon/worker.py”, line 961, in simulate trans.unauthenticated = self._simulate_helper(trans) File “/usr/lib/python2.7/dist-packages/aptdaemon/worker.py”, line 1085, in _simulate_helper return depends, […]

有多个Ubuntu安装一起管理并保持相同状态的选项有哪些

最近我负责管理2个计算机实验室(目前有35个工作站,可能在一两个月内翻一番),只要我安装了一堆常用的科学软件(Mathematica和朋友),就可以完全控制软件堆栈。 我打算出于各种原因使用Ubuntu。 手动安装Ubuntu和管理更新等当然是一种选择,但我想知道是否有更有效的方法来做这些东西和更多“不要重复自己”的方式? 任务 Ubuntu安装 在每个工作站上安装(复制)相同的软件堆栈和配置 让他们更新

试图覆盖’/ usr / bin / opencv_haartraining’,这也是包libopencv2.3-bin 2.3.1 + svn6514 + branch23-12~oneiric

安装一些软件包和库后,我在软件包管理器上出错,我无法运行任何更新,因为它说: 包系统已损坏如果您使用第三方存储库,则禁用它们,因为它们是问题的常见来源。 现在在终端中运行以下命令:apt-get install -f 我试着做它说的话,它让我回报: jara@jara-Aspire-5738:~$ sudo apt-get install -f 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: libcaca-dev libopencv2.3-bin nite-dev python-bluez ps-engine libslang2-dev python-sphinx ros-electric-geometry-tutorials ros-electric-geometry-visualization python-matplotlib libzzip-dev ros-electric-orocos-kinematics-dynamics ros-electric-physics-ode libbluetooth-dev libaudiofile-dev libassimp2 libnetpbm10-dev ros-electric-laser-pipeline python-epydoc […]

如何不安装推荐和建议的包?

我使用64位的Ubuntu 12.04,我做了以下操作: sudo gedit /etc/apt/apt.conf并添加 APT::Install-Recommends “false”; APT::Install-Suggests “false”; 但它没有用。 当我尝试安装软件包时,它仍然希望安装建议和推荐的软件包。 我怎么解决这个问题?

apt-get仅针对特定存储库进行更新

当我添加PPA并且我想安装它的一些内容时,使用apt-get update重新更新我的所有apt列表是非常烦人的。 是否可以仅同步给定存储库的内容?

如何列出依赖包(反向依赖)?

为了研究导致安装给定包的原因,我想得到一个依赖于该包的包列表。 我在man dpkg找不到任何明显的东西。

如何删除/安装未完全安装的软件包?

前几天我去安装bsnes,无论出于什么原因安装失败了。 现在,我无法更新,安装新软件包,或基本上执行任何apt-get命令,因为它们都试图处理这个损坏的软件包并失败。 试图安装一个新的软件包也只是让它陷入了同样的命运。 我得到的错误是: Setting up google-chrome-stable (33.0.1750.152-1) … /var/lib/dpkg/info/google-chrome-stable.postinst: 124: /var/lib/dpkg/info/google-chrome-stable.postinst: update-alternatives: not found dpkg: error processing google-chrome-stable (–configure): subprocess installed post-installation script returned error exit status 127 Setting up bsnes (0.088-7) … /var/lib/dpkg/info/bsnes.postinst: 5: /var/lib/dpkg/info/bsnes.postinst: update-alternatives: not found dpkg: error processing bsnes (–configure): subprocess installed post-installation script returned error exit status 127 Errors […]

为什么我从Ubuntu存储库获取包的身份validation错误?

我正在试验VPN,所以我想安装pptpd。 john@desktop:~$ sudo apt-get install pptpd [sudo] password for john: The following extra packages will be installed: bcrelay The following NEW packages will be installed: bcrelay pptpd 0 upgraded, 2 newly installed, 0 to remove and 11 not upgraded. Need to get 90.5 kB of archives. After this operation, 442 kB of additional disk space […]

为什么我不升级应用程序而不升级整个操作系统?

在Ubuntu中,一旦发布版本,已安装的软件仅接收安全更新。 在Windows中,我可以获得具有新function的新版程序。 Windows如何做到这一点,为什么不能Ubuntu?

以下包具有未满足的依赖项!

我写这篇是因为我对在我的Ubuntu 14.04上安装PostgreSQL 9.3感到非常困惑。 首先我需要它用于我的Python / Django开发,当我尝试安装它时遇到了问题。 现在我有这个错误,它让我发疯: The following packages have unmet dependencies: postgresql-9.3 : Depends: postgresql-client-9.3 but it is not going to be installed Depends: postgresql-common (>= 142~) but it is not going to be installed E: Unable to correct problems, you have held broken packages. 我在网上找到了一些解决方案( 如何在添加PPA后解决未满足的依赖关系? ),我为预防措施部分做了一切,因为我遇到了一些破坏的包问题,并且在我再次向我显示此错误后再次显示。 我遵循官方PostgreSQL安装教程( http://www.postgresql.org/download/linux/ubuntu/ )的第二件事,我有重复的存储库,但我删除了它们,我添加了一个新的但是还是这个错误。