为什么官方 Ubuntu 存储库中的软件包比来自 Debian Sid、PPA、作者等的最新(上游)版本更旧?
我知道在 bash 中,您可以在 .bash_aliases 文件中设置别名,以便您键入的命令不需要是存储在系统二进制文件中的命令。有什么办法可以让别名进入 zsh?
我希望能够使用进度指示器禁用我在启动时看到的 Ubuntu 启动画面,并将其替换为启动过程的纯文本读数(例如您可以通过esc在启动画面)。这可能吗?
我不是要禁用 X 并进入纯文本登录,我是问如何用点停用“Ubuntu”加载屏幕,以便我可以看到启动过程的文本输出 - 正在启动的进程,内核消息等。当我写这个问题时,我不是在问如何完全禁用 X,只是在启动启动画面。
nginx在 Ubuntu 上是由官方存储库中的五个软件包之一提供的虚拟软件包(至少从 14.04 开始nginx-core,我相信默认为):
$ apt-cache depends nginx | tail -n+2 | cut -d: -f 2 | sort -u
nginx-core
nginx-extras
nginx-full
nginx-light
nginx-naxsi
Run Code Online (Sandbox Code Playgroud)
这些包之间有什么区别,推荐的用例是什么?
这个有点老的Debian Wiki页面之间有着功能比较extras,full,light和naxsi,但没有提到的core。14.04 有多少变化?
次要
据我所知,nginx不支持像 Apache 那样的模块的运行时启用,那么安装会nginx-extras影响性能吗?
任何与状态更新有关的问题,或询问是否要针对这些漏洞修补任何内容都应作为此问题的副本关闭。
Meltdown 和 Spectre现在都在新闻中,听起来很严重。我没有看到来自 Ubuntu 的任何涵盖这些漏洞的安全更新。
Ubuntu 对这些漏洞做了什么,Ubuntu 用户应该做什么?
它们是 CVE-2017-5753、CVE-2017-5715 和 CVE-2017-5754。
我刚刚从 14.10 升级到 16.04,但不确定如何在 apache 中配置 PHP 7。我确实修改了 php7.0.conf 文件以取消对最后几行的注释,重新启动 apache2 并且没有任何变化。
我是否需要更改 apache2 设置以允许 php?
PHP 从命令行运行,所以我确定 php 已正确安装。
此外,我在 phpadmin 上收到一个错误,说 mbstring 丢失。
我安装了 Ubuntu 18.04,然后在安装 Virtualbox 后,我收到了“i386”错误消息:
$ sudo apt-get update
Get:1 http://nl.archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Hit:4 http://nl.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://nl.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:6 http://download.virtualbox.org/virtualbox/debian bionic InRelease [4429 B]
Get:7 http://download.virtualbox.org/virtualbox/debian bionic/contrib amd64 Packages [1426 B]
Fetched 248 kB in 1s (209 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' doesn't support architecture 'i386'
Run Code Online (Sandbox Code Playgroud)
我在 Askubuntu 上找到了几个关于“i386”消息的答案,但我不知道如何将其应用于我的情况
我希望能够创建一个不包含任何代码或程序本身的包,而是将存储库中存在的其他包安装到计算机上,该ubuntu-restricted-extras包的功能如何?
操作系统:Ubuntu 14.04 LTS
蟒蛇:2.7.6
我安装的 Gourmet Recipe Manager 突然停止加载。当我在终端窗口中运行它时,我在回溯结束时得到以下信息:
import datetime as dt
ImportError: No module named datetime
Run Code Online (Sandbox Code Playgroud)
据我所知,没有任何变化,我的 Python 安装是最新的。它只是昨天停止工作。我当然会很感激诊断和解决这个问题的好方法!
更新:感谢所有回复的人!
蒂姆,如果我在错误的地方问了这个问题,我很抱歉。请简单地按照 Ubuntu 网站上的链接将其归结为成为一个新人。
TheSchwa,我尝试了您的建议并收到与上述相同的错误消息。
muru,该软件包似乎已安装,但我不知道它是否已正确安装/配置。我怎么知道?
对于所有的问题,我很抱歉,但我是 RedHat 的老家伙,已经离开 Linux 有一段时间了。所有 apt/dpkg 的东西对我来说都是新的。
这是输出aptitude update:
Ign http://archive.canonical.com natty InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://dl.google.com stable InRelease
Ign http://security.ubuntu.com natty-security InRelease
Hit http://deb.torproject.org natty InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Hit http://archive.canonical.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://us.archive.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release
Hit http://archive.canonical.com natty Release
Hit http://extras.ubuntu.com natty Release
Get:2 http://dl.google.com stable Release [1,338 B]
Hit http://us.archive.ubuntu.com natty-updates Release.gpg
Hit http://security.ubuntu.com natty-security/main Sources …Run Code Online (Sandbox Code Playgroud)