Tag: 能力

在Ubuntu上安装flash

我有一个运行Ubuntu 12.10的EC2实例,我想在其上安装Flash Player。 但是,当我尝试按如下方式安装它时,我无法做到。 有人暗示我该怎么办? 谢谢。 $ sudo apt-get install flashplugin-installer Reading package lists… Done Building dependency tree Reading state information… Done Package flashplugin-installer is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package ‘flashplugin-installer’ […]

为什么apt不再更新内核?

不知怎的,我有一台12.04服务器停止更新内核。 它停留在3.2.0-24-generic并且不想获取任何新的更新。 目前的新内核是3.2.0-29 apt-get clean && sudo apt-get autoremove apt-get -f install apt-get update apt-get dist-upgrade 显示“0已升级,0新安装,0表示删除,0表示未升级”。 安装没有失败。 / var / log / aptitude不显示任何错误 我的来源。列表: ###### Ubuntu Main Repos deb http://ca.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://ca.archive.ubuntu.com/ubuntu/ precise main restricted ###### Ubuntu Update Repos deb http://ca.archive.ubuntu.com/ubuntu/ precise-security main restricted deb http://ca.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://ca.archive.ubuntu.com/ubuntu/ […]

如何在不诉诸谷歌的情况下弄清楚包装内容是什么?

我经常发现自己想安装一些东西,但我不确定它是什么包装。这对我来说很常见: $ make html sphinx-build -b djangohtml -d _build/doctrees . _build/html make: sphinx-build: Command not found make: *** [html] Error 127 $ sudo apt-get install sphinx E: Unable to locate package sphinx $ sudo apt-get install sphinx-build E: Unable to locate package sphinx-build 谷歌 $ sudo apt-get install python-sphinx 有没有更好的办法?

使用-y运行apt-get(或aptitude)但不提示更换配置文件?

在Ubuntu 10.04上运行apt-get -y install ,我想apt-get (或aptitude如果这样更容易)在安装其他依赖项时不提示我( -y行为,据我了解)并且没有提示我覆盖配置文件,而是假设始终保留现有的(通常是默认值)。 不幸的是–trivial-only根据man页, –trivial-only似乎是-y的反转并且不会影响显示的提示。 特别是作为samba , nullmailer , localepurge和lighttpd包auch强迫我与终端进行交互,即使整个过程是脚本化的并且意味着非交互式。