------- Comment From pp...@de.ibm.com 2022-06-03 08:33 EDT------- I have already run the command do-release-upgrade. At the end of the upgrade I could see "upgrade completed" but there were errors. Than I rebooted the system.
I attach the sources.list file an the output of the commands. root@tuxmaker:~# apt-cache policy libpam-modules libpam-modules: Installed: 1.3.1-5ubuntu11 Candidate: 1.4.0-11ubuntu2 Version table: 1.4.0-11ubuntu2 500 500 http://ports.ubuntu.com:80 jammy/main s390x Packages *** 1.3.1-5ubuntu11 100 100 /var/lib/dpkg/status root@tuxmaker:~# sudo apt update Hit:1 http://ports.ubuntu.com:80 jammy InRelease Get:2 http://ports.ubuntu.com:80 jammy-updates InRelease [109 kB] Get:3 http://ports.ubuntu.com:80 jammy-backports InRelease [99.8 kB] Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB] Get:5 http://ports.ubuntu.com:80 jammy-updates/main s390x Packages [170 kB] Get:6 http://ports.ubuntu.com:80 jammy-updates/main Translation-en [59.5 kB] Get:7 http://ports.ubuntu.com:80 jammy-updates s390x Contents (deb) [3,398 kB] Get:8 http://ports.ubuntu.com:80 jammy-updates/main s390x c-n-f Metadata [3,904 B] Get:9 http://ports.ubuntu.com:80 jammy-updates/restricted s390x Packages [3,024 B] Get:10 http://ports.ubuntu.com:80 jammy-updates/restricted Translation-en [21.4 kB] Get:11 http://ports.ubuntu.com:80 jammy-updates/universe s390x Packages [68.4 kB] Get:12 http://ports.ubuntu.com:80 jammy-backports s390x Contents (deb) [12.6 kB] Get:13 http://ports.ubuntu.com/ubuntu-ports jammy-security/main s390x Packages [77.2 kB] Get:14 http://ports.ubuntu.com/ubuntu-ports jammy-security/main Translation-en [34.0 kB] Get:15 http://ports.ubuntu.com/ubuntu-ports jammy-security s390x Contents (deb) [2,164 kB] Get:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/main s390x c-n-f Metadata [2,132 B] Fetched 6,334 kB in 1s (5,198 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 1209 packages can be upgraded. Run 'apt list --upgradable' to see them. root@tuxmaker:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 21.10 Release: 21.10 Codename: impish There are over 2000 Packages on the system: root@tuxmaker:~# dpkg-query -l | wc -l 2061 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to pam in Ubuntu. https://bugs.launchpad.net/bugs/1977493 Title: Upgrade from Ubuntu 21.10 to 22.04 fails - unmet dependencies: libpam- modules Status in Ubuntu on IBM z Systems: Incomplete Status in pam package in Ubuntu: Incomplete Bug description: ---Problem Description--- Upgrade from Ubuntu 21.10 to 22.4 fails 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_CODENAME=impish ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=impish 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 Recommends: update-motd but it is not 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-modules_1.4.0-11ubuntu2_s390x.deb ... dpkg: error processing archive /var/cache/apt/archives/libpam-modules_1.4.0-11ubuntu2_s390x.deb (--unpack): new libpam-modules:s390x package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libpam-modules_1.4.0-11ubuntu2_s390x.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Contact Information = pp...@de.ibm.com ---uname output--- Linux tuxmaker 5.13.0-44-generic #49-Ubuntu SMP Wed May 18 13:30:03 UTC 2022 s390x s390x s390x GNU/Linux Machine Type = z15, 8561-701 ---boot type--- upgade ---Kernel cmdline used to launch install--- do-release-upgrade ---Install repository type--- Internet repository ---Install repository Location--- http://ports.ubuntu.com:80/ ---Point of failure--- Other failure during installation (stage 1) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1977493/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp