Cant install yakuake due to "hunks failed"

In short running yay -S Yakuakeand selecting all of the defaults ultimately fails with

Hunk #3 FAILED at 1535.
1 out of 3 hunks FAILED – saving rejects to file app/mainwindow.cpp.rej
==> ERROR: A failure occurred in prepare().
Aborting…
→ error making: yakuake-alca7raz-exit status 4
→ Failed to install the following packages. Manual intervention is required:
yakuake-alca7raz - exit status 4

The system is up to date and I get the same if I choose yakuake-git

Full output

yay -S Yakuake
:: There are 4 providers available for Yakuake:
:: Repository AUR
1) yakuake-alca7raz 2) yakuake-copy-paste-git 3) yakuake-git 4) yakuake-sp-git

Enter a number (default=1):
==>
AUR Explicit (1): yakuake-alca7raz-23.04.1-1
:: PKGBUILD up to date, skipping download: yakuake-alca7raz
1 yakuake-alca7raz (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
1 yakuake-alca7raz (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: yakuake-alca7raz 23.04.1-1 (Tue 06 Jun 2023 08:38:42 AM EDT)
==> Retrieving sources…
→ Found yakuake-23.04.1.tar.xz
→ Found alca7raz.patch
==> Validating source files with sha256sums…
yakuake-23.04.1.tar.xz … Passed
alca7raz.patch … Passed
:: (1/1) Parsing SRCINFO: yakuake-alca7raz
==> Making package: yakuake-alca7raz 23.04.1-1 (Tue 06 Jun 2023 08:38:43 AM EDT)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Found yakuake-23.04.1.tar.xz
→ Found alca7raz.patch
==> Validating source files with sha256sums…
yakuake-23.04.1.tar.xz … Passed
alca7raz.patch … Passed
==> Removing existing $srcdir/ directory…
==> Extracting sources…
→ Extracting yakuake-23.04.1.tar.xz with bsdtar
==> Starting prepare()…
patching file app/mainwindow.cpp
Hunk #2 succeeded at 1540 (offset 17 lines).
Hunk #3 FAILED at 1535.
1 out of 3 hunks FAILED – saving rejects to file app/mainwindow.cpp.rej
==> ERROR: A failure occurred in prepare().
Aborting…
→ error making: yakuake-alca7raz-exit status 4
→ Failed to install the following packages. Manual intervention is required:
yakuake-alca7raz - exit status 4
Full output

It is case sensitive. Don’t use an uppercase “S”, try this:

yay -Syu yakuake

why are you using yay for a repository package?

sudo pacman -S yakuake installs the correct package and does not try to get it from AUR.

1 Like

IDK, worked fine with pacman

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