AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[emacs](ubuntu)

Martin Hope
mikemtnbikes
Asked: 2022-01-07 13:06:32 +0800 CST

为什么 Ubuntu 不提供 emacs .el 文件的编译版本

  • 0

我刚刚注意到,当我在 MATE 20.04 上启动 emacs 时,它加载的系统包是源文件,而不是它们的二进制文件。我很想知道为什么,因为据我所知,二进制文件的加载速度要快得多。

例如,

Loading /etc/emacs/site-start.d/00debian.el (source)...done
Loading /etc/emacs/site-start.d/50auctex.el (source)...
Loading /usr/share/emacs/site-lisp/auctex.el (source)...done
Loading /usr/share/emacs/site-lisp/preview-latex.el (source)...done
Loading /etc/emacs/site-start.d/50auctex.el (source)...done
.
.
.
Loading personal...
Loading no-x-settings...done
Loading ssh...done
emacs
  • 1 个回答
  • 43 Views
Martin Hope
wyphan
Asked: 2020-12-17 16:49:24 +0800 CST

为 Emacs 25 手动更新 GNU ELPA 密钥环

  • 5

每当我运行M-x package-refresh-contentsor时,我都会收到此错误M-x package-list-packages,这与 Emacs 密钥环更新有关:

Failed to verify signature archive-contents.sig:
No public key for 066DAFCB81E42C40 created at 2020-12-16T17:05:02-0500 using RSA
Command output:
gpg: Signature made Wed 16 Dec 2020 05:05:02 PM EST
gpg:                using RSA key C433554766D3DDC64221BFAA066DAFCB81E42C40
gpg: Can't check signature: No public key

我正在尝试按照http://elpa.gnu.org/packages/gnu-elpa-keyring-update.html中的步骤手动更新 ELPA 密钥环。我无法使用M-x package-install RET gnu-elpa-keyring-update RET(它说[No match]当我发出该命令时)安装包。

在同一页面中,列出了手动修复此问题的三种不同方法。我尝试了前两个,但都不起作用。

$ gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40
gpg: keyserver receive failed: General error
$ gpg --homedir ~/.emacs.d/elpa/gnupg --quick-set-expire 474F05837FBDEF9B 1y
gpg: "474F05837FBDEF9B" is not a fingerprint

现在,我该如何尝试第三种方式(暂时禁用签名验证)?

一些系统细节:

$ emacs --version
GNU Emacs 25.2.2
Copyright (C) 2017 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
$ uname -a
Linux jetson 4.9.140-tegra #1 SMP PREEMPT Tue Oct 27 21:02:37 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:    18.04
Codename:   bionic
emacs gnupg
  • 1 个回答
  • 1428 Views
Martin Hope
jsxs
Asked: 2020-11-03 05:33:32 +0800 CST

如何配置 Atom Beautify?

  • 0

我已经在 Ubuntu 上安装了 Atom 编辑器和 Atom Beautify 包。但是,当打开一个新文件并尝试通过右键单击“美化编辑器内容”时,Atom 会弹出以下通知:

找不到“emacs”。该程序可能未安装。您可以通过在 Atom Beautify 包设置中设置“Executable - Emacs - Path”来使用“emacs”的绝对路径来配置 Atom Beautify。如果在您的终端中运行“which emacs”返回可执行文件的绝对路径,则您的程序已正确安装。

我在终端中尝试“which emacs”,但没有任何返回。是不是说Atom Beautify依赖emacs,所以要美化Atom中的代码,也要安装emacs?

谁能解释如何通过在 Atom Beautify 包设置中设置“Executable - Emacs - Path”来使用“emacs”的绝对路径配置 Atom Beautify?非常感谢!

emacs atom
  • 1 个回答
  • 221 Views
Martin Hope
Rich Johns
Asked: 2020-10-29 06:19:35 +0800 CST

Emacs24可以安装在Ubuntu 20.04下吗

  • 1

我有一台全新安装 ubuntu 20.04 的新机器。对于 java 开发,我使用emacs/jdee环境。经过相当严格的搜索,与 jdee 配合使用的最新 emacs 版本是emacs24。事实上,我的旧机器(ubuntu 15.04)正在运行 emacs24/jdee。所以,我不能使用与我认为是 emacs26 或 emacs27 的 ubuntu 20.04 配对的 emacs。

我还四处寻找在 ubuntu 20.04 下安装 emacs24 的方法,但没有找到任何能激发信心的东西。可以做到吗?还是我在尝试时遇到了很多麻烦?如果可以做到,我将非常感谢成功的秘诀。谢谢。

emacs 20.04
  • 1 个回答
  • 160 Views
Martin Hope
Leon Avery
Asked: 2020-02-14 05:34:09 +0800 CST

如何停止 emacs 调整其初始帧的大小?

  • 3

这是我多年来一直遇到的一个烦人的问题。我在英特尔 PC 上安装了 ubuntu 16.04,在 WSL 1 下的 Windows 机器上安装了 18.04。在这两种情况下,我都使用 SSH(实际上是 PuTTY)隧道 X11 连接到 ubuntu 系统,并使用 Xming 作为 X 服务器。我使用 apt-get 安装 emacs25 发行版。除了一个烦人的问题外,它工作正常。当我运行 emacs 时,例如使用

emacs ex1.c &

我可以看到窗口最初以合理的大小弹出,但随后立即调整自身大小,使其仅显示 3 行文本。我可以手动调整它的大小(即用鼠标),然后它的行为就合理了。我得到基本上相同的结果

emacs -geometry 80x51 ex1.c &

初始窗口现在是 80x51,但和以前一样,它会立即将自身调整为下蹲 80x3 窗口。我没有 ~/.emacs,也没有 .Xresources。如果我使用emacs -qor ,行为是相同的emacs -Q。

为什么 emacs 框架会自行调整大小?我该如何阻止它这样做?

xorg emacs x11-forwarding
  • 1 个回答
  • 519 Views
Martin Hope
vdegenne
Asked: 2019-12-20 12:16:22 +0800 CST

防止 xbindkeys 在终端中工作

  • 2

我尝试在我的浏览器中实现 Emacs 键绑定。
目前我有.xbindkeysrc和这个和弦

"if [[ "$(xdotool getwindowfocus getwindowname)" =~ "Chrome" ]]; then xdotool key --window "$(xdotool getactivewindow)" Left; fi"                                                                 
  control+b

它在 Chrome 中运行良好,如果我按下ctrl + b插入符号后退但我有一个奇怪的后果:我不能再ctrl + b在我的终端中使用(Gnome 终端)。
除了我不知道为什么会发生这种情况,有没有办法防止 xbindkeys 阻止某个程序中的键?
如果没有,您是否考虑另一种解决此问题的方法?

提前致谢。


附加说明:

  • 不仅钥匙被挡在里面,Gnome Terminal而且在rxvtand里面也被挡住了xterm。如果我删除条件部分并输入
"xdotool key --window "$(xdotool getactivewindow)" Left"
  control+b

只是,当我希望它起作用时,和弦仍然在终端(甚至在 Gedit 中)被阻塞。这真的让我很困惑。

  • 我也试过xmodmap但keysyms 表不包括控制键,这是不可能的。xbindkeys我仍然尝试使用and使其工作xdotool,如果您能帮助我,我将不胜感激。

  • 这个问题似乎与Xorg相关,因为在Wayland上下文中尝试相同的脚本是可行的。

keyboard command-line shortcut-keys emacs fedora
  • 1 个回答
  • 233 Views
Martin Hope
scribe
Asked: 2019-12-03 21:51:37 +0800 CST

我的 Emacs 版本在 Ubuntu 18.04 上应该是什么?[复制]

  • 1
这个问题在这里已经有了答案:
为什么这个 Emacs 包的版本是 46.1?26 是今天可能的最高主要版本 3 个答案
为什么 Ubuntu 存储库没有最新版本的软件? (6 个回答)
2年前关闭。

