Hi Michael, thanks for the context . I think we can try to manually run
the preinst script of the package to better understand what is failing.
Currently, I can't pinpoint an exact reason for it if you don't have any
of those files.

Also, it seems you are installing an older version of ubuntu-advantage-tools, 17
The package is already at version 27.2.2 if you enable the focal-updates pocket 
in your source.list.
However, maybe you can't do that, but I just want to let you know about it.

Also, I just realized that the preinst script for version 17 is different from 
the one that I posted:
-------------------------
#!/bin/sh
set -e
# Automatically added by dh_installdeb/11.1.6ubuntu1
dpkg-maintscript-helper mv_conffile /etc/update-motd.d/99-livepatch 
/etc/update-motd.d/80-livepatch 15~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.6ubuntu1
dpkg-maintscript-helper mv_conffile /etc/update-motd.d/99-esm 
/etc/update-motd.d/80-esm 15~ -- "$@"
# End automatically added section
------------------------------------

You can get the preinst script of the package you are trying to install by:
1) apt-get download ubuntu-advantage-tools=17
2) dpkg-deb -e DEB_FILE OUTPUT_DIR

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939951

Title:
  package ubuntu-advantage-tools 17 failed to install/upgrade: new
  ubuntu-advantage-tools package pre-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1939951/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to