Comment 7 for bug 2056080

Revision history for this message
Dan Bungert (dbungert) wrote :

Thanks for clarifying - I can see the upgrade bug now.

However, building ubuntu3 with the supplied patch seems to not address the upgrade:

dpkg: regarding google-android-build-tools-33.0.0-installer_33.0.0+1707406511ubuntu3_amd64.deb containing google-android-build-tools-33.0.0-installer:
 google-android-build-tools-33.0.0-installer conflicts with aapt (>> 1)
  google-android-build-tools-34.0.0-installer provides aapt and is present and installed.

dpkg: error processing archive google-android-build-tools-33.0.0-installer_33.0.0+1707406511ubuntu3_amd64.deb (--install):
 conflicting packages - not installing google-android-build-tools-33.0.0-installer
dpkg: regarding google-android-build-tools-34.0.0-installer_34.0.0+1707406511ubuntu3_amd64.deb containing google-android-build-tools-34.0.0-installer:
 google-android-build-tools-34.0.0-installer conflicts with aapt (>> 1)
  google-android-build-tools-33.0.0-installer provides aapt and is present and installed.

dpkg: error processing archive google-android-build-tools-34.0.0-installer_34.0.0+1707406511ubuntu3_amd64.deb (--install):
 conflicting packages - not installing google-android-build-tools-34.0.0-installer
(Reading database ... 108377 files and directories currently installed.)
Preparing to unpack google-android-licenses_1707406511ubuntu3_all.deb ...
Unpacking google-android-licenses (1707406511ubuntu3) over (1707406511ubuntu1) ...
Setting up google-android-licenses (1707406511ubuntu3) ...
Errors were encountered while processing:
 google-android-build-tools-33.0.0-installer_33.0.0+1707406511ubuntu3_amd64.deb
 google-android-build-tools-34.0.0-installer_34.0.0+1707406511ubuntu3_amd64.deb

test scenario:
* install google-android-build-tools-3[34].0.0 ubuntu1
* build with the attached patch
* attempt upgrade to the ubuntu3 versions of google-android-build-tools-3[34].0.0 and google-android-licenses