小编sta*_*bra的帖子

gnome-terminal 的 -e 和 -x 选项有什么区别?

手册页状态:

-e, --command=STRING
Execute the argument to this option inside the terminal.
-x, --execute
Execute the remainder of the command line inside the terminal.
Run Code Online (Sandbox Code Playgroud)

第二个例子中的“命令行”指的是什么?它的“剩余部分”是什么?您能否举例说明这两个选项的不同之处?或者它们基本相同?

command-line gnome-terminal

12
推荐指数
1
解决办法
6715
查看次数

为什么 apt 在 Universe 存储库中检测不到较新的 .deb 版本,即使它存在于那里?

我想弄清楚为什么没有apt-get检测到较新版本的chromium-browser.

这是在 Ubuntu 16.04.3 LTS 上。

首先,这是输出sudo apt update

Hit:1 http://lu.archive.ubuntu.com/ubuntu xenial InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Run Code Online (Sandbox Code Playgroud)

这是输出apt-cache policy chromium-browser

chromium-browser:
  Installed: 73.0.3683.86-0ubuntu0.16.04.1
  Candidate: 73.0.3683.86-0ubuntu0.16.04.1
  Version table:
 *** 73.0.3683.86-0ubuntu0.16.04.1 100
        100 /var/lib/dpkg/status
     49.0.2623.108-0ubuntu1.1233 500
        500 http://lu.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Run Code Online (Sandbox Code Playgroud)

它显示我安装的版本73是最新的并且它匹配候选版本,所以它不会更新任何东西。

如果我尝试使用 模拟安装apt-get install -s chromium-browser,我会得到:

chromium-browser is already the newest version (73.0.3683.86-0ubuntu0.16.04.1).
0 upgraded, 0 …
Run Code Online (Sandbox Code Playgroud)

updates package-management apt ppa repository

5
推荐指数
1
解决办法
1700
查看次数