- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
11-18-2026 02:03 PM
Hello, the following behavior is experienced on two Ubuntu systems, one of which is a 22.04, and the other a 24.04. They are Intune tunnel gateways, if this helps.
Upon trying to run and "apt update" or "apt upgrade" on the 22.04 system, I receive these identical messages:
...
Do you want to continue? [Y/n] y
Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.11) ...
[epm] no execution allowed for child command [/usr/share/glib-2.0/clean-up-unmanaged-libraries]
/var/lib/dpkg/info/libglib2.0-0:amd64.postinst: 31: /usr/share/glib-2.0/clean-up-unmanaged-libraries: Permission denied
/var/lib/dpkg/info/libglib2.0-0:amd64.postinst: Trying cleanup again with more logging...
[epm] no execution allowed for child command [/usr/share/glib-2.0/clean-up-unmanaged-libraries]
/var/lib/dpkg/info/libglib2.0-0:amd64.postinst: 31: /usr/share/glib-2.0/clean-up-unmanaged-libraries: Permission denied
dpkg: error processing package libglib2.0-0:amd64 (--configure):
installed libglib2.0-0:amd64 package post-installation script subprocess returned error exit status 126
dpkg: dependency problems prevent configuration of libglib2.0-bin:
libglib2.0-bin depends on libglib2.0-0 (= 2.72.4-0ubuntu2.11); however:
Package libglib2.0-0:amd64 is not configured yet.
dpkg: error processing package libglib2.0-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnetplan0:amd64:
libnetplan0:amd64 depends on libglib2.0-0 (>= 2.70.0); however:
Package libglib2.0-0:amd64 is not configured yet.
...
Errors were encountered while processing:
libglib2.0-0:amd64
libglib2.0-bin
libnetplan0:amd64
pkexec
netplan.io
open-vm-tools
python3-netplan
libpolkit-agent-1-0:amd64
netplan-generator
policykit-1
polkitd
libpolkit-gobject-1-0:amd64
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
I saw the EPM errors, but I thought I would check out dpkg as well...
admin@server3:$ sudo dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
libglib2.0-bin Programs for the GLib library
libnetplan0:amd64 YAML network configuration abstraction runtime library
libpolkit-agent-1-0:amd64 PolicyKit Authentication Agent API
libpolkit-gobject-1-0:amd64 PolicyKit Authorization API
netplan-generator YAML network configuration abstraction systemd-generator
netplan.io YAML network configuration abstraction for various backen
open-vm-tools Open VMware Tools for virtual machines hosted on VMware (
pkexec run commands as another user with polkit authorization
policykit-1 transitional package for polkitd and pkexec
polkitd framework for managing administrative policies and privil
python3-netplan YAML network configuration abstraction Python bindings
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
libglib2.0-0:amd64 GLib library of C routines
admin@server3:/opt$ sudo dpkg --configure libglib2.0-0:amd64
Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.11) ...
[epm] no execution allowed for child command [/usr/share/glib-2.0/clean-up-unmanaged-libraries]
/var/lib/dpkg/info/libglib2.0-0:amd64.postinst: 31: /usr/share/glib-2.0/clean-up-unmanaged-libraries: Permission denied
/var/lib/dpkg/info/libglib2.0-0:amd64.postinst: Trying cleanup again with more logging...
[epm] no execution allowed for child command [/usr/share/glib-2.0/clean-up-unmanaged-libraries]
/var/lib/dpkg/info/libglib2.0-0:amd64.postinst: 31: /usr/share/glib-2.0/clean-up-unmanaged-libraries: Permission denied
dpkg: error processing package libglib2.0-0:amd64 (--configure):
installed libglib2.0-0:amd64 package post-installation script subprocess returned error exit status 126
Processing triggers for libc-bin (2.35-0ubuntu3.18) ...
Errors were encountered while processing:
libglib2.0-0:amd64I was able to reboot the system after this , and supposedly there are no more updates that need to be performed.
HOWEVER, on the ubuntu 24.04 system, when trying to update and upgrade:
Preparing to unpack .../libgcrypt20_1.10.3-2ubuntu0.2_amd64.deb ...
Unpacking libgcrypt20:amd64 (1.10.3-2ubuntu0.2) over (1.10.3-2ubuntu0.1) ...
Setting up libgcrypt20:amd64 (1.10.3-2ubuntu0.2) ...
[epm] no execution allowed for child command [/usr/share/libgcrypt20/clean-up-unmanaged-libraries]
/var/lib/dpkg/info/libgcrypt20:amd64.postinst: 5: /usr/share/libgcrypt20/clean-up-unmanaged-libraries: Permission denied
/var/lib/dpkg/info/libgcrypt20:amd64.postinst: Trying cleanup again with more logging...
[epm] no execution allowed for child command [/usr/share/libgcrypt20/clean-up-unmanaged-libraries]
/var/lib/dpkg/info/libgcrypt20:amd64.postinst: 5: /usr/share/libgcrypt20/clean-up-unmanaged-libraries: Permission denied
dpkg: error processing package libgcrypt20:amd64 (--configure):
installed libgcrypt20:amd64 package post-installation script subprocess returned error exit status 126
Errors were encountered while processing:
libgcrypt20:amd64
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
and upon trying to use dpkg to configure that package, EPM blocks again.
admin@server4:~$ sudo dpkg --configure libgcrypt20:amd64
Setting up libgcrypt20:amd64 (1.10.3-2ubuntu0.2) ...
[epm] no execution allowed for child command [/usr/share/libgcrypt20/clean-up-unmanaged-libraries]
/var/lib/dpkg/info/libgcrypt20:amd64.postinst: 5: /usr/share/libgcrypt20/clean-up-unmanaged-libraries: Permission denied
/var/lib/dpkg/info/libgcrypt20:amd64.postinst: Trying cleanup again with more logging...
[epm] no execution allowed for child command [/usr/share/libgcrypt20/clean-up-unmanaged-libraries]
/var/lib/dpkg/info/libgcrypt20:amd64.postinst: 5: /usr/share/libgcrypt20/clean-up-unmanaged-libraries: Permission denied
dpkg: error processing package libgcrypt20:amd64 (--configure):
installed libgcrypt20:amd64 package post-installation script subprocess returned error exit status 126
Processing triggers for libc-bin (2.39-0ubuntu8.12) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for plymouth-theme-ubuntu-text (24.004.60-1ubuntu7.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for install-info (7.1-3build2) ...
Processing triggers for initramfs-tools (0.142ubuntu25.8) ...
update-initramfs: Generating /boot/initrd.img-6.8.0-138-generic
Errors were encountered while processing:
libgcrypt20:amd64
Does anybody understand why these glib packages are getting flagged? Is it because they contain amd64 binaries?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

