-
Notifications
You must be signed in to change notification settings - Fork 73
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
crash when updateing AppImages #321
Comments
the AppImages, that did not upgrade created empty directories in I cannot compare with bauh-0.10.5 currently, because it crashes when clicking on the "click here to select" box. On further testing, using the downgrade function on an AppImage and then upgrading again works for all apps I tried. It seems the older AppImages are the problem (thought they have the same version). I tried with Stacer 1.0.9 which I probably downloaded from AppImageHub at some time. I installed 1.0.9 both ways and saved the files. data.json---works.zip no... replacing the json didn't work, it didn't install the upgraded version... but it didn't crash also wrong... it installed the new version in another directory (stacer-0), but didn't remove the old one, so it was still shown as upgradable (so I thought the new version wouldn't exist) |
ok, I repeated that. If I do the opposite: |
I believe this specific case happened because the AppImage (stacer) was initially imported, but now it is also available on bauh's database. If you uninstall it, and reinstall it via the search mechanism, does the issue happen as well ? |
That's exactly the case... I've firstly imported the file, and then tried to upgrade it and got the crash. I'm going to provide a fix. Thank you for reporting the issue. |
yes, exactly, all packages at that point were imported:
and this was an update of an imported, package either (note: a new update, but not a new package):
after all imported packages were uninstalled and reinstalled, it did not happen again thanks for the good work |
no worries... just pushed a fix to the staging branch... the final release should be available soon |
done
Describe the bug
when updating AppImages (as root to the system, either sudo or via ssh),
after confirming the update list, bauh just closes (crash),
however, when restarting bauh, the first app seems to be installed (usually it works then, may be it's sometimes partly installed, and sometimes there is no trace of the app)
it also happens for single AppImage updates
note: installing from a file works, though I didn't try updates from file yet
I am just starting with bauh, so I imported all my older AppImages and updated them later.
It also happened with a new update today.
It's not easy to test, you have to get or store some older AppImages, because import+update removes them.
My old saved AppImages are also a bit problematic, they are somehow different, then current AppImages, I guess the format changed.
I still need to test if update button and update from file do the same thing.
The problem seems to be this in all cases:
Software Environment
bauh version: bauh-0.10.6
O.S: name and version: Debian testing (carefully mixed with other sources)
Python version: 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Installation method: AppImage for bauh-0.10.5 release and for the staging version the method described in new issues form (where else do I find this?)
The text was updated successfully, but these errors were encountered: