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

Have script pause and notify user, then retry after x seconds if timeshift is open instead of just bailing. #2

Open
famewolf opened this issue Aug 25, 2020 · 2 comments

Comments

@famewolf
Copy link

famewolf commented Aug 25, 2020

I happened to have timeshift open but not doing anything and tried to process an upgrade. Couldn't the script prompt the user and wait 60 seconds or so before retrying at least once? This could also potentially handle the issue where the user has closed timeshift but it's slow to actually exit. Thanks for providing this script!

Rsyncing /boot into the filesystem before the call to timeshift.
Rsyncing /boot/efi into the filesystem before the call to timeshift.
Another instance of this application is running (PID=2012046)
Unable to run timeshift-autosnap-apt! Please close Timeshift and try again. Script will now exit...
E: Problem executing scripts DPkg::Pre-Invoke '/usr/bin/timeshift-autosnap-apt'
E: Sub-process returned an error code

@wmutschl
Copy link
Owner

I have added this to the to do list (at the end of the README file) and hope to get to this. Unfortunately, I have little time at hand for other projects right now, so please be patient. If you or some one else implements this, please do a PR and I will merge it of course.

@daPhipz
Copy link

daPhipz commented Jan 5, 2023

Hi! I stumbled across this project today and attempted a fix for your suggestion - see #13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants