[Bug 1936833] Re: postinst fails when cloud-init is installed but never ran

2021-07-27 Thread Pieter Houwen
I just tried the focal version. It failed to build with the following
output:

root@supersecretstation:/mnt/d/Downloads/ubuntu-advantage-tools/ubuntu-advantage-tools-27.2.2~20.04.1#
 cp ../ubuntu-advantage-tools_27.2.2~20.04.1.tar.xz .
root@supersecretstation:/mnt/d/Downloads/ubuntu-advantage-tools/ubuntu-advantage-tools-27.2.2~20.04.1#
 dpkg-buildpackage -us -uc
dpkg-buildpackage: info: source package ubuntu-advantage-tools
dpkg-buildpackage: info: source version 27.2.2~20.04.1
dpkg-buildpackage: info: source distribution focal
dpkg-buildpackage: info: source changed by Lucas Moura 

dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean --with python3,bash-completion,systemd --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory 
'/mnt/d/Downloads/ubuntu-advantage-tools/ubuntu-advantage-tools-27.2.2~20.04.1'
dh_auto_clean
pybuild --clean --test-pytest -i python{version} -p 3.8
I: pybuild base:217: python3.8 setup.py clean
running clean
removing 
'/mnt/d/Downloads/ubuntu-advantage-tools/ubuntu-advantage-tools-27.2.2~20.04.1/.pybuild/cpython3_3.8/build'
 (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.8' does not exist -- can't clean it
rm -rf .pybuild/
find . -name \*.pyc -exec rm {} \;
make clean
make[2]: Entering directory 
'/mnt/d/Downloads/ubuntu-advantage-tools/ubuntu-advantage-tools-27.2.2~20.04.1'
rm -f *.build *.buildinfo *.changes .coverage *.deb *.dsc *.tar.gz *.tar.xz
rm -rf *.egg-info/ .tox/ .cache/ .mypy_cache/
find . -type f -name '*.pyc' -delete
find . -type d -name '*__pycache__' -delete
make -C apt-hook clean
make[3]: Entering directory 
'/mnt/d/Downloads/ubuntu-advantage-tools/ubuntu-advantage-tools-27.2.2~20.04.1/apt-hook'
rm -f hook ubuntu-advantage.pot json-hook-src/json-hook
make[3]: Leaving directory 
'/mnt/d/Downloads/ubuntu-advantage-tools/ubuntu-advantage-tools-27.2.2~20.04.1/apt-hook'
make[2]: Leaving directory 
'/mnt/d/Downloads/ubuntu-advantage-tools/ubuntu-advantage-tools-27.2.2~20.04.1'
make[1]: Leaving directory 
'/mnt/d/Downloads/ubuntu-advantage-tools/ubuntu-advantage-tools-27.2.2~20.04.1'
   dh_clean -O--buildsystem=pybuild
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f debian/ubuntu-advantage-pro.debhelper.log 
debian/ubuntu-advantage-tools.debhelper.log
rm -f -- debian/ubuntu-advantage-tools.substvars 
debian/ubuntu-advantage-pro.substvars debian/files
rm -fr -- debian/ubuntu-advantage-tools/ debian/tmp/ 
debian/ubuntu-advantage-pro/
find .  \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
-type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) 
\)
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (native)'
dpkg-source: info: building ubuntu-advantage-tools in 
ubuntu-advantage-tools_27.2.2~20.04.1.tar.xz
dpkg-source: error: unable to change permission of 
'ubuntu-advantage-tools_27.2.2~20.04.1.tar.xz': No such file or directory
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2


I have no idea what an "Impish" is. Am I missing something?

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

Title:
  postinst fails when cloud-init is installed but never ran

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1936833] Re: package ubuntu-advantage-tools 27.2.1~21.10.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1

2021-07-27 Thread Pieter Houwen
When can we expect this to hit production? I just updated my WSL today
and I stumbled across this error but I can see from the PR that it is
already merged.

Should I do anything to fix this or do I need to just wait?

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

Title:
  package ubuntu-advantage-tools 27.2.1~21.10.1 failed to
  install/upgrade: installed ubuntu-advantage-tools package post-
  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/1936833/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs