相关疑难解决方法(0)

如何安装 ubuntu-restricted-extras 包?

我想安装受限制的附加包,我在安装过程中没有选择。我怎样才能做到这一点?


是一个元包,它安装:

  • 支持 MP3 和未加密的 DVD 播放
  • Microsoft TrueType 核心字体
  • Flash插件
  • 常见音频和视频文件的编解码器

ubuntu-restricted-extras

42
推荐指数
3
解决办法
24万
查看次数

如何在 18.04 中安装 Telegram 应用程序?

当我尝试安装 Telegram 时,出现以下错误:

itsmarttricks@mangesh:~$ sudo apt-get install telegram
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:6.2.2) but it is not going to be installed
 libreoffice-java-common : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
 libreoffice-report-builder : Depends: libreoffice-common (= 1:6.2.2-0ubuntu0.18.04.1~lo1) but it is not going to be installed
 libreoffice-script-provider-bsh : …
Run Code Online (Sandbox Code Playgroud)

package-management xubuntu apt 18.04

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

gpg:警告:homedir '/home/user/.gnupg' 上的所有权不安全

我正在尝试按照本指南安装 Tor 浏览器:

Ubuntu 18.04.3 TLS 上的https://2019.www.torproject.org/docs/debian.html.en 。

当运行以下命令时:

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
Run Code Online (Sandbox Code Playgroud)

我收到以下错误消息:

E: This command can only be used by root.
Run Code Online (Sandbox Code Playgroud)

当我使用 运行相同的命令时sudo,我收到以下消息:

gpg: WARNING: unsafe ownership on homedir '/home/user/.gnupg'
E: This command can only be used by root.
Run Code Online (Sandbox Code Playgroud)

有谁知道如何解决它以及为什么会发生这种情况?

permissions apt gnome-terminal tor gnupg

3
推荐指数
1
解决办法
1万
查看次数