Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topgrade Aqua cli conflicts with Intellij Aqua #1024

Open
3 of 6 tasks
luckyone89 opened this issue Jan 30, 2025 · 0 comments
Open
3 of 6 tasks

Topgrade Aqua cli conflicts with Intellij Aqua #1024

luckyone89 opened this issue Jan 30, 2025 · 0 comments
Labels
C-bug Something isn't working

Comments

@luckyone89
Copy link

Erroneous Behavior

When using topgrade to upgrade, it starts Intellij aqua thinking it's the aqua cli.

Expected Behavior

I do not have aqua cli installed on my system. So it should simply ignore it.

Steps to reproduce

  1. Have Intellij Aqua installed on your system (and runnable from the terminal)
  2. run topgrade
  3. Wait until Aqua opens

Possible Cause (Optional)

It mistakes Intellij aqua to the aqua cli

Problem persists without calling from topgrade

  • Yes
  • No

Did you run topgrade through Remote Execution

  • Yes
  • No

If yes, does the issue still occur when you run topgrade directlly in your
remote host

  • Yes
  • No

Additional Details

  • Operation System/Version : Bazzite Stable

  • Installation : It comes preinstalled in the OS

  • Topgrade version (topgrade -V) : 16.0.2

Verbose Output (topgrade -v)

DEBUG Current system locale is fr-CA
DEBUG Configuration at /var/home/olivierlachance/.config/topgrade.toml
DEBUG Loaded configuration: ConfigFile { include: Some(Include { paths: None }), misc: Some(Misc { pre_sudo: None, sudo_command: None, disable: None, ignore_failures: None, remote_topgrades: None, remote_topgrade_path: None, ssh_arguments: None, tmux_arguments: None, set_title: None, display_time: None, assume_yes: None, no_retry: None, run_in_tmux: None, tmux_session_mode: None, cleanup: None, notify_each_step: None, skip_notify: None, bashit_branch: None, only: None, no_self_update: None, log_filters: None }), pre_commands: Some({}), post_commands: Some({}), commands: Some({}), python: Some(Python { enable_pip_review: None, enable_pip_review_local: None, enable_pipupgrade: None, pipupgrade_arguments: None, poetry_force_self_update: None }), composer: Some(Composer { self_update: None }), brew: Some(Brew { greedy_cask: None, greedy_latest: None, greedy_auto_updates: None, autoremove: None, fetch_head: None }), linux: Some(Linux { yay_arguments: None, aura_aur_arguments: None, aura_pacman_arguments: None, arch_package_manager: None, show_arch_news: None, garuda_update_arguments: None, trizen_arguments: None, pikaur_arguments: None, pamac_arguments: None, dnf_arguments: None, nix_arguments: None, nix_env_arguments: None, apt_arguments: None, enable_tlmgr: None, redhat_distro_sync: None, suse_dup: None, rpm_ostree: None, bootc: None, emerge_sync_flags: None, emerge_update_flags: None, home_manager_arguments: None }), git: Some(Git { max_concurrency: None, arguments: None, repos: None, pull_predefined: None }), containers: Some(Containers { ignored_containers: None, runtime: None }), windows: Some(Windows { accept_all_updates: None, self_rename: None, open_remotes_in_new_terminal: None, wsl_update_pre_release: None, wsl_update_use_web_download: None }), npm: Some(NPM { use_sudo: None }), yarn: Some(Yarn { use_sudo: None }), deno: Some(Deno { version: None }), vim: Some(Vim { force_plug_update: None }), firmware: Some(Firmware { upgrade: None }), vagrant: Some(Vagrant { directories: None, power_on: None, always_suspend: None }), flatpak: Some(Flatpak { use_sudo: None }), distrobox: Some(Distrobox { use_root: None, containers: None }), lensfun: Some(Lensfun { use_sudo: None }), julia: Some(JuliaConfig { startup_file: None }) }
DEBUG Version: 16.0.2
DEBUG OS: x86_64-unknown-linux-gnu
DEBUG Args { inner: ["topgrade", "-v"] }
DEBUG Binary path: Ok("/usr/bin/topgrade")
DEBUG self-update Feature Enabled: false
DEBUG Configuration: Config { opt: CommandLineArgs { edit_config: false, show_config_reference: false, run_in_tmux: false, cleanup: false, dry_run: false, no_retry: false, disable: [], only: [], custom_commands: [], env: [], verbose: true, keep_at_end: false, skip_notify: false, yes: None, disable_predefined_git_repos: false, config: None, remote_host_limit: None, show_skipped: false, log_filter: "warn", gen_completion: None, gen_manpage: false, no_self_update: false }, config_file: ConfigFile { include: Some(Include { paths: None }), misc: Some(Misc { pre_sudo: None, sudo_command: None, disable: None, ignore_failures: None, remote_topgrades: None, remote_topgrade_path: None, ssh_arguments: None, tmux_arguments: None, set_title: None, display_time: None, assume_yes: None, no_retry: None, run_in_tmux: None, tmux_session_mode: None, cleanup: None, notify_each_step: None, skip_notify: None, bashit_branch: None, only: None, no_self_update: None, log_filters: None }), pre_commands: Some({}), post_commands: Some({}), commands: Some({}), python: Some(Python { enable_pip_review: None, enable_pip_review_local: None, enable_pipupgrade: None, pipupgrade_arguments: None, poetry_force_self_update: None }), composer: Some(Composer { self_update: None }), brew: Some(Brew { greedy_cask: None, greedy_latest: None, greedy_auto_updates: None, autoremove: None, fetch_head: None }), linux: Some(Linux { yay_arguments: None, aura_aur_arguments: None, aura_pacman_arguments: None, arch_package_manager: None, show_arch_news: None, garuda_update_arguments: None, trizen_arguments: None, pikaur_arguments: None, pamac_arguments: None, dnf_arguments: None, nix_arguments: None, nix_env_arguments: None, apt_arguments: None, enable_tlmgr: None, redhat_distro_sync: None, suse_dup: None, rpm_ostree: None, bootc: None, emerge_sync_flags: None, emerge_update_flags: None, home_manager_arguments: None }), git: Some(Git { max_concurrency: None, arguments: None, repos: None, pull_predefined: None }), containers: Some(Containers { ignored_containers: None, runtime: None }), windows: Some(Windows { accept_all_updates: None, self_rename: None, open_remotes_in_new_terminal: None, wsl_update_pre_release: None, wsl_update_use_web_download: None }), npm: Some(NPM { use_sudo: None }), yarn: Some(Yarn { use_sudo: None }), deno: Some(Deno { version: None }), vim: Some(Vim { force_plug_update: None }), firmware: Some(Firmware { upgrade: None }), vagrant: Some(Vagrant { directories: None, power_on: None, always_suspend: None }), flatpak: Some(Flatpak { use_sudo: None }), distrobox: Some(Distrobox { use_root: None, containers: None }), lensfun: Some(Lensfun { use_sudo: None }), julia: Some(JuliaConfig { startup_file: None }) }, allowed_steps: [AM, AppMan, Asdf, Atom, Aqua, Audit, AutoCpufreq, Bin, Bob, BrewCask, BrewFormula, Bun, BunPackages, Cargo, Certbot, Chezmoi, Chocolatey, Choosenim, ClamAvDb, Composer, Conda, ConfigUpdate, Containers, CustomCommands, DebGet, Deno, Distrobox, DkpPacman, Dotnet, Elan, Emacs, Firmware, Flatpak, Flutter, Fossil, Gcloud, Gem, Ghcup, GithubCliExtensions, GitRepos, GnomeShellExtensions, Go, Guix, Haxelib, Helm, HomeManager, Jetpack, Julia, Juliaup, Kakoune, Helix, Krew, Lure, Lensfun, Macports, Mamba, Miktex, Mas, Maza, Micro, MicrosoftStore, Mise, Myrepos, Nix, Node, Opam, Pacdef, Pacstall, Pearl, Pip3, PipReview, PipReviewLocal, Pipupgrade, Pipx, Pixi, Pkg, Pkgin, PlatformioCore, Pnpm, Poetry, Powershell, Protonup, Pyenv, Raco, Rcm, Remotes, Restarts, Rtcl, RubyGems, Rustup, Rye, Scoop, Sdkman, SelfUpdate, Sheldon, Shell, Snap, Sparkle, Spicetify, Stack, Stew, System, Tldr, Tlmgr, Tmux, Toolbx, Uv, Vagrant, Vcpkg, Vim, VoltaPackages, Vscode, Waydroid, Winget, Wsl, WslUpdate, Xcodes, Yadm, Yarn, Zvm] }
DEBUG Cannot find "pwsh"
DEBUG Cannot find "powershell"
DEBUG Path "/var/home/olivierlachance/.config/emacs" doesn't exist
DEBUG Path "/var/home/olivierlachance/.emacs.d" doesn't exist
DEBUG Cannot find "doas"
DEBUG Detected "/usr/bin/sudo" as "sudo"
DEBUG Step "packer.nu"
DEBUG Step "System update"

── 14:25:48 - Mise à jour du système ─────────────────────────────────────────
DEBUG Detected "/usr/bin/bootc" as "bootc"
DEBUG Detected "/usr/bin/rpm-ostree" as "rpm-ostree"
DEBUG Executing command /usr/bin/rpm-ostree upgrade
Pulling manifest: ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
Inactive requests:
qemu (already provided by qemu-2:9.1.2-2.fc41.x86_64)
edk2-ovmf (already provided by edk2-ovmf-20241117-5.fc41.noarch)
libvirt (already provided by libvirt-10.6.0-6.fc41.x86_64)
sunshine (already provided by sunshine-2025.101.215655-100.fc41.noarch)
Checking out tree a2b6b99... done
Enabled rpm-md repositories: copr:copr.fedorainfracloud.org:ilyaz:LACT copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager copr:copr.fedorainfracloud.org:rodoma92:rmlint copr:copr.fedorainfracloud.org:rok:cdemu fedora-cisco-openh264 updates fedora mullvad-stable copr:copr.fedorainfracloud.org:dusansimic:themes copr:copr.fedorainfracloud.org:codifryed:CoolerControl copr:copr.fedorainfracloud.org:observeroftime:betterdiscordctl updates-archive
Importing rpm-md... done
rpm-md repo 'copr:copr.fedorainfracloud.org:ilyaz:LACT' (cached); generated: 2025-01-16T07:49:04Z solvables: 12
rpm-md repo 'copr:copr.fedorainfracloud.org:rodoma92:kde-cdemu-manager' (cached); generated: 2024-10-29T12:13:12Z solvables: 16
rpm-md repo 'copr:copr.fedorainfracloud.org:rodoma92:rmlint' (cached); generated: 2024-10-29T12:31:09Z solvables: 4
rpm-md repo 'copr:copr.fedorainfracloud.org:rok:cdemu' (cached); generated: 2024-10-21T13:15:21Z solvables: 23
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2024-03-11T19:22:31Z solvables: 3
rpm-md repo 'updates' (cached); generated: 2025-01-29T04:57:42Z solvables: 18941
rpm-md repo 'fedora' (cached); generated: 2024-10-24T13:55:59Z solvables: 76624
rpm-md repo 'mullvad-stable' (cached); generated: 2025-01-09T15:15:57Z solvables: 2
rpm-md repo 'copr:copr.fedorainfracloud.org:dusansimic:themes' (cached); generated: 2024-11-02T08:35:37Z solvables: 2
rpm-md repo 'copr:copr.fedorainfracloud.org:codifryed:CoolerControl' (cached); generated: 2024-12-15T04:11:31Z solvables: 6
rpm-md repo 'copr:copr.fedorainfracloud.org:observeroftime:betterdiscordctl' (cached); generated: 2024-08-12T11:52:42Z solvables: 2
rpm-md repo 'updates-archive' (cached); generated: 2025-01-29T05:24:39Z solvables: 27029
Resolving dependencies... done
No upgrade available.
DEBUG Step "config-update"
DEBUG Step "am"
DEBUG Step "appman"
DEBUG Step "deb-get"
DEBUG Step "toolbx"
DEBUG Detected "/usr/bin/toolbox" as "toolbox"

── 14:25:59 - Toolbx ───────────────────────────────────────────────────────────
DEBUG Executing command /usr/bin/toolbox list --containers
DEBUG Toolboxes to inspect: ["dev"]
DEBUG Executing command /usr/bin/toolbox run -c dev env 'TOPGRADE_PREFIX='\''Toolbx dev'\''' /run/host/usr/bin/topgrade --only system --no-self-update --skip-notify
Error: container dev is too old and no longer supported
Recreate it with Toolbx version 0.0.17 or newer.
DEBUG Command failed: Err(
0: Command failed: /usr/bin/toolbox run -c dev env 'TOPGRADE_PREFIX='\''Toolbx dev'\''' /run/host/usr/bin/topgrade --only system --no-self-update --skip-notify
1: /usr/bin/toolbox a échoué : exit status: 1

Location:
src/steps/toolbx.rs:62)
DEBUG Step "toolbx" failed:
0: Command failed: /usr/bin/toolbox run -c dev env 'TOPGRADE_PREFIX='\''Toolbx dev'\''' /run/host/usr/bin/topgrade --only system --no-self-update --skip-notify
1: /usr/bin/toolbox a échoué : exit status: 1

Location:
src/steps/toolbx.rs:62
toolbx a échoué :
0: Command failed: /usr/bin/toolbox run -c dev env 'TOPGRADE_PREFIX='\''Toolbx dev'\''' /run/host/usr/bin/topgrade --only system --no-self-update --skip-notify
1: /usr/bin/toolbox a échoué : exit status: 1

Location:
src/steps/toolbx.rs:62
Réessayer ? (y) Oui / (N) Non / (s) Shell / (q) Quitter
DEBUG Step "snap"
DEBUG Step "pacstall"
DEBUG Step "pacdef"
DEBUG Step "protonup"
DEBUG Step "distrobox"
DEBUG Detected "/usr/bin/distrobox" as "distrobox"

── 14:26:19 - Distrobox ────────────────────────────────────────────────────────
DEBUG Executing command /usr/bin/distrobox upgrade --all
Upgrading dev...
Starting container... [ OK ]
Installing basic packages... [ OK ]
Setting up devpts mounts... [ OK ]
Setting up read-only mounts... [ OK ]
Setting up read-write mounts... [ OK ]
Setting up host's sockets integration... [ OK ]
Integrating host's themes, icons, fonts... [ OK ]
Setting up distrobox profile... [ OK ]
Setting up sudo... [ OK ]
Setting up user's group list... [ OK ]

Container Setup Complete!
distrobox: Installing basic packages...
/usr/bin/pacman
:: Synchronisation des bases de données de paquets…
core 116,5 KiB 79,3 KiB/s 00:01 [######################] 100%
extra 7,5 MiB 1778 KiB/s 00:04 [######################] 100%
multilib 131,2 KiB 87,2 KiB/s 00:02 [######################] 100%
:: Début de la mise à jour complète du système…
il n’y a rien à faire
DEBUG Step "dkp-pacman"
DEBUG Step "pihole"
DEBUG Step "Firmware upgrades"
DEBUG Detected "/usr/bin/fwupdmgr" as "fwupdmgr"
DEBUG Executing command uname -r
DEBUG Uname output: 6.12.10-202.bazzite.fc41.x86_64

── 14:26:26 - Mises à jour du firmware ────────────────────────────────────────
DEBUG Executing command /usr/bin/fwupdmgr refresh
Metadata is up to date; use --force to refresh again.
DEBUG Executing command /usr/bin/fwupdmgr get-updates
Devices with no available firmware updates:
• Navi 33 [Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600]
• USB2.1 Hub
• WD BLACK SN850X 2000GB
Devices with the latest available firmware version:
• Fingerprint Sensor
• System Firmware
• ThinkPad Universal USB-C Dock
• UEFI dbx
No updates available
DEBUG Step "Restarts"
DEBUG Step "Flatpak"
DEBUG Detected "/usr/bin/flatpak" as "flatpak"

── 14:26:26 - Flatpak User Packages ────────────────────────────────────────────
DEBUG Executing command /usr/bin/flatpak update --user
Looking for updates…

Nothing to do.

── 14:26:26 - Paquets système Flatpak ─────────────────────────────────────────
DEBUG Executing command /usr/bin/flatpak update --system
Looking for updates…

Info: (pinned) runtime org.kde.Platform branch 6.6 is end-of-life, with reason:
We strongly recommend moving to the latest stable version of the Platform and SDK

Info: (pinned) runtime org.gnome.Platform branch 45 is end-of-life, with reason:
The GNOME 45 runtime is no longer supported as of September 18, 2024. Please ask your application developer to migrate to a supported platform.

Nothing to do.
DEBUG Step "Brew"
DEBUG Detected "/home/linuxbrew/.linuxbrew/bin/brew" as "brew"
DEBUG linuxbrew_directory owner_id: 1000, current_id: 1000

── 14:26:28 - Brew ─────────────────────────────────────────────────────────────
DEBUG Executing command brew update
==> Updating Homebrew...
Already up-to-date.
DEBUG Executing command brew upgrade --formula
==> Upgrading 1 outdated package:
gh 2.65.0 -> 2.66.0
==> Downloading https://ghcr.io/v2/homebrew/core/gh/manifests/2.66.0
######################################################################### 100.0%
==> Fetching gh
==> Downloading https://ghcr.io/v2/homebrew/core/gh/blobs/sha256:345192fbd963a08
######################################################################### 100.0%
==> Upgrading gh
2.65.0 -> 2.66.0
==> Pouring gh--2.66.0.x86_64_linux.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/home/linuxbrew/.linuxbrew/etc/bash_completion.d
==> Summary
🍺 /home/linuxbrew/.linuxbrew/Cellar/gh/2.66.0: 211 files, 42MB
==> Running brew cleanup gh...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).
Removing: /home/linuxbrew/.linuxbrew/Cellar/gh/2.65.0... (209 files, 41.0MB)
Removing: /var/home/olivierlachance/.cache/Homebrew/gh_bottle_manifest--2.65.0... (7.2KB)
Removing: /var/home/olivierlachance/.cache/Homebrew/gh--2.65.0... (12.4MB)
DEBUG Step "LURE"
DEBUG Step "Waydroid"
DEBUG Detected "/usr/bin/waydroid" as "waydroid"
DEBUG Executing command /usr/bin/waydroid status
The application panicked (crashed).
Message: the output of waydroid status should contain Session:
Location: src/steps/os/linux.rs:1085

@luckyone89 luckyone89 added the C-bug Something isn't working label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant