I am trying to install flutter on ubuntu 22.04 based linux container (on proxmox server).

sdkmanager --version

shows 7.0

flutter doctor 

shows message "Flutter requires Android SDK 29 and the Android BuildTools 28.0.3"

flutter doctor --android-licenses 

shows message that Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this.

sdkmanager --update

shows no updates available.

sdkmanager --list

shows Installed packages:=====================] 100% Computing updates...
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;28.0.3 | 28.0.3 | PLACEHOLDER | build-tools/28.0.3
cmdline-tools;latest | 7.0 | Android SDK Command-line Tools (latest) | cmdline-tools/latest platform-tools | 33.0.2 | PLACEHOLDER | platform-tools

I found many solutions involving use of GUI on windows and Linux. Considering I have access to terminal and no GUI available, how do I resolve this issue

Snapshot of terminal