topgrade-rs / topgrade

Upgrade all the things
GNU General Public License v3.0
1.87k stars 122 forks source link

Vim update failed #549

Open theoesb opened 11 months ago

theoesb commented 11 months ago

Erroneous Behavior

When topgrade update vim, i have this issue :

── 08:21:51 - Vim ──────────────────────────────────────────────────────────────
vim failed: 
   0: Command failed: `/usr/bin/vim -u /home/teisenbart/.vimrc -U NONE -V1 -nNesS /tmp/.tmpe7ITe6`

      Stderr:
      not found in 'runtimepath': "ftdetect/*.vim"
      not found in 'packpath': "pack/*/start/matchit"
      Reading viminfo file "/home/teisenbart/.viminfo" info oldfiles 
      Error detected while processing BufWinEnter Autocommands for "*":
      E495: No autocommand file name to substitute for "<afile>"
      not found in 'runtimepath': "autoload/vimtex.vim"
      Error detected while processing BufEnter Autocommands for "*"..function <SNR>9_detect_indent:
      line   10:
      E495: No autocommand file name to substitute for "<afile>"
      Plug
      Downloading the latest version of vim-plugvim-plug is already up-to-date
      E495: No autocommand file name to substitute for "<afile>"
      Error detected while processing command line..script /tmp/.tmpe7ITe6[28]..function <SNR>6_update[1]..<SNR>6_update_impl[53]..<SNR>6_prepare[18]..<SNR>6_new_window[1]..BufWinEnter Autocommands for "*":
      E495: No autocommand file name to substitute for "<afile>"
      not found in 'runtimepath': "ftplugin/vim-plug.vim ftplugin/vim-plug_*.vim ftplugin/vim-plug/*.vim"
      not found in 'runtimepath': "indent/vim-plug.vim"Writing viminfo file "/home/teisenbart/.viminfo"
   1: `/usr/bin/vim` failed: exit status: 1

Location:
   /home/teisenbart/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-12.0.2/src/executor.rs:168

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Retry? (y)es/(N)o/(s)hell/(q)uit

Expected Behavior

vim be updated

Steps to reproduce

Possible Cause (Optional)

Problem persists without calling from topgrade

Did you run topgrade through Remote Execution

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

Configuration file (Optional)

# Include any additional configuration file(s)
# [include] sections are processed in the order you write them
# Files in $CONFIG_DIR/topgrade.d/ are automatically included before this file
[include]
#paths = ["/etc/topgrade.toml"]

[misc]
# Don't ask for confirmations
#assume_yes = true

# Disable specific steps - same options as the command line flag
#disable = ["system", "emacs"]

# Ignore failures for these steps
ignore_failures = ["powershell"]

# Run specific steps - same options as the command line flag
#only = ["system", "emacs"]

# Do not ask to retry failed steps (default: false)
#no_retry = true

# Sudo command to be used
#sudo_command = "sudo"

# Run `sudo -v` to cache credentials at the start of the run
# This avoids a blocking password prompt in the middle of an unattended run
#pre_sudo = false

# Run inside tmux
#run_in_tmux = true

# List of remote machines with Topgrade installed on them
#remote_topgrades = ["toothless", "pi", "parnas"]

# Arguments to pass to SSH when upgrading remote systems
#ssh_arguments = "-o ConnectTimeout=2"

# Path to Topgrade executable on remote machines
#remote_topgrade_path = ".cargo/bin/topgrade"

# Arguments to pass tmux when pulling Repositories
#tmux_arguments = "-S /var/tmux.sock"

# Do not set the terminal title
#set_title = false

# Display the time in step titles
# display_time = true

# Cleanup temporary or old files
#cleanup = true

# Skip sending a notification at the end of a run
#skip_notify = true

# Whether to self update (this is ignored if the binary has been built without self update support, available also via setting the environment variable TOPGRADE_NO_SELF_UPGRADE)
#no_self_update = true

# Extra Home Manager arguments
#home_manager_arguments = ["--flake", "file"]

# Commands to run before anything
[pre_commands]
#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"

# Commands to run after anything
[post_commands]
#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"

# Custom commands
[commands]
#"Python Environment" = "~/dev/.env/bin/pip install -i https://pypi.python.org/simple -U --upgrade-strategy eager jupyter"
#"Custom command using interactive shell (unix)" = "-i vim_upgrade"

[python]
#enable_pip_review = true                         ###disabled by default
#enable_pip_review_local = true                   ###disabled by default
#enable_pipupgrade = true                         ###disabled by default
#pipupgrade_arguments = "-y -u --pip-path pip"    ###disabled by default

[composer]
#self_update = true

[brew]
#greedy_cask = true
#autoremove = true

[linux]
# Arch Package Manager to use. Allowed values: autodetect, aura, garuda_update, pacman, pamac, paru, pikaur, trizen, yay.
#arch_package_manager = "pacman"
# Arguments to pass yay (or paru) when updating packages
#yay_arguments = "--nodevel"
# Arguments to pass dnf when updating packages
#dnf_arguments = "--refresh"
#aura_aur_arguments = "-kx"
#aura_pacman_arguments = ""
#garuda_update_arguments = ""
#show_arch_news = true
#trizen_arguments = "--devel"
#pikaur_arguments = ""
#pamac_arguments = "--no-devel"
#enable_tlmgr = true
#emerge_sync_flags = "-q"
#emerge_update_flags = "-uDNa --with-bdeps=y world"
#redhat_distro_sync = false
#suse_dup = false
#rpm_ostree = false
#nix_arguments = "--flake"

[git]
#max_concurrency = 5
# Additional git repositories to pull
#repos = [
#    "~/src/*/",
#    "~/.config/something"
#]

# Don't pull the predefined git repos
#pull_predefined = false

# Arguments to pass Git when pulling Repositories
#arguments = "--rebase --autostash"

[windows]
# Manually select Windows updates
#accept_all_updates = false
#open_remotes_in_new_terminal = true
#wsl_update_pre_release = true
#wsl_update_use_web_download = true

# Causes Topgrade to rename itself during the run to allow package managers
# to upgrade it. Use this only if you installed Topgrade by using a package
# manager such as Scoop or Cargo
#self_rename = true

[npm]
# Use sudo if the NPM directory isn't owned by the current user
#use_sudo = true

[yarn]
# Run `yarn global upgrade` with `sudo`
#use_sudo = true

[vim]
#For `vim-plug`, execute `PlugUpdate!` instead of `PlugUpdate`
force_plug_update = true

[firmware]
# Offer to update firmware; if false just check for and display available updates
#upgrade = true

[vagrant]
# Vagrant directories
#directories = []

# power on vagrant boxes if needed
#power_on = true

# Always suspend vagrant boxes instead of powering off
#always_suspend = true

[flatpak]
# Use sudo for updating the system-wide installation
#use_sudo = true

[distrobox]
#use_root = false
#containers = ["archlinux-latest"]

Additional Details

DEBUG Configuration at /home/teisenbart/.config/topgrade.toml
DEBUG No include paths found in /home/teisenbart/.config/topgrade.toml
DEBUG Loaded configuration: ConfigFile { include: Some(Include { paths: None }), misc: Some(Misc { pre_sudo: None, sudo_command: None, git_repos: None, predefined_git_repos: None, disable: None, ignore_failures: Some([Powershell]), remote_topgrades: None, remote_topgrade_path: None, ssh_arguments: None, git_arguments: None, tmux_arguments: None, set_title: None, display_time: None, assume_yes: None, yay_arguments: None, aura_aur_arguments: None, aura_pacman_arguments: None, no_retry: None, run_in_tmux: None, cleanup: None, notify_each_step: None, accept_all_windows_updates: None, skip_notify: None, bashit_branch: None, only: None, no_self_update: 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 }), composer: Some(Composer { self_update: None }), brew: Some(Brew { greedy_cask: None, autoremove: 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, apt_arguments: None, enable_tlmgr: None, redhat_distro_sync: None, suse_dup: None, rpm_ostree: 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 }), windows: Some(Windows { accept_all_updates: None, self_rename: None, open_remotes_in_new_terminal: None, enable_winget: None, wsl_update_pre_release: None, wsl_update_use_web_download: None }), npm: Some(NPM { use_sudo: None }), yarn: Some(Yarn { use_sudo: None }), vim: Some(Vim { force_plug_update: Some(true) }), 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 }) }
DEBUG Version: 12.0.2
DEBUG OS: x86_64-unknown-linux-gnu
DEBUG Args { inner: ["topgrade", "-v"] }
DEBUG Binary path: Ok("/home/teisenbart/.cargo/bin/topgrade")
DEBUG Self Update: false
DEBUG Detected "/usr/bin/git" as "git"
DEBUG Cannot find "pwsh"
DEBUG Cannot find "powershell"
DEBUG Path "/home/teisenbart/.config/emacs" doesn't exist
DEBUG Path "/home/teisenbart/.emacs.d" doesn't exist
DEBUG Cannot find "doas"
DEBUG Cannot find "please"
DEBUG Detected "/usr/bin/sudo" as "sudo"
DEBUG Step "packer.nu"
DEBUG Step "System update"

── 08:43:02 - System update ────────────────────────────────────────────────────
DEBUG Cannot find "apt-fast"
DEBUG Cannot find "mist"
DEBUG Executing command `/usr/bin/sudo apt-get update`
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://deb.packages.mattermost.com stable InRelease
Reading package lists... Done
DEBUG Executing command `/usr/bin/sudo apt-get dist-upgrade`
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
DEBUG Step "config-update"
DEBUG Step "Brew"
DEBUG Step "am"
DEBUG Step "appman"
DEBUG Step "deb-get"
DEBUG Step "toolbx"
DEBUG Step "Flatpak"
DEBUG Step "snap"
DEBUG Step "pacstall"
DEBUG Step "pacdef"
DEBUG Step "protonup"
DEBUG Step "distrobox"
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.1.0-12-amd64

── 08:43:04 - Firmware upgrades ────────────────────────────────────────────────
DEBUG Executing command `/usr/bin/fwupdmgr refresh`
Firmware metadata last refresh: 19 hours ago. Use --force to refresh again.
DEBUG Executing command `/usr/bin/fwupdmgr get-updates`
Devices with no available firmware updates: 
 • ELAN07AC:00 04F3:31EC
 • HP 5MP Camera
 • MZVLQ512HBLU-00BH1
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI dbx
Devices with the latest available firmware version:
 • Fingerprint Sensor
 • System Firmware
 • USB-C Dock G5
No updates available
DEBUG Step "Restarts"
DEBUG Step "yadm"
DEBUG Step "nix"
DEBUG Step "guix"
DEBUG Step "home-manager"
DEBUG Step "asdf"
DEBUG Step "pkgin"
DEBUG Step "bun"
DEBUG Step "zr"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Step "antibody"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Step "antidote"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Step "antigen"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Path "/home/teisenbart/.zshrc" exists
DEBUG Step "zgenom"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Path "/home/teisenbart/.zshrc" exists
DEBUG Step "zplug"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Path "/home/teisenbart/.zshrc" exists
DEBUG Step "zinit"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Path "/home/teisenbart/.zshrc" exists
DEBUG Step "zi"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Path "/home/teisenbart/.zshrc" exists
DEBUG Step "zim"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Executing command `zsh -c '[[ -n ${ZIM_HOME} ]] && print -n ${ZIM_HOME}'`
DEBUG Command failed: Err(
   0: Command failed: `zsh -c '[[ -n ${ZIM_HOME} ]] && print -n ${ZIM_HOME}'`
   1: `zsh` failed: exit status: 1

Location:
   /home/teisenbart/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-12.0.2/src/steps/zsh.rs:151

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
DEBUG Step "oh-my-zsh"
DEBUG Detected "/usr/bin/zsh" as "zsh"
DEBUG Path "/home/teisenbart/.oh-my-zsh" exists

── 08:43:04 - oh-my-zsh ────────────────────────────────────────────────────────
DEBUG Executing command `zsh -c 'test $ZSH_CUSTOM && echo -n $ZSH_CUSTOM'`
DEBUG Command failed: Err(
   0: Command failed: `zsh -c 'test $ZSH_CUSTOM && echo -n $ZSH_CUSTOM'`
   1: `zsh` failed: exit status: 1

Location:
   /home/teisenbart/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-12.0.2/src/steps/zsh.rs:203

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
DEBUG Running zsh returned Command failed: `zsh -c 'test $ZSH_CUSTOM && echo -n $ZSH_CUSTOM'`. Using default path: /home/teisenbart/.oh-my-zsh/custom
DEBUG oh-my-zsh custom dir: /home/teisenbart/.oh-my-zsh/custom
DEBUG Checking if /home/teisenbart/.oh-my-zsh/custom is a git repository
DEBUG Executing command `/usr/bin/git rev-parse --show-toplevel`
DEBUG Checking if /home/teisenbart/.oh-my-zsh/custom/plugins is a git repository
DEBUG Executing command `/usr/bin/git rev-parse --show-toplevel`
DEBUG Checking if /home/teisenbart/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting is a git repository
DEBUG Executing command `/usr/bin/git rev-parse --show-toplevel`
DEBUG Checking if /home/teisenbart/.oh-my-zsh/custom/plugins/example is a git repository
DEBUG Executing command `/usr/bin/git rev-parse --show-toplevel`
DEBUG Checking if /home/teisenbart/.oh-my-zsh/custom/themes is a git repository
DEBUG Executing command `/usr/bin/git rev-parse --show-toplevel`
DEBUG /home/teisenbart/.oh-my-zsh/custom/themes/example.zsh-theme is a file. Checking /home/teisenbart/.oh-my-zsh/custom/themes
DEBUG Checking if /home/teisenbart/.oh-my-zsh/custom/themes is a git repository
DEBUG Executing command `/usr/bin/git rev-parse --show-toplevel`
DEBUG /home/teisenbart/.oh-my-zsh/custom/example.zsh is a file. Checking /home/teisenbart/.oh-my-zsh/custom
DEBUG Checking if /home/teisenbart/.oh-my-zsh/custom is a git repository
DEBUG Executing command `/usr/bin/git rev-parse --show-toplevel`
Pulling custom plugins and themes
DEBUG Executing command `/usr/bin/git remote show`
DEBUG Executing command `/usr/bin/git rev-parse HEAD`
Pulling /home/teisenbart/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
DEBUG Executing command `/usr/bin/git rev-parse HEAD`
Up-to-date /home/teisenbart/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
DEBUG Executing command `zsh /home/teisenbart/.oh-my-zsh/tools/upgrade.sh`
Updating Oh My Zsh
         __                                     __   
  ____  / /_     ____ ___  __  __   ____  _____/ /_  
 / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ 
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / 
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  
                        /____/                       

Oh My Zsh is already at the latest version.

To keep up with the latest news and updates, follow us on Twitter: @ohmyzsh
Want to get involved in the community? Join our Discord: Discord server
Get your Oh My Zsh swag at: Planet Argon Shop
DEBUG Step "oh-my-bash"
DEBUG Detected "/usr/bin/bash" as "bash"
DEBUG Step "fisher"
DEBUG Step "bash-it"
DEBUG Step "oh-my-fish"
DEBUG Step "fish-plug"
DEBUG Step "fundle"
DEBUG Step "tmux"
DEBUG Step "TLDR"
DEBUG Step "pearl"
DEBUG Step "Gnome Shell Extensions"
DEBUG Detected "/usr/bin/gdbus" as "gdbus"
DEBUG Executing command `gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.ListActivatableNames`
DEBUG Checking for gnome extensions: (['org.freedesktop.DBus', 'org.gnome.Characters', 'org.freedesktop.portal.Desktop', 'org.gnome.Rygel1', 'org.freedesktop.systemd1', 'org.gnome.evolution.dataserver.AddressBook10', 'org.gnome.Logs', 'org.freedesktop.Tracker3.Miner.Extract', 'org.freedesktop.ColorHelper', 'org.gtk.vfs.Daemon', 'org.fedoraproject.Config.Printing', 'org.gnome.Shell.Extensions', 'org.gnome.NautilusPreviewer', 'org.freedesktop.impl.portal.Secret', 'org.freedesktop.Tracker3.Miner.Files.Control', 'org.gnome.Reversi', 'org.gnome.Taquin', 'org.freedesktop.impl.portal.desktop.gtk', 'org.gnome.TextEditor', 'org.gnome.evolution.dataserver.Sources5', 'org.gnome.GConf', 'org.gnome.Terminal', 'org.gtk.vfs.UDisks2VolumeMonitor', 'org.a11y.Bus', 'org.gnome.Identity', 'org.gnome.Calendar', 'org.gnome.Shell.CalendarServer', 'org.gnome.keyring', 'org.gnome.font-viewer', 'org.freedesktop.PackageKit', 'org.gnome.Nautilus.Tracker3.Miner.Files', 'org.freedesktop.Tracker3.Writeback', 'org.gnome.Weather', 'org.gnome.clocks', 'org.gnome.BrowserConnector', 'org.gnome.evolution.dataserver.UserPrompter0', 'org.freedesktop.portal.Tracker', 'org.bluez.obex', 'org.gnome.FileRoller', 'org.gtk.vfs.GPhoto2VolumeMonitor', 'org.freedesktop.portal.Documents', 'ca.desrt.dconf', 'org.gnome.Robots', 'org.gnome.Shell.Screencast', 'org.gnome.Nautilus.Tracker3.Miner.Extract', 'org.gnome.evince.Daemon', 'org.gnome.evolution.dataserver.Calendar8', 'org.gtk.vfs.AfcVolumeMonitor', 'org.gnome.Nibbles', 'org.freedesktop.FileManager1', 'org.gnome.Chess', 'org.gnome.seahorse.Application', 'org.gnome.Totem', 'org.gnome.Nautilus', 'org.gnome.baobab', 'org.gnome.Contacts', 'org.gtk.GLib.PACRunner', 'org.gtk.vfs.GoaVolumeMonitor', 'org.gnome.Extensions', 'org.gnome.Settings.SearchProvider', 'org.gnome.Calculator.SearchProvider', 'org.gnome.ArchiveManager1', 'org.gnome.Sudoku', 'org.gnome.Cheese', 'org.gnome.Maps', 'org.freedesktop.impl.portal.desktop.wlr', 'org.gnome.Tetravex', 'org.gnome.Shell.PortalHelper', 'org.gnome.ScreenSaver', 'org.freedesktop.portal.IBus', 'org.gnome.OnlineAccounts', 'org.gnome.Shell.Notifications', 'org.freedesktop.impl.portal.desktop.gnome', 'org.gnome.Klotski', 'org.gnome.SwellFoop', 'org.gtk.vfs.Metadata', 'org.gnome.Weather.BackgroundService', 'org.gnome.Four-in-a-row', 'org.gnome.Rhythmbox3', 'org.gnome.Shell.HotplugSniffer', 'org.freedesktop.impl.portal.PermissionStore', 'org.gnome.DiskUtility', 'org.gnome.keyring.SystemPrompter', 'org.gnome.LightsOff', 'org.gnome.Settings', 'org.freedesktop.secrets', 'org.gnome.Contacts.SearchProvider', 'org.gtk.vfs.MTPVolumeMonitor', 'org.freedesktop.Tracker3.Miner.Files', 'org.gnome.keyring.PrivatePrompter', 'org.freedesktop.IBus', 'org.gnome.Software'],)

── 08:43:05 - Gnome Shell extensions ───────────────────────────────────────────
DEBUG Executing command `/usr/bin/gdbus call --session --dest org.gnome.Shell.Extensions --object-path /org/gnome/Shell/Extensions --method org.gnome.Shell.Extensions.CheckForUpdates`
()
DEBUG Step "SDKMAN!"
DEBUG Detected "/usr/bin/bash" as "bash"
DEBUG Step "rcm"
DEBUG Step "maza"
DEBUG Step "apm"
DEBUG Step "fossil"
DEBUG Step "rustup"
DEBUG Detected "/home/teisenbart/.cargo/bin/rustup" as "rustup"

── 08:43:05 - rustup ───────────────────────────────────────────────────────────
DEBUG Executing command `/home/teisenbart/.cargo/bin/rustup update`
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: checking for self-update

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.72.0 (5680fa18f 2023-08-23)

info: cleaning up downloads & tmp directories
DEBUG Step "juliaup"
DEBUG Step ".NET"
DEBUG Step "choosenim"
DEBUG Step "cargo"
DEBUG Path "/home/teisenbart/.cargo" exists
DEBUG Detected "/home/teisenbart/.cargo/bin/cargo" as "cargo"
DEBUG Path "/home/teisenbart/.cargo/.crates.toml" exists

── 08:43:05 - Cargo ────────────────────────────────────────────────────────────
DEBUG Detected "/home/teisenbart/.cargo/bin/cargo-install-update" as "cargo-install-update"
DEBUG Executing command `/home/teisenbart/.cargo/bin/cargo-install-update install-update --git --all`
    Polling registry 'https://index.crates.io/'..

Package       Installed  Latest   Needs update
cargo-update  v13.0.4    v13.0.4  No
topgrade      v12.0.2    v12.0.2  No

No packages need updating.
Package  Installed  Latest  Needs update

No git packages need updating.
Overall updated 0 packages.
DEBUG Step "Flutter"
DEBUG Step "go-global-update"
DEBUG Step "gup"
DEBUG Step "Emacs"
DEBUG Step "opam"
DEBUG Step "vcpkg"
DEBUG Step "pipx"
DEBUG Step "conda"
DEBUG Step "mamba"
DEBUG Step "pip3"
DEBUG Detected "/usr/bin/python3" as "python3"
DEBUG Executing command `/usr/bin/python3 -V`
DEBUG Executing command `/usr/bin/python3 -m pip`
DEBUG Command failed: Err(
   0: Command failed: `/usr/bin/python3 -m pip`

      Stderr:
      /usr/bin/python3: No module named pip
   1: `/usr/bin/python3` failed: exit status: 1

Location:
   /home/teisenbart/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-12.0.2/src/steps/generic.rs:385

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
DEBUG Step "pip-review"
DEBUG Step "pip-review (local)"
DEBUG Step "pipupgrade"
DEBUG Step "ghcup"
DEBUG Step "stack"
DEBUG Step "tlmgr"
DEBUG Step "myrepos"
DEBUG Step "chezmoi"
DEBUG Step "jetpack"
DEBUG Step "vim"
DEBUG Detected "/usr/bin/vim" as "vim"
DEBUG Executing command `/usr/bin/vim --version`
DEBUG Path "/home/teisenbart/.vimrc" exists

── 08:43:05 - Vim ──────────────────────────────────────────────────────────────
DEBUG Wrote vim script to "/tmp/.tmp0PULzb"
DEBUG Executing command `/usr/bin/vim -u /home/teisenbart/.vimrc -U NONE -V1 -nNesS /tmp/.tmp0PULzb`
DEBUG Command failed: Err(
   0: Command failed: `/usr/bin/vim -u /home/teisenbart/.vimrc -U NONE -V1 -nNesS /tmp/.tmp0PULzb`

      Stderr:
      not found in 'runtimepath': "ftdetect/*.vim"
      not found in 'packpath': "pack/*/start/matchit"
      Reading viminfo file "/home/teisenbart/.viminfo" info oldfiles 
      Error detected while processing BufWinEnter Autocommands for "*":
      E495: No autocommand file name to substitute for ""
      not found in 'runtimepath': "autoload/vimtex.vim"
      Error detected while processing BufEnter Autocommands for "*"..function 9_detect_indent:
      line   10:
      E495: No autocommand file name to substitute for ""
      Plug
      Downloading the latest version of vim-plugvim-plug is already up-to-date
      E495: No autocommand file name to substitute for ""
      Error detected while processing command line..script /tmp/.tmp0PULzb[28]..function 6_update[1]..6_update_impl[53]..6_prepare[18]..6_new_window[1]..BufWinEnter Autocommands for "*":
      E495: No autocommand file name to substitute for ""
      not found in 'runtimepath': "ftplugin/vim-plug.vim ftplugin/vim-plug_*.vim ftplugin/vim-plug/*.vim"
      not found in 'runtimepath': "indent/vim-plug.vim"Writing viminfo file "/home/teisenbart/.viminfo"
   1: `/usr/bin/vim` failed: exit status: 1

Location:
   /home/teisenbart/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-12.0.2/src/executor.rs:168

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
DEBUG Step "vim" failed: 
   0: Command failed: `/usr/bin/vim -u /home/teisenbart/.vimrc -U NONE -V1 -nNesS /tmp/.tmp0PULzb`

      Stderr:
      not found in 'runtimepath': "ftdetect/*.vim"
      not found in 'packpath': "pack/*/start/matchit"
      Reading viminfo file "/home/teisenbart/.viminfo" info oldfiles 
      Error detected while processing BufWinEnter Autocommands for "*":
      E495: No autocommand file name to substitute for ""
      not found in 'runtimepath': "autoload/vimtex.vim"
      Error detected while processing BufEnter Autocommands for "*"..function 9_detect_indent:
      line   10:
      E495: No autocommand file name to substitute for ""
      Plug
      Downloading the latest version of vim-plugvim-plug is already up-to-date
      E495: No autocommand file name to substitute for ""
      Error detected while processing command line..script /tmp/.tmp0PULzb[28]..function 6_update[1]..6_update_impl[53]..6_prepare[18]..6_new_window[1]..BufWinEnter Autocommands for "*":
      E495: No autocommand file name to substitute for ""
      not found in 'runtimepath': "ftplugin/vim-plug.vim ftplugin/vim-plug_*.vim ftplugin/vim-plug/*.vim"
      not found in 'runtimepath': "indent/vim-plug.vim"Writing viminfo file "/home/teisenbart/.viminfo"
   1: `/usr/bin/vim` failed: exit status: 1

Location:
   /home/teisenbart/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-12.0.2/src/executor.rs:168

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
vim failed: 
   0: Command failed: `/usr/bin/vim -u /home/teisenbart/.vimrc -U NONE -V1 -nNesS /tmp/.tmp0PULzb`

      Stderr:
      not found in 'runtimepath': "ftdetect/*.vim"
      not found in 'packpath': "pack/*/start/matchit"
      Reading viminfo file "/home/teisenbart/.viminfo" info oldfiles 
      Error detected while processing BufWinEnter Autocommands for "*":
      E495: No autocommand file name to substitute for ""
      not found in 'runtimepath': "autoload/vimtex.vim"
      Error detected while processing BufEnter Autocommands for "*"..function 9_detect_indent:
      line   10:
      E495: No autocommand file name to substitute for ""
      Plug
      Downloading the latest version of vim-plugvim-plug is already up-to-date
      E495: No autocommand file name to substitute for ""
      Error detected while processing command line..script /tmp/.tmp0PULzb[28]..function 6_update[1]..6_update_impl[53]..6_prepare[18]..6_new_window[1]..BufWinEnter Autocommands for "*":
      E495: No autocommand file name to substitute for ""
      not found in 'runtimepath': "ftplugin/vim-plug.vim ftplugin/vim-plug_*.vim ftplugin/vim-plug/*.vim"
      not found in 'runtimepath': "indent/vim-plug.vim"Writing viminfo file "/home/teisenbart/.viminfo"
   1: `/usr/bin/vim` failed: exit status: 1

Location:
   /home/teisenbart/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-12.0.2/src/executor.rs:168

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Retry? (y)es/(N)o/(s)hell/(q)uit
DEBUG Step "Neovim"
DEBUG Step "The Ultimate vimrc"
DEBUG Step "voom"
DEBUG Step "Kakoune"
DEBUG Step "helix"
DEBUG Step "npm"
DEBUG Step "yarn"
DEBUG Step "pnpm"
DEBUG Step "Containers"
DEBUG Step "deno"
DEBUG Step "composer"
DEBUG Step "krew"
DEBUG Step "helm"
DEBUG Step "gem"
DEBUG Detected "/usr/bin/gem" as "gem"
DEBUG Step "rubygems"
DEBUG Step "julia"
DEBUG Step "haxelib"
DEBUG Step "sheldon"
DEBUG Step "stew"
DEBUG Step "rtcl"
DEBUG Step "bin"
DEBUG Step "gcloud"
DEBUG Step "micro"
DEBUG Step "raco"
DEBUG Step "spicetify"
DEBUG Step "GitHub CLI Extensions"
DEBUG Step "Bob"
DEBUG /home/teisenbart/.doom.d does not exists
DEBUG Checking if /home/teisenbart/.vim is a git repository
DEBUG Executing command `/usr/bin/git rev-parse --show-toplevel`
DEBUG Command failed: Err(
   0: Command failed: `/usr/bin/git rev-parse --show-toplevel`

      Stderr:
      fatal: not a git repository (or any of the parent directories): .git
   1: `/usr/bin/git` failed: exit status: 128

Location:
   /home/teisenbart/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-12.0.2/src/steps/git.rs:166

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
DEBUG /home/teisenbart/.config/nvim does not exists
DEBUG /home/teisenbart/.ideavimrc does not exists
DEBUG /home/teisenbart/.intellimacs does not exists
DEBUG /home/teisenbart/.dotfiles does not exists
DEBUG /home/teisenbart/.zshrc is a file. Checking /home/teisenbart
DEBUG Checking if /home/teisenbart is a git repository
DEBUG Executing command `/usr/bin/git rev-parse --show-toplevel`
DEBUG Command failed: Err(
   0: Command failed: `/usr/bin/git rev-parse --show-toplevel`

      Stderr:
      fatal: not a git repository (or any of the parent directories): .git
   1: `/usr/bin/git` failed: exit status: 128

Location:
   /home/teisenbart/.cargo/registry/src/index.crates.io-6f17d22bba15001f/topgrade-12.0.2/src/steps/git.rs:166

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
DEBUG /home/teisenbart/.tmux does not exists
DEBUG /home/teisenbart/.config/fish does not exists
DEBUG /home/teisenbart/.config/openbox does not exists
DEBUG /home/teisenbart/.config/bspwm does not exists
DEBUG /home/teisenbart/.config/i3 does not exists
DEBUG /home/teisenbart/.config/sway does not exists
DEBUG Step "Git repositories"
DEBUG Step "Vagrant boxes"

── 08:43:13 - Summary ──────────────────────────────────────────────────────────
packer.nu: SKIPPED: Cannot find "nu" in PATH
System update: OK
config-update: OK
Brew: SKIPPED: Cannot find "brew" in PATH
am: SKIPPED: Cannot find "am" in PATH
appman: SKIPPED: Cannot find "appman" in PATH
deb-get: SKIPPED: Cannot find "deb-get" in PATH
toolbx: SKIPPED: Cannot find "toolbox" in PATH
Flatpak: SKIPPED: Cannot find "flatpak" in PATH
snap: SKIPPED: Cannot find "snap" in PATH
pacstall: SKIPPED: Cannot find "pacstall" in PATH
pacdef: SKIPPED: Cannot find "pacdef" in PATH
protonup: SKIPPED: Cannot find "protonup" in PATH
distrobox: SKIPPED: Cannot find "distrobox" in PATH
dkp-pacman: SKIPPED: Cannot find "dkp-pacman" in PATH
pihole: SKIPPED: Cannot find "pihole" in PATH
Firmware upgrades: OK
Restarts: SKIPPED: Cannot find "needrestart" in PATH
yadm: SKIPPED: Cannot find "yadm" in PATH
nix: SKIPPED: Cannot find "nix" in PATH
guix: SKIPPED: Cannot find "guix" in PATH
home-manager: SKIPPED: Cannot find "home-manager" in PATH
asdf: SKIPPED: Cannot find "asdf" in PATH
pkgin: SKIPPED: Cannot find "pkgin" in PATH
bun: SKIPPED: Cannot find "bun" in PATH
zr: SKIPPED: Cannot find "zr" in PATH
antibody: SKIPPED: Cannot find "antibody" in PATH
antidote: SKIPPED: Path "/home/teisenbart/.antidote" doesn't exist
antigen: SKIPPED: Path "/home/teisenbart/antigen.zsh" doesn't exist
zgenom: SKIPPED: Path "/home/teisenbart/.zgenom" doesn't exist
zplug: SKIPPED: Path "/home/teisenbart/.zplug" doesn't exist
zinit: SKIPPED: Path "/home/teisenbart/.zinit" doesn't exist
zi: SKIPPED: Path "/home/teisenbart/.zi" doesn't exist
zim: SKIPPED: Path "/home/teisenbart/.zim" doesn't exist
oh-my-zsh: OK
oh-my-bash: SKIPPED: Path "/home/teisenbart/.oh-my-bash" doesn't exist
fisher: SKIPPED: Cannot find "fish" in PATH
bash-it: SKIPPED: Path "/home/teisenbart/.bash_it" doesn't exist
oh-my-fish: SKIPPED: Cannot find "fish" in PATH
fish-plug: SKIPPED: Cannot find "fish" in PATH
fundle: SKIPPED: Cannot find "fish" in PATH
tmux: SKIPPED: Path "/home/teisenbart/.tmux/plugins/tpm/bin/update_plugins" doesn't exist
TLDR: SKIPPED: Cannot find "tldr" in PATH
pearl: SKIPPED: Cannot find "pearl" in PATH
Gnome Shell Extensions: OK
SDKMAN!: SKIPPED: Path "/home/teisenbart/.sdkman/bin/sdkman-init.sh" doesn't exist
rcm: SKIPPED: Cannot find "rcup" in PATH
maza: SKIPPED: Cannot find "maza" in PATH
apm: SKIPPED: Cannot find "apm" in PATH
fossil: SKIPPED: Cannot find "fossil" in PATH
rustup: OK
juliaup: SKIPPED: Cannot find "juliaup" in PATH
.NET: SKIPPED: Cannot find "dotnet" in PATH
choosenim: SKIPPED: Cannot find "choosenim" in PATH
cargo: OK
Flutter: SKIPPED: Cannot find "flutter" in PATH
go-global-update: SKIPPED: Cannot find "go" in PATH
gup: SKIPPED: Cannot find "go" in PATH
Emacs: SKIPPED: Cannot find "emacs" in PATH
opam: SKIPPED: Cannot find "opam" in PATH
vcpkg: SKIPPED: Cannot find "vcpkg" in PATH
pipx: SKIPPED: Cannot find "pipx" in PATH
conda: SKIPPED: Cannot find "conda" in PATH
mamba: SKIPPED: Cannot find "mamba" in PATH
pip3: SKIPPED: pip does not exists
pip-review: SKIPPED: Cannot find "pip-review" in PATH
pip-review (local): SKIPPED: Cannot find "pip-review" in PATH
pipupgrade: SKIPPED: Cannot find "pipupgrade" in PATH
ghcup: SKIPPED: Cannot find "ghcup" in PATH
stack: SKIPPED: Cannot find "stack" in PATH
tlmgr: SKIPPED: tlmgr must be explicity enabled in the configuration to run in Android/Linux
myrepos: SKIPPED: Cannot find "mr" in PATH
chezmoi: SKIPPED: Cannot find "chezmoi" in PATH
jetpack: SKIPPED: Cannot find "jetpack" in PATH
vim: FAILED
Neovim: SKIPPED: Cannot find "nvim" in PATH
The Ultimate vimrc: SKIPPED: Path "/home/teisenbart/.vim_runtime" doesn't exist
voom: SKIPPED: Cannot find "voom" in PATH
Kakoune: SKIPPED: Cannot find "kak" in PATH
helix: SKIPPED: Cannot find "helix" in PATH
npm: SKIPPED: Cannot find "npm" in PATH
yarn: SKIPPED: Cannot find "yarn" in PATH
pnpm: SKIPPED: Cannot find "pnpm" in PATH
Containers: SKIPPED: Cannot find "docker" in PATH
deno: SKIPPED: Cannot find "deno" in PATH
composer: SKIPPED: Cannot find "composer" in PATH
krew: SKIPPED: Cannot find "kubectl-krew" in PATH
helm: SKIPPED: Cannot find "helm" in PATH
gem: SKIPPED: Path "/home/teisenbart/.gem" doesn't exist
rubygems: SKIPPED: Path "/home/teisenbart/.gem" doesn't exist
julia: SKIPPED: Cannot find "julia" in PATH
haxelib: SKIPPED: Cannot find "haxelib" in PATH
sheldon: SKIPPED: Cannot find "sheldon" in PATH
stew: SKIPPED: Cannot find "stew" in PATH
rtcl: SKIPPED: Cannot find "rupdate" in PATH
bin: SKIPPED: Cannot find "bin" in PATH
gcloud: SKIPPED: Cannot find "gcloud" in PATH
micro: SKIPPED: Cannot find "micro" in PATH
raco: SKIPPED: Cannot find "raco" in PATH
spicetify: SKIPPED: Cannot find "spicetify-cli" in PATH
GitHub CLI Extensions: SKIPPED: Cannot find "gh" in PATH
Bob: SKIPPED: Cannot find "bob" in PATH
Git repositories: SKIPPED: No repositories to pull
Vagrant boxes: SKIPPED: Cannot find "vagrant" in PATH
DEBUG Desktop notification: Topgrade finished with errors
 INFO perform: new
 INFO perform:write_command{command=Auth(Some(External), Some([49, 48, 48, 48]))}: new
 INFO perform:write_command{command=Auth(Some(External), Some([49, 48, 48, 48]))}: close
 INFO perform:read_command: new
 INFO perform:read_command: close
 INFO perform:write_command{command=NegotiateUnixFD}: new
 INFO perform:write_command{command=NegotiateUnixFD}: close
 INFO perform:read_command: new
 INFO perform:read_command: close
 INFO perform:write_command{command=Begin}: new
 INFO perform:write_command{command=Begin}: close
 INFO perform: close
 INFO socket reader: new
 INFO socket reader: close
SteveLauC commented 11 months ago

Thanks for this detailed report!

Personally, I am not a Vim and Vim-plug user, so I am not quite sure what is the root cause of the issue.

From this post, this issue possibly relates to the .vimrc file