After running apt-get dist-upgrade on my Linux Mint (currently version 20.2 Uma), I was surprised to see a lot of dependency errors related to a 32 bit package:
root@mintp:~# apt-get update
[...]
Preparing to unpack .../libgail-3-0_3.24.20-0ubuntu1.1_amd64.deb ...
Unpacking libgail-3-0:amd64 (3.24.20-0ubuntu1.1) over (3.24.20-0ubuntu1) ...
Preparing to unpack .../libgtk-3-0_3.24.20-0ubuntu1.1_amd64.deb ...
Unpacking libgtk-3-0:amd64 (3.24.20-0ubuntu1.1) over (3.24.20-0ubuntu1) ...
dpkg: dependency problems prevent processing triggers for libglib2.0-0:i386:
libglib2.0-0:i386 depends on libc6 (>= 2.28); however:
Package libc6:i386 is not configured yet.
dpkg: error processing package libglib2.0-0:i386 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for libglib2.0-0:i386:
libglib2.0-0:i386 depends on libc6 (>= 2.28); however:
Package libc6:i386 is not configured yet.
dpkg: error processing package libglib2.0-0:i386 (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for libglib2.0-0:i386:
libglib2.0-0:i386 depends on libc6 (>= 2.28); however:
Package libc6:i386 is not configured yet.
[...]
dpkg: too many errors, stopping
Errors were encountered while processing:
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
libglib2.0-0:i386
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Luckily this can be fixed using the following commands:
root@mintp:~# dpkg --configure -a
Setting up firefox (98.0.2+linuxmint1+una) ...
[...]
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
Processing triggers for systemd (245.4-4ubuntu3.15) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for mintsystem (8.5.2) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ...
Processing triggers for libglib2.0-0:i386 (2.64.6-1~ubuntu20.04.4) ...
Setting up libgtk-3-0:amd64 (3.24.20-0ubuntu1.1) ...
Setting up libgail-3-0:amd64 (3.24.20-0ubuntu1.1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
and:
root@mintp:~# apt --fix-broken install
After these two commands, apt-get upgrade ran through just fine.
Hannes from wrote on Aug 31st, 2024:
Same issue on my system, your solution worked. Thank you for sharing!
Asi from wrote on Nov 9th, 2022:
Nice, thanks :)
Winston from wrote on May 31st, 2022:
Hi,
I still have this error:
dpkg: dependency problems prevent configuration of libglib2.0-0:i386:
libglib2.0-0:i386 depends on libmount1 (>= 2.35.2-7~).
libglib2.0-0:i386 depends on libpcre3.
libglib2.0-0:i386 depends on libselinux1 (>= 3.1~).
dpkg: error processing package libglib2.0-0:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpango-1.0-0:i386:
libpango-1.0-0:i386 depends on libfribidi0 (>= 1.0.6).
libpango-1.0-0:i386 depends on libglib2.0-0 (>= 2.67.3); however:
Package libglib2.0-0:i386 is not configured yet.
libpango-1.0-0:i386 depends on libharfbuzz0b (>= 2.6.0).
libpango-1.0-0:i386 depends on libthai0 (>= 0.1.25).
dpkg: error processing package libpango-1.0-0:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpangoft2-1.0-0:i386:
libpangoft2-1.0-0:i386 depends on libfontconfig1 (>= 2.13.0).
libpangoft2-1.0-0:i386 depends on libfreetype6 (>= 2.2.1).
libpangoft2-1.0-0:i386 depends on libglib2.0-0 (>= 2.67.3); however:
Package libglib2.0-0:i386 is not configured yet.
libpangoft2-1.0-0:i386 depends on libharfbuzz0b (>= 2.6.0).
libpangoft2-1.0-0:i386 depends on libpango-1.0-0 (= 1.50.6+ds-2); however:
Package libpango-1.0-0:i386 is not configured yet.
dpkg: error processing package libpangoft2-1.0-0:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpangocairo-1.0-0:i386:
libpangocairo-1.0-0:i386 depends on libcairo2 (>= 1.12.10).
libpangocairo-1.0-0:i386 depends on libfontconfig1 (>= 2.13.0).
libpangocairo-1.0-0:i386 depends on libglib2.0-0 (>= 2.62.0); however:
Package libglib2.0-0:i386 is not configured yet.
libpangocairo-1.0-0:i386 depends on libharfbuzz0b (>= 2.6.0).
libpangocairo-1.0-0:i386 depends on libpango-1.0-0 (= 1.50.6+ds-2); however:
Package libpango-1.0-0:i386 is not configured yet.
libpangocairo-1.0-0:i386 depends on libpangoft2-1.0-0 (= 1.50.6+ds-2); however:
Package libpangoft2-1.0-0:i386 is not configured yet.
dpkg: error processing package libpangocairo-1.0-0:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libglib2.0-0:i386
libpango-1.0-0:i386
libpangoft2-1.0-0:i386
libpangocairo-1.0-0:i386
AWS Android Ansible Apache Apple Atlassian BSD Backup Bash Bluecoat CMS Chef Cloud Coding Consul Containers CouchDB DB DNS Database Databases Docker ELK Elasticsearch Filebeat FreeBSD Galera Git GlusterFS Grafana Graphics HAProxy HTML Hacks Hardware Icinga Influx Internet Java KVM Kibana Kodi Kubernetes LVM LXC Linux Logstash Mac Macintosh Mail MariaDB Minio MongoDB Monitoring Multimedia MySQL NFS Nagios Network Nginx OSSEC OTRS Office PGSQL PHP Perl Personal PostgreSQL Postgres PowerDNS Proxmox Proxy Python Rancher Rant Redis Roundcube SSL Samba Seafile Security Shell SmartOS Solaris Surveillance Systemd TLS Tomcat Ubuntu Unix VMWare VMware Varnish Virtualization Windows Wireless Wordpress Wyse ZFS Zoneminder