Upgrade from Ubuntu 21.10 to 22.04 fails - unmet dependencies: libpam-modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Skipper Bug Screeners | ||
ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Medium
|
Skipper Bug Screeners | ||
Jammy |
Fix Released
|
Undecided
|
Steve Langasek |
Bug Description
[Impact]
Upgrade from Ubuntu 21.10 to 22.4 fails if pam_tally is present in the system's PAM config
I run do-release-upgrade and I got a message upgrade completed with errors. I rebooted the server and it is now in an undefined state between 21.10 and 22.04. Not all packages have been installed. I attach apt log and output of some commands:
root@tuxmaker:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 21.10"
NAME="Ubuntu"
VERSION_ID="21.10"
VERSION="21.10 (Impish Indri)"
VERSION_
ID=ubuntu
ID_LIKE=debian
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
UBUNTU_
root@tuxmaker:~# do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
root@tuxmaker:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libpam-modules : PreDepends: libpam-modules-bin (= 1.3.1-5ubuntu11) but 1.4.0-11ubuntu2 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@tuxmaker:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libpam-modules
The following packages will be upgraded:
libpam-modules
1 upgraded, 0 newly installed, 0 to remove and 1208 not upgraded.
4 not fully installed or removed.
Need to get 0 B/279 kB of archives.
After this operation, 1,024 B disk space will be freed.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 401827 files and directories currently installed.)
Preparing to unpack .../libpam-
dpkg: error processing archive /var/cache/
new libpam-
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Contact Information = <email address hidden>
[Test plan]
Test 1
------
The pre-build.sh script run prior to generation of the upload tarball runs the test suite which includes an added test for this quirk to verify its correct operation.
Test 2
------
Using the dist-upgrader tarball from http://
Verify that the upgrade completes successfully with the addition of the new quirk, which should have no effect on a default install.
Test 3
------
On an impish system, run 'do-release-upgrade -p' to use the tarball from -proposed. Verify that the upgrade completes successfully.
[Where problems could occur]
The addition of a quirk could prevent some users from upgrading, in which case a further SRU will be necessary. The new code is run very early in the upgrader and it should not be possible for the new code to leave the system in an inconsistent state mid-upgrade.
Related branches
- Brian Murray: Approve
-
Diff: 33697 lines (+6788/-4410)129 files modifiedDistUpgrade/DistUpgradeQuirks.py (+39/-0)
debian/changelog (+5/-0)
po/af.po (+53/-35)
po/am.po (+53/-35)
po/an.po (+53/-35)
po/ar.po (+53/-35)
po/ast.po (+53/-35)
po/az.po (+53/-35)
po/be.po (+53/-35)
po/bg.po (+57/-35)
po/bn.po (+53/-35)
po/bo.po (+53/-35)
po/br.po (+53/-35)
po/bs.po (+53/-35)
po/ca.po (+58/-35)
po/ca@valencia.po (+53/-35)
po/ce.po (+53/-35)
po/ceb.po (+53/-35)
po/ckb.po (+53/-35)
po/crh.po (+53/-35)
po/cs.po (+53/-35)
po/csb.po (+53/-35)
po/cv.po (+53/-35)
po/cy.po (+53/-35)
po/da.po (+53/-35)
po/de.po (+59/-35)
po/dv.po (+53/-35)
po/el.po (+53/-35)
po/en_AU.po (+53/-35)
po/en_CA.po (+53/-35)
po/en_GB.po (+53/-35)
po/eo.po (+53/-35)
po/es.po (+53/-35)
po/et.po (+53/-35)
po/eu.po (+53/-35)
po/fa.po (+53/-35)
po/fi.po (+53/-35)
po/fil.po (+53/-35)
po/fo.po (+53/-35)
po/fr.po (+60/-35)
po/fr_CA.po (+53/-35)
po/fur.po (+53/-35)
po/fy.po (+53/-35)
po/ga.po (+53/-35)
po/gd.po (+53/-35)
po/gl.po (+53/-35)
po/gu.po (+53/-35)
po/gv.po (+53/-35)
po/he.po (+53/-35)
po/hi.po (+53/-35)
po/hr.po (+53/-35)
po/hu.po (+53/-35)
po/hy.po (+53/-35)
po/ia.po (+53/-35)
po/id.po (+53/-35)
po/is.po (+53/-35)
po/it.po (+53/-35)
po/ja.po (+53/-35)
po/jv.po (+53/-35)
po/ka.po (+53/-35)
po/kk.po (+53/-35)
po/km.po (+53/-35)
po/kn.po (+53/-35)
po/ko.po (+53/-35)
po/ku.po (+53/-35)
po/ky.po (+53/-35)
po/lb.po (+53/-35)
po/ln.po (+53/-35)
po/lo.po (+53/-35)
po/lt.po (+53/-35)
po/lv.po (+53/-35)
po/mhr.po (+53/-35)
po/mjw.po (+53/-35)
po/mk.po (+53/-35)
po/ml.po (+53/-35)
po/mn.po (+53/-35)
po/mnw.po (+53/-35)
po/mr.po (+53/-35)
po/ms.po (+53/-35)
po/mus.po (+53/-35)
po/my.po (+53/-35)
po/nb.po (+53/-35)
po/nds.po (+53/-35)
po/ne.po (+53/-35)
po/nl.po (+58/-35)
po/nn.po (+53/-35)
po/oc.po (+53/-35)
po/om.po (+53/-35)
po/pa.po (+53/-35)
po/pam.po (+53/-35)
po/pl.po (+53/-35)
po/ps.po (+53/-35)
po/pt.po (+58/-35)
po/pt_BR.po (+58/-35)
po/qu.po (+53/-35)
po/ro.po (+53/-35)
po/ru.po (+57/-35)
po/rw.po (+53/-35)
po/sc.po (+53/-35)
po/sco.po (+53/-35)
po/sd.po (+53/-35)
po/se.po (+53/-35)
po/shn.po (+53/-35)
po/si.po (+53/-35)
po/sk.po (+58/-35)
po/sl.po (+53/-35)
po/sq.po (+53/-35)
po/sr.po (+53/-35)
po/sv.po (+53/-35)
po/szl.po (+53/-35)
po/ta.po (+53/-35)
po/ta_LK.po (+53/-35)
po/te.po (+53/-35)
po/tg.po (+53/-35)
po/th.po (+53/-35)
po/tl.po (+53/-35)
po/tr.po (+53/-35)
po/ubuntu-release-upgrader.pot (+53/-35)
po/ug.po (+53/-35)
po/uk.po (+53/-35)
po/ur.po (+53/-35)
po/uz.po (+53/-35)
po/vi.po (+53/-35)
po/xh.po (+53/-35)
po/zh_CN.po (+57/-35)
po/zh_HK.po (+53/-35)
po/zh_TW.po (+53/-35)
po/zu.po (+53/-35)
tests/test_quirks.py (+16/-0)
affects: | linux (Ubuntu) → pam (Ubuntu) |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
Changed in ubuntu-z-systems: | |
status: | Incomplete → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | High → Medium |
Changed in ubuntu-z-systems: | |
importance: | Undecided → Medium |
tags: | added: fr-2457 |
tags: | removed: rls-jj-incoming |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu Jammy): | |
status: | Confirmed → Invalid |
Changed in ubuntu-z-systems: | |
status: | Triaged → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu Jammy): | |
milestone: | none → ubuntu-22.04.1 |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Invalid → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu Jammy): | |
status: | Invalid → Triaged |
Changed in ubuntu-z-systems: | |
status: | Invalid → Triaged |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu Jammy): | |
status: | Triaged → In Progress |
assignee: | nobody → Steve Langasek (vorlon) |
Changed in ubuntu-z-systems: | |
status: | Triaged → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
Changed in pam (Ubuntu): | |
assignee: | nobody → Abhijith NT (abhijithnt) |
assignee: | Abhijith NT (abhijithnt) → nobody |
no longer affects: | pam (Ubuntu) |
no longer affects: | pam (Ubuntu Jammy) |
Default Comment by Bridge