The issue was explained here in the GnuPG bugtracker; I did not see that earlier today.
The solution is:
gpg2 --batch --import ~/.gnupg/secring.gpg
The issue was explained here in the GnuPG bugtracker; I did not see that earlier today.
The solution is:
gpg2 --batch --import ~/.gnupg/secring.gpg