Score:0

IsADirectoryError whilst upgrading from 20.04 LTS to 22.04 LTS

af flag

I'm new, please be kind. I'm running Kubuntu 20.04, and need to upgrade to Ubuntu 22.04. So, after checking that all updates are installed, I do:

sudo do-release-upgrade

I get:

Checking for a new Ubuntu release Holen:1 Upgrade tool signature [819 B]
Holen:2 Upgrade tool [1.267 kB]
Es wurden 1.267 kB in 0 s geholt (0 B/s)
authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg' extracting 'jammy.tar.gz'

Zwischenspeicher wird gelesen

Paketverwaltung wird überprüft Paketlisten werden gelesen … Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen. … Fertig OK http://de.archive.ubuntu.com/ubuntu focal InRelease
OK https://dl.winehq.org/wine-builds/ubuntu focal InRelease
OK http://dl.google.com/linux/chrome/deb stable InRelease
OK https://repo.skype.com/deb stable InRelease
Holen:1 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Holen:2 https://packages.microsoft.com/repos/ms-teams stable InRelease [17,5 kB]
Holen:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Holen:4 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Es wurden 353 kB in 0 s geholt (0 B/s)
Paketlisten werden gelesen … Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen. … Fertig

Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-m3z9qzcc/jammy", line 8, in sys.exit(main()) File "/tmp/ubuntu-release-upgrader-m3z9qzcc/DistUpgrade/DistUpgradeMain.py", line 241, in main if app.run(): File "/tmp/ubuntu-release-upgrader-m3z9qzcc/DistUpgrade/DistUpgradeController.py", line 2042, in run return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-m3z9qzcc/DistUpgrade/DistUpgradeController.py", line 1873, in fullUpgrade if not self.doPostInitialUpdate(): File "/tmp/ubuntu-release-upgrader-m3z9qzcc/DistUpgrade/DistUpgradeController.py", line 906, in doPostInitialUpdate self.quirks.run("PostInitialUpdate") File "/tmp/ubuntu-release-upgrader-m3z9qzcc/DistUpgrade/DistUpgradeQuirks.py", line 99, in run func() File "/tmp/ubuntu-release-upgrader-m3z9qzcc/DistUpgrade/DistUpgradeQuirks.py", line 122, in jammyPostInitialUpdate self._test_and_fail_on_pam_tally() File "/tmp/ubuntu-release-upgrader-m3z9qzcc/DistUpgrade/DistUpgradeQuirks.py", line 394, in _test_and_fail_on_pam_tally with open(os.path.join('/etc/pam.d', f)) as f: IsADirectoryError: [Errno 21] Ist ein Verzeichnis: '/etc/pam.d/common-org'

First, I had a problem with Skype, but after uninstalling it (even though the path still appears), this seems to be fine. I don't know what etc/pam.d is meant to hold..

Has anyone faced similar issues? Any information and help would be great!

(In case it's important: lsb_release -a gives:

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Codename: focal)

Thanks!

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.