请问steamdeck上的archlinux系统装不上yay是什么原因啊?
archlinux吧
全部回复
仅看楼主
level 1
QUAIOAN 楼主
linux完全小白一个,照着网上的步骤来的,到最后一步打包就报错了,也看不懂是什么问题,请问需要怎么解决啊?
或者能有直接安装下载下来的安装包的方法吗?
2023年01月17日 13点01分 1
level 3
试试装base-devel
2023年01月17日 14点01分 2
安装了的,按照这个步骤来的,就到最后这个makepkg -si那里报错了[惊哭] pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
2023年01月17日 15点01分
@QUAIOAN 布吉岛啊,yay在archlinuxcn源里了
2023年01月18日 09点01分
level 3
差不多这个名字
2023年01月17日 14点01分 3
level 10
2023年01月18日 00点01分 4
还是不行啊 提示invalid or corrupted package (PGP signature)[泪]
2023年01月18日 07点01分
@QUAIOAN 这个包archlinuxCN里打包好了,你按6楼说的添加下cn源。 不过trustall没必要,装下archlinuxcn-keyring之后,再装yay或paru。
2023年01月18日 09点01分
2023年01月18日 09点01分
@贴吧用户_a6PJSJG874 感谢,终于装上了!然后想装一个v信试试,又报错了:could not find all required packages openssl-1.1,是不是要装openssl这个啊,但是用Ss搜出来好多,要装哪一个啊?
2023年01月19日 07点01分
level 2
我记得最新版本V社好像禁掉yay 的源了,sd软件库还是用flatpak 吧
2023年01月18日 02点01分 5
这个是自带的吧,看了他的官网,应用太少了[泪]
2023年01月18日 08点01分
@QUAIOAN 之前老版本sd yay 自带就有的,现在好像是禁了
2023年01月19日 03点01分
level 11
没装gcc吧
2023年01月18日 06点01分 6
level 9
去/etc/pacman.conf添加archlinuxcn源,之后在网址下面添加
SigLevel = Optional TrustAll最后sudo pacman -Sy paru应该就可以了[阴险]
2023年01月18日 08点01分 7
@QUAIOAN sudo pacman -S openssl-1.1应该就行吧[阴险]
2023年01月19日 08点01分
level 1
居然没有stdlib.h
少见啊 gcc装了吗
2023年01月18日 15点01分 8
level 11
缺少c语言库文件?这个试试下载gcc,但现在linux内置了rust,你可以去pacman下paru,用法和yay一样
2023年01月18日 19点01分 9
level 1
QUAIOAN 楼主
最后两行是后加上的 ~
(deck@Steamdeck ~)$ cat /etc/pacman.d/mirrorlist
Server = https://steamdeck-packages.steamos.cloud/archlinux-mirror/$repo/os/$arch
(deck@steamdeck ~)$ cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
#TotalDownload
# We cannot check disk space from within a chroot environment
CheckSpace
#VerbosePkgLists
ParallelDownloads = 10
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[jupiter-rel]
Include = /etc/pacman.d/mirrorlist
SigLevel = Never
[holo-rel]
Include = /etc/pacman.d/mirrorlist
SigLevel = Never
[core-rel]
Include = /etc/pacman.d/mirrorlist
[extra-rel]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community-rel]
Include = /etc/pacman.d/mirrorlist
[multilib-rel]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[archlinuxcn]
Server = https://repo.archlinuxcn.org/$arch
2023年01月19日 23点01分 12
level 10
其实你直接 pacman -S openssl-1.1就行了
2023年01月20日 00点01分 13
直接这样报错: target not found:openssl-1.1 yay -S openssl-1.1 报错could not find all required packages:openssl-1.1(Target)[乖]
2023年01月20日 02点01分
level 10
包名都变了。。
那aur用起来很多包都会找不到...
,你自己看下wiki的PKGBUILD,把下载下来的aur的PKGBUILD中的依赖改成和steamos的仓库一样的,用makepkg自己打包安装吧。
衍生版用aur最麻烦的就是这种问题[汗]
2023年01月20日 03点01分 14
太难啦,哈哈,感谢解答[玫瑰]
2023年01月20日 13点01分
吧务
level 15
这玩意的仓库和Arch差得太远了。除非楼主你自己去学写PKGBUILD,否则我不再推荐在这上用AUR,依赖是真的会很多找不着
2023年01月20日 05点01分 15
哦哦,那么复杂啊,但是还是感谢解答[大拇指][大拇指]
2023年01月20日 13点01分
level 5
yay早停更了,换paru
2023年01月28日 10点01分 16
这话就不对了。yay确实流行度已经被paru反超,但它上游并没有停更。楼主的问题是steamdeck的问题,上面已经说过了
2023年01月28日 11点01分
1 2 尾页