hannesmann/gcadapter-oc-kmod

Installer not working

N1c2k3 opened this issue · 0 comments

N1c2k3 commented

Downloaded and trying open the .desktop installer - file opens as text in Kate. Ran into this before with another .desktop file extensions file, but that was fixed by setting the 'When opening executable file' settings.

Tried all options: Ask, Open in Application, and Run Script - same result for each. Also checked 'File is executable' in the file Properties, and tried right-click, Open With.... Also tried dragging it onto Terminal window, but when I do that I get 'Line 7: syntax error'. All other .desktop files seem to work fine.

Tried running this via suggestion in SteamDeck discord:
cd /tmp/ && rm -f install_gcadapter-oc-kmod.sh && wget https://raw.githubusercontent.com/linuxgamingcentral/gcadapter-oc-kmod-deck/main/install_gcadapter-oc-kmod.sh && chmod +x install_gcadapter-oc-kmod.sh && ./install_gcadapter-oc-kmod.sh

Output:
--2024-01-02 01:05:20-- https://raw.githubusercontent.com/linuxgamingcentral/gcadapter-oc-kmod-deck/main/install_gcadapter-oc-kmod.sh
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3181 (3.1K) [text/plain]
Saving to: ‘install_gcadapter-oc-kmod.sh’

install_gcadapter-oc-kmod.sh 100%[============================================================================>] 3.11K --.-KB/s in 0s

2024-01-02 01:05:21 (46.9 MB/s) - ‘install_gcadapter-oc-kmod.sh’ saved [3181/3181]

[sudo] password for deck: [sudo] password for deck: ==> Appending keys from archlinux.gpg...
==> Appending keys from holo.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2024-01-05
warning: archlinux-keyring-20221123-1.1 is up to date -- skipping
warning: binutils-2.39-3 is up to date -- skipping
warning: file-5.43-1 is up to date -- skipping
warning: findutils-4.9.0-1 is up to date -- skipping
warning: gawk-5.2.0-3 is up to date -- skipping
warning: gettext-0.21.1-1 is up to date -- skipping
warning: grep-3.8-2 is up to date -- skipping
warning: groff-1.22.4-7 is up to date -- skipping
warning: gzip-1.12-1 is up to date -- skipping
warning: libtool-2.4.7-5 is up to date -- skipping
warning: pacman-6.0.1-8 is up to date -- skipping
warning: pkgconf-1.8.0-1 is up to date -- skipping
warning: sed-4.8-1 is up to date -- skipping
warning: sudo-1.9.11.p3-1 is up to date -- skipping
warning: texinfo-6.8-2 is up to date -- skipping
warning: which-2.21-5 is up to date -- skipping
:: There are 10 members in group base-devel:
:: Repository core-rel

  1. autoconf 2) automake 3) bison 4) debugedit 5) fakeroot 6) flex 7) gcc 8) m4 9) make 10) patch

Enter a selection (default=all):
resolving dependencies...
looking for conflicting packages...

Packages (14) libisl-0.25-1 libmpc-1.2.1-2 pahole-1:1.24-1 autoconf-2.71-1 automake-1.16.5-1 bison-3.8.2-4 debugedit-5.0-4 fakeroot-1.29-1
flex-2.6.4-3 gcc-12.2.0-1 linux-neptune-headers-5.13.0.valve37-1 m4-1.4.19-1 make-4.3-3 patch-2.7.6-8

Total Download Size: 45.40 MiB
Total Installed Size: 315.82 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
libmpc-1.2.1-2-x86_64 69.3 KiB 68.0 KiB/s 00:01 [#######################################################] 100%
libisl-0.25-1-x86_64 852.1 KiB 443 KiB/s 00:02 [#######################################################] 100%
gcc-12.2.0-1-x86_64 44.5 MiB 15.2 MiB/s 00:03 [#######################################################] 100%
Total (3/3) 45.4 MiB 13.6 MiB/s 00:03 [#######################################################] 100%
(14/14) checking keys in keyring [#######################################################] 100%
(14/14) checking package integrity [#######################################################] 100%
error: libmpc: signature from "Frederik Schwan frederik.schwan@linux.com" is unknown trust
:: File /var/cache/pacman/pkg/libmpc-1.2.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libisl: signature from "Frederik Schwan frederik.schwan@linux.com" is unknown trust
:: File /var/cache/pacman/pkg/libisl-0.25-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: gcc: signature from "Frederik Schwan frederik.schwan@linux.com" is unknown trust
:: File /var/cache/pacman/pkg/gcc-12.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
fatal: destination path 'gcadapter-oc-kmod' already exists and is not an empty directory.
./install_gcadapter-oc-kmod.sh: line 72: make: command not found
insmod: ERROR: could not load module gcadapter_oc.ko: No such file or directory
cp: cannot stat 'gcadapter_oc.ko': No such file or directory
gcadapter_oc