Re: [Bug 1939951] Re: package ubuntu-advantage-tools 17 failed to install/upgrade: new ubuntu-advantage-tools package pre-installation script subprocess returned error exit status 1

2021-08-16 Thread Michael Gerard
I don't believe I can.  After sending in this bug report I did a clean
reinstall of ubuntu 20.04 and then cherry picked the files I wanted to
transfer over from the HDD.  I can say that neither my current
configuration nor the backup has the files listed.

Best,
Michael

From: nore...@launchpad.net  on behalf of Lucas 
Albuquerque Medeiros de Moura <1939...@bugs.launchpad.net>
Sent: Monday, August 16, 2021 08:17
To: MICHAEL JEFFREY GERARD 
Subject: [Bug 1939951] Re: package ubuntu-advantage-tools 17 failed to 
install/upgrade: new ubuntu-advantage-tools package pre-installation script 
subprocess returned error exit status 1

Hi Michael, looking at this issue, it seems that the problem is being
caused by by the preinst script. When inspecing the preinst script in
the package, I have found this:

--
#!/bin/sh
set -e
# Automatically added by dh_installdeb/11.1.6ubuntu2
dpkg-maintscript-helper rm_conffile /etc/update-motd.d/99-esm 19.1~ 
ubuntu-advantage-tools -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.6ubuntu2
dpkg-maintscript-helper rm_conffile /etc/update-motd.d/80-esm 19.1~ 
ubuntu-advantage-tools -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.6ubuntu2
dpkg-maintscript-helper rm_conffile /etc/update-motd.d/80-livepatch 19.1~ 
ubuntu-advantage-tools -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.6ubuntu2
dpkg-maintscript-helper rm_conffile /etc/cron.daily/ubuntu-advantage-tools 
19.1~ ubuntu-advantage-tools -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.6ubuntu2
dpkg-maintscript-helper rm_conffile /etc/init/ua-auto-attach.conf 20.2~ 
ubuntu-advantage-tools -- "$@"
# End automatically added section
~
-


It is trying to remove some config files related to the package. Can you verify 
if you have any of those files in your system ?

--
You received this bug notification because you are subscribed to the bug
report.
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

Status in ubuntu-advantage-tools package in Ubuntu:
  New

Bug description:
  I backed up my Ubuntu 18.04 system on an HDD, installed Ubuntu 20.04
  on a new computer and then attempted to restore my file system from my
  backup.  After rsyinc-ing, I attempted to give "sude apt-get update &&
  apt-get upgrade -y", which failed on both accounts.

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: ubuntu-advantage-tools 17
  ProcVersionSignature: Ubuntu 5.11.0-25.27~20.04.1-generic 5.11.22
  Uname: Linux 5.11.0-25-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.24
  Architecture: amd64
  Date: Sat Aug 14 09:26:34 2021
  Dependencies:

  ErrorMessage: new ubuntu-advantage-tools package pre-installation script 
subprocess returned error exit status 1
  InstallationDate: Installed on 2019-10-23 (660 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 
(20190805)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.6, Python 3.6.9, python3-minimal, 
3.6.7-1~18.04
  PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2.3
   apt  1.6.14
  SourcePackage: ubuntu-advantage-tools
  Title: package ubuntu-advantage-tools 17 failed to install/upgrade: new 
ubuntu-advantage-tools package pre-installation script subprocess returned 
error exit status 1
  UpgradeStatus: Upgraded to bionic on 2020-10-08 (309 days ago)

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

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1939951] [NEW] package ubuntu-advantage-tools 17 failed to install/upgrade: new ubuntu-advantage-tools package pre-installation script subprocess returned error exit status 1

2021-08-14 Thread Michael Gerard
Public bug reported:

I backed up my Ubuntu 18.04 system on an HDD, installed Ubuntu 20.04 on
a new computer and then attempted to restore my file system from my
backup.  After rsyinc-ing, I attempted to give "sude apt-get update &&
apt-get upgrade -y", which failed on both accounts.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: ubuntu-advantage-tools 17
ProcVersionSignature: Ubuntu 5.11.0-25.27~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-25-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.24
Architecture: amd64
Date: Sat Aug 14 09:26:34 2021
Dependencies:
 
ErrorMessage: new ubuntu-advantage-tools package pre-installation script 
subprocess returned error exit status 1
InstallationDate: Installed on 2019-10-23 (660 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.9, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.3
 apt  1.6.14
SourcePackage: ubuntu-advantage-tools
Title: package ubuntu-advantage-tools 17 failed to install/upgrade: new 
ubuntu-advantage-tools package pre-installation script subprocess returned 
error exit status 1
UpgradeStatus: Upgraded to bionic on 2020-10-08 (309 days ago)

** Affects: ubuntu-advantage-tools (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package bionic

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs