I am trying to upgrade to next LTS version. When I run
sudo do-release-upgrade facing below error. Did not get much help from google. Any help will be much appreciated?
You are using pam_tally or pam_tally2 in your configuration.
The pam_tally and pam_tally2 modules have been removed from PAM. You
are using one of these modules in your PAM configuration in
/etc/pam.d. You must remove the uses of these modules before PAM can
be upgraded; including these modules in your PAM configuration after
the upgrade will stop users from being able to log into the system.
Consider the pam_faillock module as a replacement for pam_tally.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command detached from window (Mon Mar 6 18:59:02 2023) ===
=== Command terminated with exit status 1 (Mon Mar 6 18:59:12 2023) ===
/etc/pam.dand then (if you wish) set up pam_faillock - see for example How do I set up pam_faillock? – steeldriver Mar 07 '23 at 13:12