r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.37k stars 162 forks source link

Occasionally get error `XML syntax error on line 6: element <hr> closed by </body>` #834

Closed dundargoc closed 2 years ago

dundargoc commented 2 years ago

What did you expect to happen?

No XML errors.

What actually happened?

I sometimes, but more often than not, get the error

 -> XML syntax error on line 6: element <hr> closed by </body>

at the start of the System update step. It doesn't seem to affect topgrade (that is, things are upgraded without issues) and in the Summary step the System update has an OK. I believe this bug is purely "cosmetic", but it's distracting nonetheless.

Additional details:

I have bisected and identified the offending commit: https://github.com/r-darwish/topgrade/commit/6bed2f66c5cd0ca71e696d60f1296dfe86a2bfff. I can on latest consistently recreate the error with the code that was added and notice that the error disappears when I comment it out, so I'm fairly sure the root of the problem is in that code section.

 2022-01-15T15:34:16.529Z DEBUG topgrade::config > Configuration at /home/dundar/.config/topgrade.toml
 2022-01-15T15:34:16.529Z DEBUG topgrade::config > Loaded configuration: ConfigFile { pre_commands: Some({}), post_commands: None, commands: Some({}), git_repos: None, predefined_git_repos: None, disable: None, ignore_failures: None, remote_topgrades: None, remote_topgrade_path: None, ssh_arguments: None, git_arguments: None, tmux_arguments: None, set_title: None, assume_yes: None, yay_arguments: None, no_retry: None, run_in_tmux: None, cleanup: None, notify_each_step: None, accept_all_windows_updates: None, bashit_branch: None, only: None, composer: Some(Composer { self_update: None }), brew: Some(Brew { greedy_cask: None }), linux: Some(Linux { yay_arguments: None, arch_package_manager: None, show_arch_news: None, trizen_arguments: None, dnf_arguments: None, apt_arguments: None, enable_tlmgr: None, redhat_distro_sync: None, rpm_ostree: None, emerge_sync_flags: None, emerge_update_flags: 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 }), npm: Some(NPM { use_sudo: None }), vim: None, firmware: Some(Firmware { upgrade: None }), vagrant: None, flatpak: Some(Flatpak { use_sudo: None }) }
 2022-01-15T15:34:16.529Z DEBUG topgrade::utils  > Detected "/usr/bin/notify-send" as "notify-send"
 2022-01-15T15:34:16.529Z DEBUG topgrade         > Version: 8.1.2
 2022-01-15T15:34:16.529Z DEBUG topgrade         > OS: x86_64-unknown-linux-gnu
 2022-01-15T15:34:16.529Z DEBUG topgrade         > Args { inner: ["topgrade", "-v"] }
 2022-01-15T15:34:16.529Z DEBUG topgrade         > Binary path: Ok("/usr/bin/topgrade")
 2022-01-15T15:34:16.529Z DEBUG topgrade         > Self Update: false
 2022-01-15T15:34:16.529Z DEBUG topgrade::utils  > Detected "/usr/bin/git" as "git"
 2022-01-15T15:34:16.529Z DEBUG topgrade::utils  > Cannot find "doas"
 2022-01-15T15:34:16.529Z DEBUG topgrade::utils  > Detected "/usr/bin/sudo" as "sudo"
 2022-01-15T15:34:16.529Z DEBUG topgrade::utils  > Cannot find "pwsh"
 2022-01-15T15:34:16.529Z DEBUG topgrade::utils  > Cannot find "powershell"
 2022-01-15T15:34:16.529Z DEBUG topgrade::runner > Step "System update"

―― 16:34:16 - System update ――――――――――――――――――――――――――――――――――――――――――――――――――――
 2022-01-15T15:34:16.529Z DEBUG topgrade::utils  > Cannot find "powerpill"
 2022-01-15T15:34:16.529Z DEBUG topgrade::utils  > Cannot find "paru"
 2022-01-15T15:34:16.529Z DEBUG topgrade::utils  > Detected "/usr/bin/yay" as "yay"
 -> XML syntax error on line 6: element \ closed by \
 2022-01-15T15:34:16.863Z DEBUG topgrade::executor > Running "/usr/bin/yay" "--pacman" "pacman" "-Syu" "--devel"
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
:: Checking development packages...
 -> tmux-plugin-manager: local (v3.0.0.r69.gb699a7e-1) is newer than AUR (v3.0.0.r60.g2afeff1-1)
 there is nothing to do
 2022-01-15T15:34:18.320Z DEBUG topgrade::runner   > Step "etc-update"
 2022-01-15T15:34:18.320Z DEBUG topgrade::runner   > Step "pacdiff"
 2022-01-15T15:34:18.320Z DEBUG topgrade::utils    > Detected "/usr/bin/pacdiff" as "pacdiff"
 2022-01-15T15:34:18.320Z DEBUG topgrade::runner   > Step "Brew"
 2022-01-15T15:34:18.320Z DEBUG topgrade::runner   > Step "yadm"
 2022-01-15T15:34:18.320Z DEBUG topgrade::runner   > Step "nix"
 2022-01-15T15:34:18.321Z DEBUG topgrade::runner   > Step "home-manager"
 2022-01-15T15:34:18.321Z DEBUG topgrade::runner   > Step "asdf"
 2022-01-15T15:34:18.321Z DEBUG topgrade::runner   > Step "pkgin"
 2022-01-15T15:34:18.321Z DEBUG topgrade::utils    > Path "/home/dundar/.config/emacs" doesn't exist
 2022-01-15T15:34:18.321Z DEBUG topgrade::utils    > Path "/home/dundar/.emacs.d" doesn't exist
 2022-01-15T15:34:18.321Z DEBUG topgrade::steps::git > /home/dundar/.doom.d does not exists
 2022-01-15T15:34:18.321Z DEBUG topgrade::steps::git > /home/dundar/.vim does not exists
 2022-01-15T15:34:18.321Z DEBUG topgrade::steps::git > Checking if /home/dundar/.dotfiles/nvim/.config/nvim is a git repository
 2022-01-15T15:34:18.322Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/dundar/.dotfiles\n", stderr: "" }
 2022-01-15T15:34:18.322Z DEBUG topgrade::steps::git > /home/dundar/.ideavimrc does not exists
 2022-01-15T15:34:18.322Z DEBUG topgrade::steps::git > /home/dundar/.intellimacs does not exists
 2022-01-15T15:34:18.322Z DEBUG topgrade::steps::git > /home/dundar/.dotfiles/shell/.zshrc is a file. Checking /home/dundar/.dotfiles/shell
 2022-01-15T15:34:18.322Z DEBUG topgrade::steps::git > Checking if /home/dundar/.dotfiles/shell is a git repository
 2022-01-15T15:34:18.323Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/dundar/.dotfiles\n", stderr: "" }
 2022-01-15T15:34:18.323Z DEBUG topgrade::steps::git > Checking if /home/dundar/.tmux is a git repository
 2022-01-15T15:34:18.323Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(32768)), stdout: "", stderr: "fatal: not a git repository (or any of the parent directories): .git\n" }
 2022-01-15T15:34:18.324Z DEBUG topgrade::steps::git > Checking if /home/dundar/.dotfiles/shell/.config/fish is a git repository
 2022-01-15T15:34:18.324Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/dundar/.dotfiles\n", stderr: "" }
 2022-01-15T15:34:18.324Z DEBUG topgrade::steps::git > /home/dundar/.config/openbox does not exists
 2022-01-15T15:34:18.324Z DEBUG topgrade::steps::git > Checking if /home/dundar/.dotfiles/config/.config/bspwm is a git repository
 2022-01-15T15:34:18.325Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/home/dundar/.dotfiles\n", stderr: "" }
 2022-01-15T15:34:18.325Z DEBUG topgrade::steps::git > /home/dundar/.config/i3 does not exists
 2022-01-15T15:34:18.325Z DEBUG topgrade::steps::git > /home/dundar/.config/sway does not exists
 2022-01-15T15:34:18.325Z DEBUG topgrade::runner     > Step "Git repositories"

―― 16:34:18 - Git repositories ―――――――――――――――――――――――――――――――――――――――――――――――――
 2022-01-15T15:34:18.325Z TRACE topgrade::executor   > Output of "/usr/bin/git" "remote" "show": Output { status: ExitStatus(unix_wait_status(0)), stdout: "origin\n", stderr: "" }
 2022-01-15T15:34:18.326Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "HEAD": Output { status: ExitStatus(unix_wait_status(0)), stdout: "54546a94a90df7d81d15beccb2f9d23f24bd1b83\n", stderr: "" }
Pulling /home/dundar/.dotfiles
 2022-01-15T15:34:19.723Z TRACE topgrade::executor   > Output of "/usr/bin/git" "rev-parse" "HEAD": Output { status: ExitStatus(unix_wait_status(0)), stdout: "54546a94a90df7d81d15beccb2f9d23f24bd1b83\n", stderr: "" }
Up-to-date /home/dundar/.dotfiles
 2022-01-15T15:34:19.724Z DEBUG topgrade::runner     > Step "zr"
 2022-01-15T15:34:19.724Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-15T15:34:19.724Z DEBUG topgrade::runner     > Step "antibody"
 2022-01-15T15:34:19.724Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-15T15:34:19.724Z DEBUG topgrade::runner     > Step "antigen"
 2022-01-15T15:34:19.724Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-15T15:34:19.724Z DEBUG topgrade::utils      > Path "/home/dundar/.zshrc" exists
 2022-01-15T15:34:19.724Z DEBUG topgrade::runner     > Step "zplug"
 2022-01-15T15:34:19.724Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-15T15:34:19.724Z DEBUG topgrade::utils      > Path "/home/dundar/.zshrc" exists
 2022-01-15T15:34:19.724Z DEBUG topgrade::runner     > Step "zinit"
 2022-01-15T15:34:19.724Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-15T15:34:19.724Z DEBUG topgrade::utils      > Path "/home/dundar/.zshrc" exists
 2022-01-15T15:34:19.724Z DEBUG topgrade::runner     > Step "zim"
 2022-01-15T15:34:19.724Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-15T15:34:19.757Z TRACE topgrade::executor   > Output of "zsh" "-c" "[[ -n ${ZIM_HOME} ]] && print -n ${ZIM_HOME}": Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "" }
 2022-01-15T15:34:19.757Z DEBUG topgrade::runner     > Step "oh-my-zsh"
 2022-01-15T15:34:19.757Z DEBUG topgrade::utils      > Detected "/usr/bin/zsh" as "zsh"
 2022-01-15T15:34:19.757Z DEBUG topgrade::runner     > Step "fisher"
 2022-01-15T15:34:19.757Z DEBUG topgrade::utils      > Detected "/usr/bin/fish" as "fish"
 2022-01-15T15:34:19.757Z DEBUG topgrade::runner     > Step "bash-it"
 2022-01-15T15:34:19.757Z DEBUG topgrade::runner     > Step "oh-my-fish"
 2022-01-15T15:34:19.757Z DEBUG topgrade::utils      > Detected "/usr/bin/fish" as "fish"
 2022-01-15T15:34:19.757Z DEBUG topgrade::runner     > Step "fish-plug"
 2022-01-15T15:34:19.757Z DEBUG topgrade::utils      > Detected "/usr/bin/fish" as "fish"
 2022-01-15T15:34:19.757Z DEBUG topgrade::runner     > Step "tmux"
 2022-01-15T15:34:19.757Z DEBUG topgrade::utils      > Path "/home/dundar/.tmux/plugins/tpm/bin/update_plugins" exists

―― 16:34:19 - tmux plugins ―――――――――――――――――――――――――――――――――――――――――――――――――――――
 2022-01-15T15:34:19.758Z DEBUG topgrade::executor   > Running "/home/dundar/.tmux/plugins/tpm/bin/update_plugins" "all"
Updating all plugins!

  "vim-tmux-navigator" update success
  "tmux-cz" update success
  "tmux-sensible" update success
  "tpm" update success
  "tmux-yank" update success
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "TLDR"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "pearl"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "Gnome Shell Extensions"
 2022-01-15T15:34:20.151Z DEBUG topgrade::utils      > Detected "/usr/bin/gdbus" as "gdbus"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "SDKMAN!"
 2022-01-15T15:34:20.151Z DEBUG topgrade::utils      > Detected "/usr/bin/bash" as "bash"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "apm"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "fossil"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "rustup"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step ".NET"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "choosenim"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "cargo"
 2022-01-15T15:34:20.151Z DEBUG topgrade::utils      > Path "/home/dundar/.cargo" exists
 2022-01-15T15:34:20.151Z DEBUG topgrade::utils      > Detected "/usr/bin/cargo" as "cargo"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "Flutter"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "Emacs"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "opam"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "vcpkg"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "pipx"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "pip3"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "stack"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "tlmgr"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "myrepos"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "chezmoi"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "jetpack"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "vim"
 2022-01-15T15:34:20.151Z DEBUG topgrade::runner     > Step "Neovim"
 2022-01-15T15:34:20.151Z DEBUG topgrade::utils      > Detected "/usr/bin/nvim" as "nvim"
 2022-01-15T15:34:20.151Z DEBUG topgrade::utils      > Path "/home/dundar/.config/nvim/init.vim" exists

―― 16:34:20 - Neovim ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
 2022-01-15T15:34:20.151Z DEBUG topgrade::steps::vim > Wrote vim script to "/tmp/.tmp2AjhV9"
not found in runtime path: "ftdetect/*.lua"
not found in 'packpath': "pack/*/start/matchit"
not found in 'packpath': "pack/*/opt/packer.nvim"
not found in 'packpath': "start/*"
not found in runtime path: "plugin/**/*.lua"
Reading ShaDa file "/home/dundar/.local/share/nvim/shada/main.shada" info marks oldfiles
Packer
Writing ShaDa file "/home/dundar/.local/share/nvim/shada/main.shada"Plugins upgraded
 2022-01-15T15:34:20.183Z DEBUG topgrade::runner     > Step "voom"
 2022-01-15T15:34:20.183Z DEBUG topgrade::runner     > Step "npm"
 2022-01-15T15:34:20.183Z DEBUG topgrade::utils      > Detected "/usr/bin/npm" as "npm"

―― 16:34:20 - Node Package Manager ―――――――――――――――――――――――――――――――――――――――――――――
 2022-01-15T15:34:20.321Z TRACE topgrade::executor   > Output of "/usr/bin/npm" "root" "-g": Output { status: ExitStatus(unix_wait_status(0)), stdout: "/usr/lib/node_modules\n", stderr: "" }
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "pnpm"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "deno"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "composer"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "krew"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "gem"
 2022-01-15T15:34:20.321Z DEBUG topgrade::utils      > Detected "/usr/bin/gem" as "gem"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "haxelib"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "sheldon"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "rtcl"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "bin"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "gcloud"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "micro"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "raco"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "spicetify"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "Flatpak"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "snap"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "pacstall"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "pihole"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "Firmware upgrades"
 2022-01-15T15:34:20.321Z DEBUG topgrade::runner     > Step "Restarts"

―― 16:34:20 - Summary ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
System update: OK
etc-update: SKIPPED: Cannot find "etc-update" in PATH
pacdiff: SKIPPED: Cannot find "vim" in PATH
Brew: SKIPPED: Cannot find "brew" in PATH
yadm: SKIPPED: Cannot find "yadm" in PATH
nix: SKIPPED: Cannot find "nix" 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
Git repositories: OK
zr: SKIPPED: Cannot find "zr" in PATH
antibody: SKIPPED: Cannot find "antibody" in PATH
antigen: SKIPPED: Path "/home/dundar/antigen.zsh" doesn't exist
zplug: SKIPPED: Path "/home/dundar/.zplug" doesn't exist
zinit: SKIPPED: Path "/home/dundar/.zinit" doesn't exist
zim: SKIPPED: Path "/home/dundar/.zim" doesn't exist
oh-my-zsh: SKIPPED: Path "/home/dundar/.oh-my-zsh" doesn't exist
fisher: SKIPPED: Path "/home/dundar/.config/fish/functions/fisher.fish" doesn't exist
bash-it: SKIPPED: Path "/home/dundar/.bash_it" doesn't exist
oh-my-fish: SKIPPED: Path "/home/dundar/.local/share/omf/pkg/omf/functions/omf.fish" doesn't exist
fish-plug: SKIPPED: Path "/home/dundar/.local/share/fish/plug/kidonng/fish-plug/functions/plug.fish" doesn't exist
tmux: OK
TLDR: SKIPPED: Cannot find "tldr" in PATH
pearl: SKIPPED: Cannot find "pearl" in PATH
Gnome Shell Extensions: SKIPPED: Desktop doest not appear to be gnome
SDKMAN!: SKIPPED: Path "/home/dundar/.sdkman/bin/sdkman-init.sh" doesn't exist
apm: SKIPPED: Cannot find "apm" in PATH
fossil: SKIPPED: Cannot find "fossil" in PATH
rustup: SKIPPED: Cannot find "rustup" in PATH
.NET: SKIPPED: Cannot find "dotnet" in PATH
choosenim: SKIPPED: Cannot find "choosenim" in PATH
cargo: SKIPPED: Path "/home/dundar/.cargo/.crates.toml" doesn't exist
Flutter: SKIPPED: Cannot find "flutter" 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
pip3: SKIPPED: Cannot find "pip3" in PATH
stack: SKIPPED: Cannot find "stack" in PATH
tlmgr: SKIPPED: tlmgr must be explicity enabled in the configuration to run in Linux
myrepos: SKIPPED: Cannot find "mr" in PATH
chezmoi: SKIPPED: Cannot find "chezmoi" in PATH
jetpack: SKIPPED: Cannot find "jetpack" in PATH
vim: SKIPPED: Cannot find "vim" in PATH
Neovim: OK
voom: SKIPPED: Cannot find "voom" in PATH
npm: SKIPPED: NPM root is owned by another user which is not the current user. Set use_sudo = true under the NPM section in your configuration to run NPM as sudo
pnpm: SKIPPED: Cannot find "pnpm" in PATH
deno: SKIPPED: Cannot find "deno" in PATH
composer: SKIPPED: Cannot find "composer" in PATH
krew: SKIPPED: Cannot find "kubectl-krew" in PATH
gem: SKIPPED: Path "/home/dundar/.gem" doesn't exist
haxelib: SKIPPED: Cannot find "haxelib" in PATH
sheldon: SKIPPED: Cannot find "sheldon" 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" in PATH
Flatpak: SKIPPED: Cannot find "flatpak" in PATH
snap: SKIPPED: Cannot find "snap" in PATH
pacstall: SKIPPED: Cannot find "pacstall" in PATH
pihole: SKIPPED: Cannot find "pihole" in PATH
Firmware upgrades: SKIPPED: Cannot find "fwupdmgr" in PATH
Restarts: SKIPPED: Cannot find "needrestart" in PATH
 2022-01-15T15:34:20.323Z DEBUG topgrade::terminal   > Desktop notification: Topgrade finished successfully
r-darwish commented 2 years ago

I think this is caused by Topgrade running yay -Pw. Can you run this command from time to time and see whether this is the command that prints this output?

dundargoc commented 2 years ago

You are absolutely correct, the error message comes from yay -Pw. Furthermore, this error only shows up if the command was canceled, which is why it only showed up sometimes (meaning when I canceled topgrade at the exact yay -Pw step.) In any case, this is unrelated to topgrade so I'll close this. Thanks for the help!