我在将 Ubuntu 版本从 20.04 升级到 22.04 时遇到以下错误。我尝试创建 Ubuntu 信息文件,但它没有帮助我。请帮助解决问题
File "/tmp/ubuntu-release-upgrader-lw9k2sm2/jammy", line 8, in <module>
sys.exit(main()) File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeMain.py", line 241, in main
if app.run(): File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeController.py", line 2042, in run
return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeController.py", line 1873, in fullUpgrade
if not self.doPostInitialUpdate(): File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeController.py", line 906, in doPostInitialUpdate
self.quirks.run("PostInitialUpdate") File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeQuirks.py", line 99, in run
func() File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeQuirks.py", line 122, in jammyPostInitialUpdate
self._test_and_fail_on_pam_tally() File "/tmp/ubuntu-release-upgrader-lw9k2sm2/DistUpgrade/DistUpgradeQuirks.py", line 394, in _test_and_fail_on_pam_tally
with open(os.path.join('/etc/pam.d', f)) as f: FileNotFoundError: [Errno 2] No such file or directory: '/etc/pam.d/xrdp-sesman.dpkg-backup'
=== Command terminated with exit status 1 (Mon Dec 11 14:45:48 2023) ===