Can't update with yay or topgrade

I’d like to know if the below might be do to the pacman 6.0 update, and how I might go about fixing it.

yay:

   Package (3)            Old Version  New Version  Net Change
   core/elfutils          0.184-1      0.185-1       -0.21 MiB
    multilib/lib32-libelf  0.184-1      0.185-1       -0.01 MiB
    core/libelf            0.184-1      0.185-1        0.05 MiB

    Total Installed Size:   8.65 MiB
    Net Upgrade Size:      -0.17 MiB

    :: Proceed with installation? [Y/n] y
    (3/3) checking keys in keyring                     [------------------------] 100%
    (3/3) checking package integrity                   [------------------------] 100%
    (3/3) loading package files                        [------------------------] 100%
    (3/3) checking for file conflicts                  [------------------------] 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.
    error installing repo packages

topgrade:

Package (3)            Old Version  New Version  Net Change

core/elfutils          0.184-1      0.185-1       -0.21 MiB
multilib/lib32-libelf  0.184-1      0.185-1       -0.01 MiB
core/libelf            0.184-1      0.185-1        0.05 MiB

Total Installed Size:   8.65 MiB
Net Upgrade Size:      -0.17 MiB

:: Proceed with installation? [Y/n] y
(3/3) checking keys in keyring                     [------------------------] 100%
(3/3) checking package integrity                   [------------------------] 100%
(3/3) loading package files                        [------------------------] 100%
(3/3) checking for file conflicts                  [------------------------] 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.
error installing repo packages

Retry? (y)es/(N)o/(s)hell

I fixed mine by installing bauh & paru… :wink:

I have Yay and it works perfectly fine. Though I do use Baph for everything.

2 Likes

Timeshift is causing the error.

1 Like

Try this for now until they fix Timeshift.

sudo SKIP_AUTOSNAP=1 pacman -Syu

Edit the fix is out, just need to update

sudo SKIP_AUTOSNAP=1 yay -Syu

https://aur.archlinux.org/cgit/aur.git/commit/?h=timeshift&id=b5164abd40efc5be530c6a6746665084d93eb42b

OK done but still says "Lice USB mode (restore only). Tried that as you have it and without sudo and still getting an error.

 -> Avoid running yay as root/sudo.
warning: config file /etc/pacman.conf, line 36: directive 'TotalDownload' in section 'options' not recognized.
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 arcolinux_repo is up to date
 arcolinux_repo_3party is up to date
 arcolinux_repo_xlarge is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (2)             Old Version  New Version  Net Change

multilib/lib32-librsvg  2:2.50.6-1   2:2.50.7-1     0.00 MiB
extra/librsvg           2:2.50.6-1   2:2.50.7-1     0.00 MiB

Total Installed Size:  17.75 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                     [------------------------] 100%
(2/2) checking package integrity                   [------------------------] 100%
(2/2) loading package files                        [------------------------] 100%
(2/2) checking for file conflicts                  [------------------------] 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.
error installing repo packages
[alienprober@TheMothership ~]$ SKIP_AUTOSNAP=1 yay -Syu     
warning: config file /etc/pacman.conf, line 36: directive 'TotalDownload' in section 'options' not recognized.
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 arcolinux_repo is up to date
 arcolinux_repo_3party is up to date
 arcolinux_repo_xlarge is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (2)             Old Version  New Version  Net Change

multilib/lib32-librsvg  2:2.50.6-1   2:2.50.7-1     0.00 MiB
extra/librsvg           2:2.50.6-1   2:2.50.7-1     0.00 MiB

Total Installed Size:  17.75 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring                     [------------------------] 100%
(2/2) checking package integrity                   [------------------------] 100%
(2/2) loading package files                        [------------------------] 100%
(2/2) checking for file conflicts                  [------------------------] 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.
error installing repo packages

Are you using arco? You might want to ask at that forum.

5 Likes

Or try to sit through one of his meandering tutorials of why shit broke on it.

3 Likes

That Distro is a Cluster F$%^, so much unnecessary crap and customization’s built in.

2 Likes

:grinning: :grinning: :grinning:

1 Like

Also, you might want to check your pacman.conf and use pacman.conf.pacnew as a reference.

2 Likes

Can always uninstall Timeshift and update then reinstall Timeshift.

1 Like

Started using bauh & paru they work just fine.

1 Like

Yes, and yes normally I’ll ask on the particular distro’s forum but with them they will answer the thread but rarely give anything that’s actually helpful. The other choice as @drummer said is to trry to sit through one of their videos IF you can find one that covers the issue.

@SqdnGunny I agree the distro has stuff in it I really think it doesn’t need, it plus side it is far more stable and solid than the big boy Arch forks.

@sammiev went ahead and removed Timeshift for the meantime.

2 Likes

Update including your aur programs and then install Timeshift again.
Since you have yay installed use

yay -Syu

With yay the -Syu isn’t required. Typing yay is the same as yay -Syu. The only difference is that you save typing 3 keystokes.

5 Likes

Very nice, thanks greatly appreciated.

And good luck with that, since most of his videos are all about theming everything with Sardi icons.

1 Like

Sorry, somehow I completely missed that Timeshift was the issue. Glad it is sorted.

Or you could wipe arco and reinstall ArchLabs :smiley:

5 Likes

^^ This ^^

6 Likes

Bingo

4 Likes