Timeshift prevents me from upgrading

Not sure what's going on, but after a system upgrade all my Timeshift snapshots are gone, and when I try to upgrade the system with paru the following happens:

$ paru -Syu
[sudo] password for eddie:          
:: 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
:: Looking for AUR upgrades
:: Looking for devel upgrades
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
:: Packages not in the AUR: bluetooth-support  chaotic-keyring  chaotic-mirrorlist  garuda-assistant-git  garuda-boot-options-git  garuda-browser-settings  
    garuda-common-settings  garuda-fish-config  garuda-gamer-git  garuda-gnome-settings  garuda-hooks  garuda-icons  garuda-librewolf  
    garuda-network-assistant-git  garuda-setup-assistant  garuda-starship-prompt  garuda-wallpapers  garuda-wallpapers-extra  garuda-welcome-git  grub-garuda
    grub-theme-garuda  gstreamer-meta  input-devices-support  networkmanager-support  os-prober-garuda  paleofetch-garuda  performance-tweaks  
    pipewire-support  plymouth-theme-garuda-purple  printer-support  samba-support  scanner-support  wine-meta
:: Marked out of date: libnautilus-extension-typeahead  nautilus-typeahead  pamac-aur
:: Orphans: reflector-simple  wineasio  xcursor-sweet

Aur (9) brave-bin-1:1.25.70-1  dropbox-123.4.4832-1  hypnotix-1.7-1  libadwaita-1.0.0alpha1-1  
    nautilus-typeahead-40.1-1 (libnautilus-extension-typeahead nautilus-typeahead)  librewolf-89.0-1  pace-1.4.1.1-1  paru-1.7.1-1  
    timeshift-20.11.1+4+gd437358-1

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: brave-bin 1:1.25.70-1 (mĂĄn  7 jun 2021 20:14:18)
==> Retrieving sources...
  -> Found brave-bin-1.25.70.zip
  -> Found brave-bin.sh
  -> Found brave-browser.desktop
  -> Found logo.png
==> Validating source files with sha512sums...
    brave-bin-1.25.70.zip ... Passed
    brave-bin.sh ... Passed
    brave-browser.desktop ... Passed
    logo.png ... Passed
==> Making package: brave-bin 1:1.25.70-1 (mĂĄn  7 jun 2021 20:14:19)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found brave-bin-1.25.70.zip
  -> Found brave-bin.sh
  -> Found brave-browser.desktop
  -> Found logo.png
==> Validating source files with sha512sums...
    brave-bin-1.25.70.zip ... Passed
    brave-bin.sh ... Passed
    brave-browser.desktop ... Passed
    logo.png ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
==> Sources are ready.
brave-bin-1:1.25.70-1: parsing pkg list...
:: brave-bin-1:1.25.70-1 is up to date -- skipping build
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brave-bin-1:1.25.70-1

Total Installed Size:  262,82 MiB
Net Upgrade Size:        4,87 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
E: ts: Failed to get partition list.
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brave-bin-1:1.25.70-1

Total Installed Size:  262,82 MiB
Net Upgrade Size:        4,87 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
E: ts: Failed to get partition list.
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brave-bin-1:1.25.70-1

Total Installed Size:  262,82 MiB
Net Upgrade Size:        4,87 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
E: ts: Failed to get partition list.
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brave-bin-1:1.25.70-1

Total Installed Size:  262,82 MiB
Net Upgrade Size:        4,87 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
E: ts: Failed to get partition list.
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brave-bin-1:1.25.70-1

Total Installed Size:  262,82 MiB
Net Upgrade Size:        4,87 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
E: ts: Failed to get partition list.
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brave-bin-1:1.25.70-1

Total Installed Size:  262,82 MiB
Net Upgrade Size:        4,87 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
E: ts: Failed to get partition list.
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brave-bin-1:1.25.70-1

Total Installed Size:  262,82 MiB
Net Upgrade Size:        4,87 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
E: ts: Failed to get partition list.
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brave-bin-1:1.25.70-1

Total Installed Size:  262,82 MiB
Net Upgrade Size:        4,87 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
E: ts: Failed to get partition list.
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) brave-bin-1:1.25.70-1

Total Installed Size:  262,82 MiB
Net Upgrade Size:        4,87 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                 [########################################################] 100%
(1/1) checking package integrity                                                               [########################################################] 100%
(1/1) loading package files                                                                    [########################################################] 100%
(1/1) checking for file conflicts                                                              [########################################################] 100%
(1/1) checking available disk space                                                            [########################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
E: ts: Failed to get partition list.
E: System disk not found!
Unable to run timeshift-autosnap! Please close Timeshift and try again. Script will now exit...
error: command failed to execute correctly
error: failed to commit transaction (failed to run transaction hooks)
Errors occurred, no packages were upgraded.
:: Packages failed to build: dropbox-123.4.4832-1  hypnotix-1.7-1  libadwaita-1.0.0alpha1-1  
    nautilus-typeahead-40.1-1 (libnautilus-extension-typeahead nautilus-typeahead)  librewolf-89.0-1  pace-1.4.1.1-1  paru-1.7.1-1  
    timeshift-20.11.1+4+gd437358-1

Garuda is installed on a btrfs partition, but I am using a secondary disk for /home, formatted as ext4.

How do I reconfigure timeshift so upgrading works again?

sudo SKIP_AUTOSNAP=1 pacman -Syu
3 Likes

Not sure how that would help? The system is already up to date as far as pacman is concerned:

I “solved” it by uninstalling autosnap, pacman -Rc timeshift-autosnap before running paru -Syu.

Also, apologies for my weak search fu, the answer was apparent in this thread.

Hopefully it’ll all work as before, after I reinstall autosnap.

There are simple solutions and there are complex ones.
You have chosen an unnecessarily cumbersome one.
I mark it solved.

4 Likes

The timeshift autosnap package's configuration file let's you temporarily disable auto snapshots as well (without uninstalling the package).

It's all the the timeshift autosnap documentation.

2 Likes

No.

As I wrote above that isn’t a solution since the system is fully up to date as far as pacman is concerned.

sudo SKIP_AUTOSNAP=1 pacman -Syu
:: 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

Even after doing the pacman upgrade, paru -Syu still errors out due to timeshift.

Thanks! This is a better hint for how to solve the problem:

  1. Open /etc/timeshift-autosnap.conf; skipAutosnap=false => skipAutosnap=true
  2. paru -Syu
  3. Enable autosnap again
  4. Done.
1 Like

As far as I understand, you already solved it above with:

There was a problem that prevented timeshift to work, it was already solved in the repo, but the timeshift-autosnap prevented the update to complete successfully.
So there were 3 options:

  1. remove timeshift-autosnap and update (what you did)
  2. temporary disable it and update (as mentioned in your latest post)
  3. run sudo SKIP_AUTOSNAP=1 pacman -Syu which afaik does the same as 2 but without the need to re-enable
    The only difference is that you’re using paru for the update which is necessary of course for your AUR packages.
    What is unclear to me is why there was “nothing to do” in post #3. I hope you did it after the timeshift-autosnap removal + update, otherwise, it is really a mystery. But the problem is solved… :slight_smile:
3 Likes

The temporary bug with Timeshift has nothing to do with pacman. The process was interrupted by Timeshift due to a memory error. The best and fastest solution is in post 2 whatever you think or believe. For people with the same problem, your variant is much too cumbersome and therefore not the solution.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.