apt-cache search [emacs*+] doesnt find emacs in debian
Question
I can't find the emacs package to install on debian. My /etc/apt/sources.list looks like:
I am using apt-cache search [emacs*+]
. I get a list of packages which depend on emacs, but not emacs itself. Any thoughts? I installed the Debian base system only.
Solution
First of all [emacs*+]
doesn't make sense. Second, add more apt repositories. Just search for emacs
, emacs*+
is equivalent to an apt-cache search with emac
.
Mine shows more than 300 entries matching emacs:
# Correct search
$ apt-cache search emacs | wc -l
330
# Wrong
$ apt-cache search emacs*+ | wc -l
333
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow