On a freshly installed Gentoo 2.13 system, I ran these commands to install my first package:
$ cat /etc/gentoo-release
Gentoo Base System release 2.13
$ sudo emaint -a sync
$ sudo emerge app-editors/emacs
$ emacs # It runs successfully
The install was successful. As a test, I immediately tried to remove the same package, and the operation failed:
$ sudo emerge -cav app-editors/emacs
Calculating dependencies... done!
app-editors/emacs-29.1-r1 pulled in by:
app-emacs/emacs-common-1.9 requires >=app-editors/emacs-23.1:*
>>> No packages selected for removal by depclean
Why does this happen? Did I issue the wrong remove command? I would think that the simplest test of a package manager is to install and remove a package on a fresh copy of the OS.
Thank you very much for any clarity.