You are not logged in.

#1 2024-07-14 11:40:15

not_a_kangaroo
Member
Registered: 2024-01-05
Posts: 18

[SOLVED] Trouble installing an AUR package - is it me?

As in the title - just looking to see if I'm missing something simple. I'm using yay, Terminal output below:

==> Making package: apple-fonts 6-1 (Sun Jul 14 12:31:00 2024)
==> Retrieving sources...
  -> Found SF-Pro.dmg
  -> Found SF-Compact.dmg
  -> Found SF-Mono.dmg
  -> Found NY.dmg
  -> Found LICENSE.THE-APPLE-SF-PRO-FONT
  -> Found LICENSE.THE-APPLE-SF-COMPACT-FONT
  -> Found LICENSE.THE-APPLE-SF-MONO-FONT
  -> Found LICENSE.THE-APPLE-NEW-YORK-FONT
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    SF-Pro.dmg ... FAILED
    SF-Compact.dmg ... FAILED
    SF-Mono.dmg ... FAILED
    NY.dmg ... FAILED
    LICENSE.THE-APPLE-SF-PRO-FONT ... Passed
    LICENSE.THE-APPLE-SF-COMPACT-FONT ... Passed
    LICENSE.THE-APPLE-SF-MONO-FONT ... Passed
    LICENSE.THE-APPLE-NEW-YORK-FONT ... Passed
==> ERROR: One or more files did not pass the validity check!
-> error downloading sources: /home/jonny/.cache/yay/apple-fonts
         context: exit status 1


:: (1/1) Parsing SRCINFO: apple-fonts
V==> Making package: apple-fonts 6-1 (Sun Jul 14 12:31:01 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found SF-Pro.dmg
  -> Found SF-Compact.dmg
  -> Found SF-Mono.dmg
  -> Found NY.dmg
  -> Found LICENSE.THE-APPLE-SF-PRO-FONT
  -> Found LICENSE.THE-APPLE-SF-COMPACT-FONT
  -> Found LICENSE.THE-APPLE-SF-MONO-FONT
  -> Found LICENSE.THE-APPLE-NEW-YORK-FONT
==> Validating source files with sha256sums...
    SF-Pro.dmg ... FAILED
    SF-Compact.dmg ... FAILED
    SF-Mono.dmg ... FAILED
    NY.dmg ... FAILED
    LICENSE.THE-APPLE-SF-PRO-FONT ... Passed
    LICENSE.THE-APPLE-SF-COMPACT-FONT ... Passed
    LICENSE.THE-APPLE-SF-MONO-FONT ... Passed
    LICENSE.THE-APPLE-NEW-YORK-FONT ... Passed
==> ERROR: One or more files did not pass the validity check!
-> error making: apple-fonts-exit status 1
-> Failed to install the following packages. Manual intervention is required:
apple-fonts - exit status 1

Last edited by not_a_kangaroo (2024-07-14 16:14:56)

Offline

#2 2024-07-14 11:47:37

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,248
Website

Re: [SOLVED] Trouble installing an AUR package - is it me?

Try makepkg instead, that works for me:

~$ pacman -Q apple-fonts
apple-fonts 6-1
~$

And please use code tags when posting terminal output. Thanks.

Last edited by Head_on_a_Stick (2024-07-14 11:48:25)


"The nation-state domesticates the society in the name of capitalism and alienates the community from its natural foundations."
Democratic Confederalism, Abdullah Öcalan.

Offline

#3 2024-07-14 12:38:04

Trilby
Banned
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Trouble installing an AUR package - is it me?

If there is a problem with a user trying to install a package by using yay, the question isn't whether the problem is with the user or the package but rather whether it's with the user, the package, or yay.  And a majority of the time, the problem is with yay.  Please do not use it.

Though of course if the error persists with makepkg, then show that output here (in code tags as noted above).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2024-07-14 12:41:47

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,368
Website

Re: [SOLVED] Trouble installing an AUR package - is it me?

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2024-07-14 13:21:32

not_a_kangaroo
Member
Registered: 2024-01-05
Posts: 18

Re: [SOLVED] Trouble installing an AUR package - is it me?

Head_on_a_Stick wrote:

Try makepkg instead, that works for me:

~$ pacman -Q apple-fonts
apple-fonts 6-1
~$

And please use code tags when posting terminal output. Thanks.

Hi, thanks for this - when using the above command I get back that the package was not found. Am I missing something stupid?

Offline

#6 2024-07-14 13:23:26

not_a_kangaroo
Member
Registered: 2024-01-05
Posts: 18

Re: [SOLVED] Trouble installing an AUR package - is it me?

Trilby wrote:

If there is a problem with a user trying to install a package by using yay, the question isn't whether the problem is with the user or the package but rather whether it's with the user, the package, or yay.  And a majority of the time, the problem is with yay.  Please do not use it.

Though of course if the error persists with makepkg, then show that output here (in code tags as noted above).

Noted, thanks - I was using yay as I thought the package was a non-core package not found in the standard arch repository looked at by pacman. I'm reasonably new to arch though, am I missing something?

Offline

#7 2024-07-14 13:37:13

Trilby
Banned
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Trouble installing an AUR package - is it me?

HoaS showed output that he successfully installed the package.  Those commands obviously will not show the package successfully installed on your system as you have not done that yet because attempting to install it with yay failed.  While we really can't know yet, I'm suspicious that yay is the source of the problem - so the solution is to not use yay.  But you still need to build and install the package!

https://wiki.archlinux.org/title/Arch_User_Repository


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2024-07-14 13:39:40

Head_on_a_Stick
Member
From: Belsize Park
Registered: 2014-02-20
Posts: 8,248
Website

Re: [SOLVED] Trouble installing an AUR package - is it me?

not_a_kangaroo wrote:

when using the above command I get back that the package was not found. Am I missing something stupid?

No, not at all, I'm just being obtuse (as usual) — that command just indicated successful installation of the package in my system.

But for AUR packages you should always try a manual build with makepkg(8) if the "helper" program fails. The details can be found on the "AUR" page in the ArchWiki.


"The nation-state domesticates the society in the name of capitalism and alienates the community from its natural foundations."
Democratic Confederalism, Abdullah Öcalan.

Offline

#9 2024-07-14 16:14:18

not_a_kangaroo
Member
Registered: 2024-01-05
Posts: 18

Re: [SOLVED] Trouble installing an AUR package - is it me?

You learn something new every day! I didn't know you could install packages like that. All sorted now, thanks for the help!

Offline

Board footer

Powered by FluxBB