Public bug reported:

The error "/usr/lib/android-sdk/tools already exists." is preventing
installation of this package.

The only way I've found around this is to execute the following:

apt install google-android-tools-installer
rm -rf /usr/lib/android-sdk/tools
apt install google-android-tools-installer

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: google-android-tools-installer 26.1.1+1710437545-3build2
ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
Uname: Linux 6.8.0-35-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Jun 22 11:02:23 2024
ErrorMessage: installed google-android-tools-installer package 
post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2023-07-31 (327 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 
3.12.3-0ubuntu1
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.22.6ubuntu6
 apt  2.7.14build2
SourcePackage: google-android-installers
Title: package google-android-tools-installer 26.1.1+1710437545-3build2 failed 
to install/upgrade: installed google-android-tools-installer package 
post-installation script subprocess returned error exit status 2
UpgradeStatus: Upgraded to noble on 2024-05-30 (24 days ago)

** Affects: google-android-installers (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package noble

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

Title:
  package google-android-tools-installer 26.1.1+1710437545-3build2
  failed to install/upgrade: installed google-android-tools-installer
  package post-installation script subprocess returned error exit status
  2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/google-android-installers/+bug/2070103/+subscriptions


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

Reply via email to