You are not logged in.

#1 2024-08-30 13:52:37

PauLuke
Member
Registered: 2024-08-23
Posts: 4

[SOLVED] Laptop shutdown while updating a package

I was updating anytype-bin when my laptop ran out of battery. I plugged in the charger and turned the laptop on, but when I ran paru -Sy anytype-bin again, the update proceeded with an error. This was the output:

paru -Sy anytype-bin
[sudo] password for pauluke:
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1) anytype-bin-0.42.5-1

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

:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: anytype-bin 0.42.5-1 (Fri 30 Aug 2024 10:33:51 AM -03)
==> Retrieving sources...
  -> Found Anytype-0.42.5.AppImage
  -> Found anytype.desktop
  -> Found anytype.png
==> Validating source files with sha256sums...
    Anytype-0.42.5.AppImage ... Passed
    anytype.desktop ... Passed
    anytype.png ... Passed
==> Making package: anytype-bin 0.42.5-1 (Fri 30 Aug 2024 10:33:53 AM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found Anytype-0.42.5.AppImage
  -> Found anytype.desktop
  -> Found anytype.png
==> Validating source files with sha256sums...
    Anytype-0.42.5.AppImage ... Passed
    anytype.desktop ... Passed
    anytype.png ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Sources are ready.
anytype-bin-0.42.5-1: parsing pkg list...
:: anytype-bin-0.42.5-1 is up to date -- skipping build
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) anytype-bin-0.42.5-1

Total Installed Size:  201.06 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%
:: Processing package changes...
(1/1) installing anytype-bin                                                              [####################################################] 100%
error: could not extract /usr/bin/anytype (Truncated zstd input)
error: problem occurred while installing anytype-bin
Optional dependencies for anytype-bin
    org.freedesktop.secrets: for not having to sign in each time [installed]
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

What I should do in order to update this package know?

Last edited by PauLuke (2024-08-30 14:41:52)

Offline

#2 2024-08-30 14:27:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,287

Re: [SOLVED] Laptop shutdown while updating a package

Force a rebuild

paru -S --rebuild anytype-bin

Mod note: Moving to AUR issues

Last edited by V1del (2024-08-30 14:28:33)

Offline

#3 2024-08-30 14:43:56

PauLuke
Member
Registered: 2024-08-23
Posts: 4

Re: [SOLVED] Laptop shutdown while updating a package

It worked. Thank you very much for helping me!

Offline

Board footer

Powered by FluxBB