我有 Ubuntu 18.04.3 LTS。emacs --version返回GNU Emacs 25.2.2和apt policy emacs返回Installed: 47.0 Candidate: 47.0。好的什么?我认为 Emacs 的最新版本是 27 左右。尽管如此,这并不是 Emacs 的 version 命令返回的内容。有人可以解释一下吗?

我还认为 Ubuntu 是基于 Debian 的,并且使用了他们的存储库,所以我查看了Debian 的网站,并且 Emacs 在1:26.1+1-3.2+deb10u1. 那么,Ubuntu 不是从 Debian 存储库中提取的吗?

为什么 Ubuntu 中的 Emacs 仍然停留在 25.2.2,最新的是 27。我知道 Ubuntu 的存储库应该是稳定的,所以它经常落后。但这真的是比正式版落后两个版本的原因吗?

就 Ubuntu 的存储库而言,我是最新的吗?

debian updates emacs versions
  • 1 个回答
  • 370 Views
Martin Hope
SPD
Asked: 2019-11-11 18:39:45 +0800 CST

损坏的 Emacs26 安装

  • 0

所以我尝试通过这个 PPA 安装 Emacs。

sudo add-apt-repository ppa:kelleyk/emacs
sudo apt-get update
sudo apt-get install emacs26

然后我得到这个错误。

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 emacs-bin-common : Depends: emacs-common (= 1:26.1+1-3.2ubuntu2) but it is not going to be installed
 emacs-el : Depends: emacs-common (= 1:26.1+1-3.2ubuntu2) but it is not going to be installed
 emacs-gtk : Depends: emacs-common (= 1:26.1+1-3.2ubuntu2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

如果我继续运行此命令。

sudo apt --fix-broken install

我得到这个回应

...
dpkg: error processing archive /var/cache/apt/archives/emacs-common_1%3a26.1+1-3.2ubuntu2_all.deb (--unpack):
 trying to overwrite '/usr/share/emacs/site-lisp/subdirs.el', which is also in package emacs26-common 26.2~1.gitfd1b34b-kk1+19.04
Errors were encountered while processing:
 /var/cache/apt/archives/emacs-common_1%3a26.1+1-3.2ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人知道我接下来可以尝试什么吗?

emacs apt
  • 1 个回答
  • 453 Views
Martin Hope
gburnett
Asked: 2019-10-07 05:19:24 +0800 CST

如何安装最新版本的 emacs

  • 1

当我安装 emacs 时,我运行以下命令:

$ sudo apt-get emacs-gtk
$ emacs --version
GNU Emacs 26.1

我想使用 26.3 版

我该如何安装?

emacs apt
  • 1 个回答
  • 2463 Views
Martin Hope
vishless
Asked: 2019-09-30 22:15:07 +0800 CST

sudo apt purge emacs* 删除了 ubuntu-desktop、shotwell 等

  • 2

我想重新安装 emacs,所以我尝试使用以下方法卸载与 emacs 相关的所有内容:

sudo apt purge emacs*

这是输出:

$ sudo apt purge emacs*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'emacsen' for glob 'emacs*'
Note, selecting 'emacs-snapshot-nonx' for glob 'emacs*'
Note, selecting 'emacs-calfw-howm' for glob 'emacs*'
Note, selecting 'emacs24-lucid' for glob 'emacs*'
Note, selecting 'emacspeak-espeak-server' for glob 'emacs*'
Note, selecting 'emacs25-dbg' for glob 'emacs*'
Note, selecting 'emacspeak' for glob 'emacs*'
Note, selecting 'emacs-snapshot' for glob 'emacs*'
Note, selecting 'emacs25-lucid' for glob 'emacs*'
Note, selecting 'emacs-goodies-el' for glob 'emacs*'
Note, selecting 'emacs22-common' for glob 'emacs*'
Note, selecting 'emacs25-nox' for glob 'emacs*'
Note, selecting 'emacs25-nox-dbg' for glob 'emacs*'
Note, selecting 'emacs-jabber' for glob 'emacs*'
Note, selecting 'emacs23-nox' for glob 'emacs*'
Note, selecting 'emacs25-bin-common' for glob 'emacs*'
Note, selecting 'emacs25-common' for glob 'emacs*'
Note, selecting 'emacs-intl-fonts' for glob 'emacs*'
Note, selecting 'emacs-mozc' for glob 'emacs*'
Note, selecting 'emacspeak-bs-tcl' for glob 'emacs*'
Note, selecting 'emacsen-common' for glob 'emacs*'
Note, selecting 'emacs-nox' for glob 'emacs*'
Note, selecting 'emacs25-common-non-dfsg' for glob 'emacs*'
Note, selecting 'emacs' for glob 'emacs*'
Note, selecting 'emacs25-el' for glob 'emacs*'
Note, selecting 'emacs-window-layout' for glob 'emacs*'
Note, selecting 'emacs-mozc-bin' for glob 'emacs*'
Note, selecting 'emacs-chess' for glob 'emacs*'
Note, selecting 'emacs23-lucid' for glob 'emacs*'
Note, selecting 'emacs-snapshot-gtk' for glob 'emacs*'
Note, selecting 'emacs25-lucid-dbg' for glob 'emacs*'
Note, selecting 'emacs24-nox' for glob 'emacs*'
Note, selecting 'emacs24-bin-common' for glob 'emacs*'
Note, selecting 'emacs-goodies-extra-el' for glob 'emacs*'
Note, selecting 'emacspeak-dt-tcl' for glob 'emacs*'
Note, selecting 'emacs20' for glob 'emacs*'
Note, selecting 'emacs21' for glob 'emacs*'
Note, selecting 'emacs22' for glob 'emacs*'
Note, selecting 'emacs23' for glob 'emacs*'
Note, selecting 'emacs24' for glob 'emacs*'
Note, selecting 'emacs25' for glob 'emacs*'
Note, selecting 'emacs26' for glob 'emacs*'
Note, selecting 'emacs-calfw' for glob 'emacs*'
Note, selecting 'emacspeak-dt' for glob 'emacs*'
Note, selecting 'emacspeak-ss' for glob 'emacs*'
Package 'emacs24' is not installed, so not removed
Package 'emacs-snapshot' is not installed, so not removed
Note, selecting 'emacs-goodies-el' instead of 'emacs-goodies-extra-el'
Package 'emacs26' is not installed, so not removed
Package 'emacs23' is not installed, so not removed
Package 'emacs20' is not installed, so not removed
Package 'emacs21' is not installed, so not removed
Package 'emacs22' is not installed, so not removed
Package 'emacspeak-bs-tcl' is not installed, so not removed
Package 'emacspeak-dt' is not installed, so not removed
Package 'emacspeak-dt-tcl' is not installed, so not removed
Package 'emacs-chess' is not installed, so not removed
Package 'emacs24-bin-common' is not installed, so not removed
Package 'emacs24-lucid' is not installed, so not removed
Package 'emacs24-nox' is not installed, so not removed
Package 'emacs22-common' is not installed, so not removed
Package 'emacs23-nox' is not installed, so not removed
Package 'emacs23-lucid' is not installed, so not removed
Package 'emacs-snapshot-gtk' is not installed, so not removed
Package 'emacs-snapshot-nonx' is not installed, so not removed
Package 'emacs' is not installed, so not removed
Package 'emacs-goodies-el' is not installed, so not removed
Package 'emacs25' is not installed, so not removed
Package 'emacs25-dbg' is not installed, so not removed
Package 'emacs25-lucid-dbg' is not installed, so not removed
Package 'emacs25-nox' is not installed, so not removed
Package 'emacs25-nox-dbg' is not installed, so not removed
Package 'emacs-calfw' is not installed, so not removed
Package 'emacs-calfw-howm' is not installed, so not removed
Package 'emacs-intl-fonts' is not installed, so not removed
Package 'emacs-jabber' is not installed, so not removed
Package 'emacs-nox' is not installed, so not removed
Package 'emacs-window-layout' is not installed, so not removed
Package 'emacspeak' is not installed, so not removed
Package 'emacspeak-espeak-server' is not installed, so not removed
Package 'emacspeak-ss' is not installed, so not removed
Package 'emacs25-common-non-dfsg' is not installed, so not removed
Package 'emacs-mozc' is not installed, so not removed
Package 'emacs-mozc-bin' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  activity-log-manager libgeonames-common libgeonames0 liblockfile-bin liblockfile1 libm17n-0 libnm-gtk0 libotf0
  libtimezonemap-data libtimezonemap1 libunity-control-center1 m17n-db xaw3dg
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  apturl* aspell* aspell-en* chrome-gnome-shell* deja-dup* dictionaries-common* emacs25-bin-common* emacs25-common*
  emacs25-el* emacs25-lucid* emacsen-common* enchant* gdm3* gedit* gir1.2-webkit2-4.0* gnome-calendar* gnome-control-center*
  gnome-getting-started-docs* gnome-initial-setup* gnome-online-accounts* gnome-shell* gnome-software*
  gnome-software-plugin-snap* gnome-user-docs* gnome-user-guide* gufw* hunspell-en-us* hyphen-en-us* indicator-bluetooth*
  libedataserverui-1.2-2* libenchant1c2a* libgoa-backend-1.0-1* libgspell-1-1* libwebkit2gtk-4.0-37* libyelp0* mutter*
  mythes-en-us* nautilus-share* rhythmbox-plugins* shotwell* ubuntu-desktop* ubuntu-docs* ubuntu-release-upgrader-gtk*
  ubuntu-session* ubuntu-software* unity-control-center* update-manager* update-notifier* wbritish* yelp* zenity*
0 upgraded, 0 newly installed, 51 to remove and 0 not upgraded.
After this operation, 241 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 336156 files and directories currently installed.)
Removing nautilus-share (0.7.3-2ubuntu3) ...
Removing apturl (0.5.2ubuntu14.2) ...
Removing ubuntu-desktop (1.417.3) ...
Removing gufw (18.04.0-0ubuntu1) ...
Removing shotwell (0.28.4-0ubuntu1) ...
Removing gnome-software-plugin-snap (3.28.1-0ubuntu4.18.04.12) ...
Removing aspell-en (2017.08.24-0-0.1) ...
update-default-aspell: Removing remove file "/var/lib/aspell/en.remove".
Removing aspell (0.60.7~20110707-4) ...
Removing chrome-gnome-shell (10-1) ...
Removing deja-dup (37.1-2fakesync1ubuntu0.1) ...
Removing wbritish (2017.08.24-1) ...
Removing mythes-en-us (1:6.0.3-3) ...
Removing emacs25-lucid (25.2+1-6) ...
Remove dictionaries-common for emacs25
remove/dictionaries-common: Purging byte-compiled files for flavour emacs25
Remove emacsen-common for emacs25
emacsen-common: Handling removal of emacsen flavor emacs25
Removing emacs25-bin-common (25.2+1-6) ...
Removing emacs25-el (25.2+1-6) ...
Removing emacs25-common (25.2+1-6) ...
Removing enchant (1.6.0-11.1) ...
Removing gdm3 (3.28.3-0ubuntu18.04.4) ...
Removing gedit (3.28.1-1ubuntu1.2) ...
Removing gnome-calendar (3.28.2-0ubuntu0.18.04.1) ...
Removing unity-control-center (15.04.0+18.04.20180216-0ubuntu1) ...
Removing gnome-getting-started-docs (3.28.2-0ubuntu0.1) ...
Removing gnome-initial-setup (3.28.0-2ubuntu6.16.04.6) ...
Removing gnome-online-accounts (3.28.0-0ubuntu2.1) ...
Removing ubuntu-session (3.28.1-0ubuntu3) ...
Removing gnome-shell (3.28.4-0ubuntu18.04.1) ...
Removing gnome-user-guide (3.28.2+git20180715-0ubuntu0.1) ...
Removing gnome-user-docs (3.28.2+git20180715-0ubuntu0.1) ...
Removing hyphen-en-us (2.8.8-5) ...
Removing libedataserverui-1.2-2:amd64 (3.28.5-0ubuntu0.18.04.2) ...
Removing ubuntu-docs (18.04.4) ...
Removing yelp (3.26.0-1ubuntu2) ...
Removing libyelp0:amd64 (3.26.0-1ubuntu2) ...
Removing mutter (3.28.4-0ubuntu18.04.1) ...
Removing rhythmbox-plugins (3.4.2-4ubuntu1) ...
Removing ubuntu-software (3.28.1-0ubuntu4.18.04.12) ...
Removing zenity (3.28.1-1) ...
Removing gnome-software (3.28.1-0ubuntu4.18.04.12) ...
Removing libgspell-1-1:amd64 (1.6.1-1) ...
Removing indicator-bluetooth (0.0.6+17.10.20170605-0ubuntu3) ...
Removing gnome-control-center (1:3.28.2-0ubuntu0.18.04.5) ...
Removing libgoa-backend-1.0-1:amd64 (3.28.0-0ubuntu2.1) ...
Removing update-notifier (3.192.1.7) ...
Removing update-manager (1:18.04.11.10) ...
Removing ubuntu-release-upgrader-gtk (1:18.04.34) ...
Removing gir1.2-webkit2-4.0:amd64 (2.24.4-0ubuntu0.18.04.1) ...
Removing libwebkit2gtk-4.0-37:amd64 (2.24.4-0ubuntu0.18.04.1) ...
Removing libenchant1c2a:amd64 (1.6.0-11.1) ...
Removing hunspell-en-us (1:2017.08.24) ...
Removing dictionaries-common (1.27.2) ...
Removing 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
Removing emacsen-common (2.0.8) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Processing triggers for cracklib-runtime (2.9.2-5build1) ...
Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.4) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
(Reading database ... 328258 files and directories currently installed.)
Purging configuration files for deja-dup (37.1-2fakesync1ubuntu0.1) ...
Purging configuration files for wbritish (2017.08.24-1) ...
Purging configuration files for unity-control-center (15.04.0+18.04.20180216-0ubuntu1) ...
Purging configuration files for gufw (18.04.0-0ubuntu1) ...
dpkg: warning: while removing gufw, directory '/etc/gufw' not empty so not removed
Purging configuration files for dictionaries-common (1.27.2) ...
Purging configuration files for emacsen-common (2.0.8) ...
Purging configuration files for gdm3 (3.28.3-0ubuntu18.04.4) ...
Removing user `gdm' ...
Warning: group `gdm' has no more members.
userdel: user gdm is currently used by process 1272
/usr/sbin/deluser: `/usr/sbin/userdel gdm' returned error code 8. Exiting.
Could not remove gdm user.
/usr/sbin/delgroup: `gdm' still has `gdm' as their primary group!
Could not remove gdm group.
Purging configuration files for update-notifier (3.192.1.7) ...
Purging configuration files for gnome-software (3.28.1-0ubuntu4.18.04.12) ...
Purging configuration files for aspell-en (2017.08.24-0-0.1) ...
Purging configuration files for gnome-initial-setup (3.28.0-2ubuntu6.16.04.6) ...
Removing user `gnome-initial-setup' ...
Warning: group `nogroup' has no more members.
Done.
Purging configuration files for chrome-gnome-shell (10-1) ...
Purging configuration files for indicator-bluetooth (0.0.6+17.10.20170605-0ubuntu3) ...
Processing triggers for systemd (237-3ubuntu10.29) ...
Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot

在确认过程中我没有阅读整个包裹清单,通常它不会这样做。但是查看卸载日志我发现除了emacs之外还有很多东西被删除了。我试图打开软件中心只是为了检查,但它没有用。

之后我尝试再次安装emacs

sudo apt install emacs

并且按预期安装了emacs25。

除了手动安装之外,有什么方法可以取回我所有已删除的应用程序?

emacs apt software-uninstall 18.04
  • 3 个回答
  • 438 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve