waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Bug]: Update not working (.rpm Fedora 41)

Open robert-winkler opened this issue 11 months ago • 4 comments

Current Behavior

Hi, I installed the .rpm version on Fedora 41. Now, it reports 'Update available' and invites me to restart the application to apply a downloaded update. However, when I do that, WaveTerm reports "Updater Error: Try checking again."

Expected Behavior

The update should be applied. It should ask for elevated rights (superuser login). Note: Starting waveterm as superuser does not work:

# waveterm
[0326/112017.162893:FATAL:electron_main_delegate.cc(288)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap (core dumped)

Steps To Reproduce

  1. Install the waveterm .rpm on Fedora 41.
  2. Click on 'Update available.'

Wave Version

0.11.1

Platform

Linux

OS Version/Distribution

Fedora 41

Architecture

x64

Anything else?

No response

Questionnaire

  • [ ] I'm interested in fixing this myself but don't know where to start
  • [ ] I would like to fix and I have a solution
  • [ ] I don't have time to fix this right now, but maybe later

robert-winkler avatar Mar 26 '25 17:03 robert-winkler

Got the same problem trying to update to 0.11.3-beta.5 on fedora 42 today, found a temporary fix:

sudo rpm -i --force /home/<your_username>/.cache/waveterm-updater/pending/waveterm-linux-x86_64-0.11.3-beta.5.rpm

Logs:

Running in production mode

(waveterm:2527283): Gtk-WARNING **: 16:34:06.524: Failed to parse /home/igads3d/.config/gtk-3.0/settings.ini: Key file does not have group “Settings”
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: rpm
Checking for update
Found version 0.11.3-beta.5 (url: waveterm-linux-x86_64-0.11.3-beta.5.AppImage, waveterm-linux-amd64-0.11.3-beta.5.deb, waveterm-linux-amd64-0.11.3-beta.5.deb, waveterm-linux-x86_64-0.11.3-beta.5.rpm, waveterm-linux-x86_64-0.11.3-beta.5.rpm, waveterm-linux-x64-0.11.3-beta.5.pacman, waveterm-linux-x64-0.11.3-beta.5.pacman)
Downloading update from waveterm-linux-x86_64-0.11.3-beta.5.AppImage, waveterm-linux-amd64-0.11.3-beta.5.deb, waveterm-linux-amd64-0.11.3-beta.5.deb, waveterm-linux-x86_64-0.11.3-beta.5.rpm, waveterm-linux-x86_64-0.11.3-beta.5.rpm, waveterm-linux-x64-0.11.3-beta.5.pacman, waveterm-linux-x64-0.11.3-beta.5.pacman
updater cache dir: /home/igads3d/.cache/waveterm-updater
Update has already been downloaded to /home/igads3d/.cache/waveterm-updater/pending/waveterm-linux-x86_64-0.11.3-beta.5.rpm).
[2527336:0503/163412.457678:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[2527336:0503/163415.525072:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[2527336:0503/163415.532595:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[2527283:0503/163420.594428:ERROR:browser_main_loop.cc(278)] GLib-GObject: ../gobject/gsignal.c:2699: instance '0x7e402d5e340' has no handler with id '3170'
Install on explicit quitAndInstall
Install: isSilent: false, isForceRunAfter: true
Executing: which gksudo || which kdesudo || which pkexec || which beesu with args: 
Executing: which zypper with args: 
which: no zypper in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)

^CAuto install update on quit
Install: isSilent: true, isForceRunAfter: false
Executing: which gksudo || which kdesudo || which pkexec || which beesu with args: 
Executing: which zypper with args: 
which: no zypper in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)

igads3d avatar May 03 '25 12:05 igads3d

I have the same issue on Fedora 42 with a fresh install on kernel: 6.14.9-300.fc42.x86_64. Used @igads3d 's method and I was able to update.

kiasta avatar Jun 02 '25 13:06 kiasta

same on Fedora 43, There is a file conflict, so need to use --force to overcome it:

sudo rpm -i .cache/waveterm-updater/pending/waveterm-linux-x86_64-0.12.3.rpm 
	file /opt/Wave/resources/app.asar from install of waveterm-0.12.3-1.x86_64 conflicts with file from package waveterm-0.12.2-1.x86_64
	file /opt/Wave/resources/app.asar.unpacked/dist/bin/wavesrv.x64 from install of waveterm-0.12.3-1.x86_64 conflicts with file from package waveterm-0.12.2-1.x86_64
	file /opt/Wave/resources/app.asar.unpacked/dist/schema/settings.json from install of waveterm-0.12.3-1.x86_64 conflicts with file from package waveterm-0.12.2-1.x86_64

rpm -qa|grep wave
waveterm-0.12.2-1.x86_64

sudo rpm -i --force .cache/waveterm-updater/pending/waveterm-linux-x86_64-0.12.3.rpm 
update-alternatives is /sbin/update-alternatives

rpm -qa|grep wave
waveterm-0.12.2-1.x86_64
waveterm-0.12.3-1.x86_64

curunir42 avatar Nov 20 '25 07:11 curunir42