here is the output of asked commands, let me know if you need any further info. sudo apt update output:
gowri@gowri:/var/log/apt$ sudo apt update Hit:1 http://in.archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:3 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Hit:4 https://brave-browser-apt-release.s3.brave.com bionic InRelease Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:6 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu bionic InRelease Get:7 http://in.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [618 kB] Ign:8 http://dl.google.com/linux/chrome/deb stable InRelease Hit:9 http://ppa.launchpad.net/rvm/smplayer/ubuntu bionic InRelease Get:10 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [799 kB] Get:11 http://dl.google.com/linux/chrome/deb stable Release [943 B] Get:12 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [406 kB] Hit:13 http://repo.steampowered.com/steam precise InRelease Get:14 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B] Get:15 http://in.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [284 kB] Get:16 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,117 B] Get:17 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB] Get:18 http://in.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB] Get:19 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [576 kB] Get:20 http://in.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [143 kB] Get:21 http://in.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [21.9 kB] Get:22 http://in.archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [9,260 B] Get:23 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,028 kB] Get:24 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [190 kB] Get:25 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.6 kB] Get:26 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17.6 kB] Get:27 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41.5 kB] Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [622 kB] Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [598 kB] Get:30 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [208 kB] Get:31 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB] Get:32 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB] Get:33 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [116 kB] Get:34 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B] Get:35 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [994 kB] Get:36 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [317 kB] Get:37 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [264 kB] Get:38 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [195 kB] Get:39 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [449 kB] Get:40 http://in.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [6,924 B] Get:41 http://in.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [8,520 B] Get:42 http://in.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B] Get:43 http://in.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,976 B] Fetched 8,646 kB in 7s (1,160 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 44 packages can be upgraded. Run 'apt list --upgradable' to see them. sudo apt -f install output: gowri@gowri:/var/log/apt$ sudo apt -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded. 20 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up php7.2-common (7.2.24-0ubuntu0.18.04.1) ... dpkg: error processing package php7.2-common (--configure): installed php7.2-common package post-installation script subprocess returned error exit status 10 No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of php7.2-curl: php7.2-curl depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. dpkg: error processing package php7.2-curl (--configure): dependency problems - leaving unconfigured Setting up samba-common (2:4.7.6+dfsg~ubuntu-0ubuntu2.13) ... dpkg: error processing package samba-common (--configure): installed samba-common package post-installation script subprocess returned error exit status 10 dpkg: dependency problems prevent configuration of php7.2-mbstring: php7.2-mbstring depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. dpkg: error processing package php7.2-mbstring (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of winbind: winbind depends on samba-common (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.13); however: Package samba-common is not configured yet. No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already dpkg: error processing package winbind (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php7.2-bz2: php7.2-bz2 depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. dpkg: error processing package php7.2-bz2 (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of php7.2-readline: php7.2-readline depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. dpkg: error processing package php7.2-readline (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php7.2: php7.2 depends on php7.2-common; however: Package php7.2-common is not configured yet. dpkg: error processing package php7.2 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php7.2-cli: php7.2-cli depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. php7.2-cli depends on php7.2-readline; however: Package php7.2-readline is not configured yet. dpkg: error processing package php7.2-cli (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already Setting up unattended-upgrades (1.1ubuntu1.18.04.12) ... dpkg: error processing package unattended-upgrades (--configure): installed unattended-upgrades package post-installation script subprocess returned error exit status 10 No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of php7.2-json: php7.2-json depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. dpkg: error processing package php7.2-json (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libapache2-mod-php7.2: libapache2-mod-php7.2 depends on php7.2-cli; however: Package php7.2-cli is not configured yet. libapache2-mod-php7.2 depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. libapache2-mod-php7.2 depends on php7.2-json; however: Package php7.2-json is not configured yet. dpkg: error processing package libapache2-mod-php7.2 (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of samba-common-bin: samba-common-bin depends on samba-common (= 2:4.7.6+dfsg~ubuntu-0ubuntu2.13); however: Package samba-common is not configured yet. dpkg: error processing package samba-common-bin (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php7.2-opcache: php7.2-opcache depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. dpkg: error processing package php7.2-opcache (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php7.2-mysql: php7.2-mysql depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already dpkg: error processing package php7.2-mysql (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php7.2-gd: php7.2-gd depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. dpkg: error processing package php7.2-gd (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php7.2-xml: php7.2-xml depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already dpkg: error processing package php7.2-xml (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php7.2-fpm: php7.2-fpm depends on php7.2-cli; however: Package php7.2-cli is not configured yet. php7.2-fpm depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. php7.2-fpm depends on php7.2-json; however: Package php7.2-json is not configured yet. php7.2-fpm depends on php7.2-opcache; however: Package php7.2-opcache is not configured yet. dpkg: error processing package php7.2-fpm (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of php7.2-zip: php7.2-zip depends on php7.2-common (= 7.2.24-0ubuntu0.18.04.1); however: Package php7.2-common is not configured yet. dpkg: error processing package php7.2-zip (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of phpmyadmin: phpmyadmin depends on php; however: Package php is not installed. Package php7.2 which provides php is not configured yet. phpmyadmin depends on php-cli; however: Package php-cli is not installed. Package php7.2-cli which provides php-cli is not configured yet. phpmyadmin depends on php-mysql | php-mysqli; however: Package php-mysql is not installed. Package php-mysqli is not installed. Package php7.2-mysql which provides php-mysqli is not configured yet. phpmyadmin depends on php-json; however: Package php-json is not installed. Package php7.2-json which provides php-json is not configured yet. dpkg: error processing package phpmyadmin (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Errors were encountered while processing: php7.2-common php7.2-curl samba-common php7.2-mbstring winbind php7.2-bz2 php7.2-readline php7.2 php7.2-cli unattended-upgrades php7.2-json libapache2-mod-php7.2 samba-common-bin php7.2-opcache php7.2-mysql php7.2-gd php7.2-xml php7.2-fpm php7.2-zip phpmyadmin E: Sub-process /usr/bin/dpkg returned an error code (1) i have attached the term log for your diagnostic purpose as the upload feature accepts only one upload per post. sorry for any inconvieniences ** Attachment added: "term.log" https://bugs.launchpad.net/ubuntu/+source/php7.2/+bug/1853760/+attachment/5308570/+files/term.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1853760 Title: php 7.2 has dependency problems and they are not letting to update apache2 and php7.2 * modules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.2/+bug/1853760/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs