小编Jos*_*ler的帖子

如何重新安装 APT 工具?

我想重新安装APT Tool,所以我卸载了它,然后我意识到如果我只是删除/etc/apt目录可能会更好。有什么办法可以解决我的问题吗?

我的 Ubuntu 版本是 18.04.2 LTS,输出ls /etc/apt

root@user-OptiPlex-755:~# ls /etc/apt 
ls: cannot access '/etc/apt': No such file or directory
Run Code Online (Sandbox Code Playgroud)

更新:我已经重新安装了apt,但是,这是我的输出:

root@user-OptiPlex-755:~# sudo apt install --reinstall apt-utils ubuntu-minimal ubuntu-release-upgrader-gtk ubuntu-desktop update-manager update-notifier update-notifier-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package update-manager 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 …
Run Code Online (Sandbox Code Playgroud)

uninstall apt software-installation

4
推荐指数
1
解决办法
3342
查看次数

为什么 spd-say 在命令行中过一会儿就停止说话?

我注意到每当我在命令行中尝试 spd-say 时,它总是在启动后不久停止,并且没有完成我告诉它说的话。

例如,

spd-say "moo moo farms are the best cow farms ever. They say moo, they don't pollute the earth, and they give milk. Visit moo moo farms today for only twelve easy payments of seventeen ninety five weekly!"
Run Code Online (Sandbox Code Playgroud)

只会说moo moo farms are the best cow farms. They say moo, they don't pollute the earth, and they gi;然后它就切断了。

谁能告诉我这里发生了什么?我在 Aspire 5610Z 上使用 Linux Mint 19.0,在 Optiplex 755 上使用 Linux Ubuntu 18.04。

command-line text-to-speech

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